1 // File: PartSet_OperationSketchBase.cpp
2 // Created: 20 Apr 2014
3 // Author: Natalia ERMOLAEVA
5 #include <PartSet_OperationSketchBase.h>
7 #include <SketchPlugin_Feature.h>
15 PartSet_OperationSketchBase::PartSet_OperationSketchBase(const QString& theId,
17 : ModuleBase_PropPanelOperation(theId, theParent)
21 PartSet_OperationSketchBase::~PartSet_OperationSketchBase()
25 boost::shared_ptr<GeomAPI_Shape> PartSet_OperationSketchBase::preview() const
27 boost::shared_ptr<SketchPlugin_Feature> aFeature =
28 boost::dynamic_pointer_cast<SketchPlugin_Feature>(feature());
29 return aFeature->preview();