#include "CurveCreator.hxx"
#include "CurveCreator_Diff.hxx"
-#include <AIS_InteractiveObject.hxx>
-
#include <list>
#include <map>
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
/***********************************************/
/*** 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:
ListDiff myListDiffs;
int myUndoDepth;
int myOpLevel;
+ AIS_Shape* myAISShape; //!< AIS shape
};
#endif