1 #ifndef CURVECREATOR_DISPLAYER_H
2 #define CURVECREATOR_DISPLAYER_H
4 #include "CurveCreator_Macro.hxx"
6 #include <AIS_InteractiveObject.hxx>
7 #include <AIS_InteractiveContext.hxx>
11 class CURVECREATOR_EXPORT CurveCreator_Displayer
13 typedef std::vector<Handle_AIS_InteractiveObject> AISObjectsList;
16 CurveCreator_Displayer(Handle_AIS_InteractiveContext theContext );
17 ~CurveCreator_Displayer(void);
20 Handle_AIS_InteractiveContext getAISContext() { return myContext; }
22 void display( AISObjectsList theCurveObjects, bool isUpdate );
23 void erase( bool isUpdate );
24 void highlight( const AISObjectsList& theObjects, bool isHL );
26 void displayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate );
27 void redisplayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate );
30 Quantity_Color getActiveColor( bool isHL );
33 Handle_AIS_InteractiveContext myContext;
34 AISObjectsList myObjects;