+ /**
+ * Returns true if reference points has been set before
+ */
+ bool HasReferencePoints() const;
+
+
+ /**
+ * Stores the reference image for transformation
+ * \param theRefImage reference image
+ */
+ void SetTrsfReferenceImage( HYDROData_Image theRefImage ) [void ( const Handle_HYDROData_Image& )];
+ %MethodCode
+ Handle(HYDROData_Image) aRefImage =
+ Handle(HYDROData_Image)::DownCast( createHandle( a0 ) );
+ if ( !aRefImage.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipSelfWasArg ? sipCpp->HYDROData_Image::SetTrsfReferenceImage( aRefImage ) :
+ sipCpp->SetTrsfReferenceImage( aRefImage );
+ Py_END_ALLOW_THREADS
+ }
+ %End
+
+ /**
+ * Returns the reference image for transformation
+ */
+ HYDROData_Image GetTrsfReferenceImage() const [Handle_HYDROData_Image ()];
+ %MethodCode
+ Handle(HYDROData_Image) aRefImage;
+
+ Py_BEGIN_ALLOW_THREADS
+ aRefImage = sipSelfWasArg ? sipCpp->HYDROData_Image::GetTrsfReferenceImage() :
+ sipCpp->GetTrsfReferenceImage();
+ Py_END_ALLOW_THREADS
+
+ sipRes = (HYDROData_Image*)createPointer( aRefImage );
+ %End
+
+ /**
+ * Removes the reference image for transformation
+ */
+ void RemoveTrsfReferenceImage();
+
+
+ /**
+ * Stores the transformation mode
+ */
+ void SetTrsfMode( const TransformationMode& theMode );
+
+ /**
+ * Returns the transformation mode
+ */
+ TransformationMode GetTrsfMode() const;
+
+
+ /**
+ * Returns the number of referenced objects
+ * \return zero if there is no references
+ */
+ int NbReferences() const;
+
+ /**
+ * Appends reference to other object (image or polyline).
+ * \param theReferenced the object referenced by this
+ */
+ void AppendReference( HYDROData_Entity theReferenced ) [void ( const Handle_HYDROData_Entity& )];
+ %MethodCode
+ Handle(HYDROData_Entity) aRef = createHandle( a0 );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipSelfWasArg ? sipCpp->HYDROData_Image::AppendReference( aRef ) :
+ sipCpp->AppendReference( aRef );
+ Py_END_ALLOW_THREADS
+ }