void setIsTransformationPointPreview( const bool theState );
bool getIsTransformationPointPreview() const;
+ void setIsByTwoPoints( const bool theIsByTwoPoints );
+ bool getIsByTwoPoints() const;
+
void setTransformationPointType( const int thePointType );
void setTransformationPointMap( const TransformationPointMap& theMap );
protected:
void computeTransformationPoints();
+ /**
+ * Show/hide a transformation point if necessary.
+ */
+ void updateTrsfPoint( const int thePointType );
protected:
QCursor* getTransformationPointCursor() const { return myTransformationPointCursor; }
HYDROGUI_PrsImageFrame* myPrsImageFrame;
bool myIsTransformationPointPreview;
+ bool myIsByTwoPoints;
int myTransformationPointType;
TransformationPointMap myTransformationPointMap;