20 #ifndef SAMPLEPANELPLUGIN_FEATURE_H_
21 #define SAMPLEPANELPLUGIN_FEATURE_H_
23 #include "SamplePanelPlugin.h"
25 #include <ModelAPI_Feature.h>
35 inline static const std::string&
ID()
37 static const std::string MY_SAMPLE_PANEL_FEATURE_ID(
"QtPanelFeature");
38 return MY_SAMPLE_PANEL_FEATURE_ID;
44 static const std::string MY_VALUE_ID(
"Value");
64 typedef std::shared_ptr<SamplePanelPlugin_Feature> SamplePanelFeaturePtr;
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39
Sample feature to be filled by the panel.
Definition: SamplePanelPlugin_Feature.h:32
SamplePanelPlugin_Feature()
Use plugin manager for features creation.
Definition: SamplePanelPlugin_Feature.cpp:24
virtual const std::string & getKind()
Returns the unique kind of a feature.
Definition: SamplePanelPlugin_Feature.h:52
virtual void initAttributes()
Request for initialization of data model of the object: adding all attributes.
Definition: SamplePanelPlugin_Feature.cpp:29
virtual void execute()
Computes or recomputes the results.
Definition: SamplePanelPlugin_Feature.h:58
static const std::string & VALUE_ID()
Total number of objects, initial and translated objects.
Definition: SamplePanelPlugin_Feature.h:42
static const std::string & ID()
SketchShape feature kind.
Definition: SamplePanelPlugin_Feature.h:35