Salome HOME
Minor fix.
[modules/hydro.git] / src / HYDROData / HYDROData_Image.h
index 167d8b54767833d670de08c32ebe3f96804392c4..dda1648b3ab7cbdf34f308c852c18357a0a6bd12 100644 (file)
@@ -46,6 +46,38 @@ public:
    */
   HYDRODATA_EXPORT QTransform Trsf();
 
+  /**
+   * Stores the image transformation points (3 input + 3 output)
+   * \param thePointAIn input point A
+   * \param thePointBIn input point B
+   * \param thePointCIn input point C
+   * \param thePointAOut output point A
+   * \param thePointBOut output point B
+   * \param thePointCOut output point C
+   */
+  HYDRODATA_EXPORT void SetTrsfPoints(const QPoint& thePointAIn,
+                                      const QPoint& thePointBIn,
+                                      const QPoint& thePointCIn,
+                                      const QPointF& thePointAOut,
+                                      const QPointF& thePointBOut,
+                                      const QPointF& thePointCOut);
+
+  /**
+   * Returns the image transformation points (3 input + 3 output)
+   * \param thePointAIn input point A
+   * \param thePointBIn input point B
+   * \param thePointCIn input point C
+   * \param thePointAOut output point A
+   * \param thePointBOut output point B
+   * \param thePointCOut output point C
+   */
+  HYDRODATA_EXPORT void TrsfPoints(QPoint& thePointAIn,
+                                   QPoint& thePointBIn,
+                                   QPoint& thePointCIn,
+                                   QPointF& thePointAOut,
+                                   QPointF& thePointBOut,
+                                   QPointF& thePointCOut);
+
   /**
    * Appends reference to other image.
    * \param theReferenced the image referenced by this