1 #ifndef XGUI_Displayer_H
2 #define XGUI_Displayer_H
8 #include <TopoDS_Shape.hxx>
11 class ModelAPI_Feature;
13 /**\class XGUI_Displayer
15 * \brief Displayer. Provides mechanizm of displa/erase of objects in viewer
17 class XGUI_EXPORT XGUI_Displayer
20 XGUI_Displayer(XGUI_Viewer* theViewer);
21 virtual ~XGUI_Displayer();
23 void Display(std::shared_ptr<ModelAPI_Feature> theFeature);
25 void Display(std::shared_ptr<ModelAPI_Feature> theFeature, const TopoDS_Shape& theShape);
28 XGUI_Viewer* myViewer; ///< the viewer