1 // File: XGUI_ViewerPrs.cpp
2 // Created: 20 Apr 2014
3 // Author: Natalia ERMOLAEVA
5 #include "XGUI_ViewerPrs.h"
7 XGUI_ViewerPrs::XGUI_ViewerPrs()
11 XGUI_ViewerPrs::XGUI_ViewerPrs(boost::shared_ptr<ModelAPI_Feature> theFeature,
12 const TopoDS_Shape& theShape)
13 : myFeature(theFeature), myShape(theShape)
17 XGUI_ViewerPrs::~XGUI_ViewerPrs()
21 void XGUI_ViewerPrs::setFeature(boost::shared_ptr<ModelAPI_Feature> theFeature)
23 myFeature = theFeature;
26 void XGUI_ViewerPrs::setShape(const TopoDS_Shape& theShape)
31 boost::shared_ptr<ModelAPI_Feature> XGUI_ViewerPrs::feature() const
36 const TopoDS_Shape& XGUI_ViewerPrs::shape() const