X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Curve.hxx;h=24a216cf6d0a4f2f06aada35384b9ca330dc3b9f;hb=65c66988575cb4fc8de7d838cde08b4731a6e54b;hp=ffa89c9c1439a120e64636fc99c1c3b0aa217e9b;hpb=28b09f8fc96218c317aa67805bb3fc0e296aedbd;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Curve.hxx b/src/HYDROCurveCreator/CurveCreator_Curve.hxx index ffa89c9c..24a216cf 100644 --- a/src/HYDROCurveCreator/CurveCreator_Curve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_Curve.hxx @@ -29,14 +29,13 @@ #include "CurveCreator.hxx" #include "CurveCreator_Diff.hxx" -#include - #include #include struct CurveCreator_Section; class CurveCreator_Displayer; class AIS_Shape; +class Handle_AIS_InteractiveObject; /** * The CurveCreator_Curve object is represented as one or more sets of @@ -262,19 +261,19 @@ public: /***********************************************/ /*** Presentation methods ***/ /***********************************************/ - virtual ListAISObjects constructWire(); - /** * Get the curve AIS object */ - virtual Handle_AIS_InteractiveObject getAISObject() const; + virtual Handle_AIS_InteractiveObject getAISObject( const bool theNeedToBuild = false ) const; + +protected: + virtual void constructAISObject(); public: bool myIsLocked; CurveCreator::Sections mySections; //!< curve data CurveCreator::Dimension myDimension; //!< curve dimension CurveCreator_Displayer* myDisplayer; //!< curve displayer - AIS_Shape* myAISShape; //!< AIS shape private: @@ -284,6 +283,7 @@ private: ListDiff myListDiffs; int myUndoDepth; int myOpLevel; + AIS_Shape* myAISShape; //!< AIS shape }; #endif