+ bool GetLocalPoints( QPoint& thePointA /Out/,
+ QPoint& thePointB /Out/,
+ QPoint& thePointC /Out/ ) const;
+
+ /**
+ * Returns true if local points has been set before
+ */
+ bool HasLocalPoints() const;
+
+
+ /**
+ * Stores the transformation points in global cs
+ * \param theMode transformation mode
+ * \param thePointA point A
+ * \param thePointB point B
+ * \param thePointC point C
+ */
+ void SetGlobalPoints( const TransformationMode& theMode,
+ const QPointF& thePointA,
+ const QPointF& thePointB,
+ const QPointF& thePointC = QPoint( INT_MIN, INT_MIN ),
+ const bool theIsUpdate = true );
+
+ /**
+ * Returns the transformation points in global cs
+ * \param theMode transformation mode
+ * \param thePointA point A
+ * \param thePointB point B
+ * \param thePointC point C
+ * \return true if all parameters has been set before
+ */
+ bool GetGlobalPoints( TransformationMode& theMode,
+ QPointF& thePointA /Out/,
+ QPointF& thePointB /Out/,
+ QPointF& thePointC /Out/ ) 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
+ */
+ bool SetGlobalPointsFromFile( const QString& theFileName );
+
+ /**
+ * Returns true if global points has been set before
+ */
+ bool HasGlobalPoints() const;
+
+
+ /**
+ * Stores the transformation points in reference image local cs
+ * \param theRefImage reference image
+ * \param thePointA point A
+ * \param thePointB point B
+ * \param thePointC point C
+ */
+ void SetReferencePoints( HYDROData_Image theRefImage,
+ const QPointF& thePointA,
+ const QPointF& thePointB,
+ const QPointF& thePointC = QPoint( INT_MIN, INT_MIN ),
+ const bool theIsUpdate = true )
+ [void ( const Handle_HYDROData_Image&, const QPointF&, const QPointF&, const QPointF&, const bool )];
+ %MethodCode
+ Handle(HYDROData_Image) aRefImage =
+ Handle(HYDROData_Image)::DownCast( createHandle( a0 ) );
+ if ( !aRefImage.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipSelfWasArg ? sipCpp->HYDROData_Image::SetReferencePoints( aRefImage, *a1, *a2, *a3, a4 ) :
+ sipCpp->SetReferencePoints( aRefImage, *a1, *a2, *a3, a4 );
+ Py_END_ALLOW_THREADS
+ }
+ %End