Salome HOME
HYDRO Feature 1: Import images (T 1.3)
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PrsImage.h
index 651c787cf08df9a6e85e2434fa97b215068b17e6..3f78316c95a2883545b2e627648f92682e38eccd 100644 (file)
@@ -56,11 +56,15 @@ public:
   void                            setIsTransformationPointPreview( const bool theState );
   bool                            getIsTransformationPointPreview() const;
 
-  void                            setTransformationPointMode( const int theMode );
+  void                            setTransformationPointType( const int thePointType );
 
   void                            setTransformationPointMap( const TransformationPointMap& theMap );
   const TransformationPointMap&   getTransformationPointMap() const { return myTransformationPointMap; }
 
+  void                            updateTransformationPoint( const int thePointType,
+                                                             const bool theIsY,
+                                                             const int theValue );
+
 public:
   // from QGraphicsItem
   virtual QRectF                  boundingRect() const;
@@ -83,7 +87,6 @@ protected:
   void                            computeTransformationPoints();
 
 protected:
-  QCursor*                        getHighlightCursor() const { return myHighlightCursor; }
   QCursor*                        getTransformationPointCursor() const { return myTransformationPointCursor; }
 
 protected:
@@ -93,11 +96,10 @@ protected:
   HYDROGUI_PrsImageFrame*         myPrsImageFrame;
 
   bool                            myIsTransformationPointPreview;
-  int                             myTransformationPointMode;
+  int                             myTransformationPointType;
   TransformationPointMap          myTransformationPointMap;
 
 private:
-  QCursor*                        myHighlightCursor;
   QCursor*                        myTransformationPointCursor;
 };