1 // File: SketchPlugin_Feature.h
2 // Created: 27 Mar 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef SketchPlugin_Feature_HeaderFile
6 #define SketchPlugin_Feature_HeaderFile
8 #include "SketchPlugin.h"
9 #include <ModelAPI_Feature.h>
11 #include "TopoDS_Shape.hxx"
13 /**\class SketchPlugin_Feature
15 * \brief Feature for creation of the new part in PartSet.
17 class SketchPlugin_Feature: public ModelAPI_Feature
20 SKETCHPLUGIN_EXPORT virtual const TopoDS_Shape& preview() = 0;
23 void setPreview(const TopoDS_Shape& theShape); ///< the preview shape
26 TopoDS_Shape myPreview; ///< the preview shape