Salome HOME
29.01.2014. Workaround eliminating.
[modules/hydro.git] / src / HYDROData / HYDROData_Image.h
index 7cf8a05f16bad1e35cb87dbb0ca330f2d1397c2b..d7eccacce799fa989df979b2cb95a38ee241fa05 100644 (file)
@@ -22,8 +22,9 @@ public:
 
   enum TransformationMode
   {
-    ManualLambert = 0,
+    ManualGeodesic = 0,
     ManualCartesian,
+    CartesianFromFile,
     ReferenceImage
   };
 
@@ -69,6 +70,12 @@ public:
    */
   HYDRODATA_EXPORT virtual QVariant GetDataVariant();
 
+  /**
+   * Returns the list of all reference objects of this object.
+   */
+  HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+
+
   /**
    * Stores the image
    * \param theImage new image
@@ -186,6 +193,13 @@ public:
                                          QPointF&            thePointB,
                                          QPointF&            thePointC ) const;
 
+  /**
+   * Get transformation points from the file and stores them in global cs
+   * \param theFileName the image georeferencement file name
+   * \return true in case of success
+   */
+  HYDRODATA_EXPORT bool SetGlobalPointsFromFile( const QString& theFileName );
+
   /**
    * Returns true if global points has been set before
    */
@@ -343,12 +357,12 @@ protected:
    * Creates new object in the internal data structure. Use higher level objects 
    * to create objects with real content.
    */
-  HYDROData_Image();
+  HYDRODATA_EXPORT HYDROData_Image();
 
   /**
    * Destructs properties of the object and object itself, removes it from the document.
    */
-  ~HYDROData_Image();
+  HYDRODATA_EXPORT ~HYDROData_Image();
 
 };