1 #ifndef XGUI_Displayer_H
2 #define XGUI_Displayer_H
7 #include <boost/shared_ptr.hpp>
9 #include <TopoDS_Shape.hxx>
12 class ModelAPI_Feature;
14 /**\class XGUI_Displayer
16 * \brief Displayer. Provides mechanizm of displa/erase of objects in viewer
18 class XGUI_EXPORT XGUI_Displayer
21 XGUI_Displayer(XGUI_Viewer* theViewer);
22 virtual ~XGUI_Displayer();
24 void Display(boost::shared_ptr<ModelAPI_Feature> theFeature);
26 void Display(boost::shared_ptr<ModelAPI_Feature> theFeature, const TopoDS_Shape& theShape);
29 XGUI_Viewer* myViewer; ///< the viewer