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 <GeomAPI_Shape.h>
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 std::shared_ptr<GeomAPI_Shape>& preview() = 0;
23 void setPreview(const std::shared_ptr<GeomAPI_Shape>& theShape); ///< the preview shape
26 std::shared_ptr<GeomAPI_Shape> myPreview; ///< the preview shape