Salome HOME
Convert to Unix format
[modules/hydro.git] / src / HYDROData / HYDROData_Image.h
index e2df2a4e2465363e8de8c381e593452dd282df4b..8b069add8f2f4d5fc2f2263a417163f1221c08ca 100644 (file)
@@ -23,8 +23,9 @@ protected:
   enum DataTag
   {
     DataTag_First = HYDROData_Object::DataTag_First + 100, ///< first tag, to reserve
-    DataTag_Operator,   ///< name of the operator that must be executed for image update
-    DataTag_TrsfPoints  ///< image transformation points (3 input + 3 output)
+    DataTag_Operator,    ///< name of the operator that must be executed for image update
+    DataTag_TrsfPoints,  ///< image transformation points (3 input + 3 output)
+    DataTag_FilePath     ///< image imported file path
   };
 
 public:
@@ -46,6 +47,17 @@ public:
    */
   HYDRODATA_EXPORT QImage Image();
 
+  /**
+   * Stores the image file path
+   * \param theFilePath image file path
+   */
+  HYDRODATA_EXPORT void SetFilePath(const QString& theFilePath);
+
+  /**
+   * Returns uploaded image file path
+   */
+  HYDRODATA_EXPORT QString GetFilePath() const;
+
   /**
    * Stores the image transformation
    * \param theTrsf new transformation