X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Image.h;h=d7eccacce799fa989df979b2cb95a38ee241fa05;hb=13ef2433b28b41ed4d7338a31839a49c8b599ad7;hp=7cf8a05f16bad1e35cb87dbb0ca330f2d1397c2b;hpb=c374597f70481110faa82dc189353d689d66bc0c;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Image.h b/src/HYDROData/HYDROData_Image.h index 7cf8a05f..d7eccacc 100644 --- a/src/HYDROData/HYDROData_Image.h +++ b/src/HYDROData/HYDROData_Image.h @@ -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(); };