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)
22 PartSet_OperationSketchBase::~PartSet_OperationSketchBase()
26 boost::shared_ptr<GeomAPI_Shape> PartSet_OperationSketchBase::preview(
27 boost::shared_ptr<ModelAPI_Feature> theFeature) const
29 boost::shared_ptr<SketchPlugin_Feature> aFeature =
30 boost::dynamic_pointer_cast<SketchPlugin_Feature>(theFeature);
31 return aFeature->preview();