20 #ifndef FeaturesAPI_BoundingBox_H_
21 #define FeaturesAPI_BoundingBox_H_
23 #include "FeaturesAPI.h"
25 #include "FeaturesPlugin_BoundingBox.h"
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
Definition: FeaturesAPI_BoundingBox.h:39
virtual ~FeaturesAPI_BoundingBox()
Destructor.
Definition: FeaturesAPI_BoundingBox.cpp:52
virtual std::shared_ptr< ModelAPI_AttributeSelection > objectSelected() const
object selected
Definition: FeaturesAPI_BoundingBox.h:55
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_BoundingBox.cpp:57
FeaturesAPI_BoundingBox(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_BoundingBox.cpp:32
static const std::string & OBJECT_ID()
Attribute name for object selected.
Definition: FeaturesPlugin_BoundingBox.h:40
static const std::string & ID()
Bounding box kind.
Definition: FeaturesPlugin_BoundingBox.h:33
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
BoundingBoxPtr getBoundingBox(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject)
get the bounding Box
Definition: FeaturesAPI_BoundingBox.cpp:71