20 #ifndef FeaturesAPI_Thickness_H_
21 #define FeaturesAPI_Thickness_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_Thickness.h>
27 #include <ModelHighAPI_Double.h>
28 #include <ModelHighAPI_Interface.h>
29 #include <ModelHighAPI_Macro.h>
55 const std::list<ModelHighAPI_Selection>& theFaces,
Interface for Thickness feature.
Definition: FeaturesAPI_Thickness.h:37
virtual ~FeaturesAPI_Thickness()
Destructor.
Definition: FeaturesAPI_Thickness.cpp:69
FeaturesAPI_Thickness(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_Thickness.cpp:29
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > faces() const
List of faces to remove in hollowed solid mode.
Definition: FeaturesAPI_Thickness.h:77
virtual std::shared_ptr< ModelAPI_AttributeDouble > thicknessValue() const
Value of the thickness.
Definition: FeaturesAPI_Thickness.h:77
virtual std::shared_ptr< ModelAPI_AttributeString > creationMethod() const
Creation method.
Definition: FeaturesAPI_Thickness.h:77
virtual std::shared_ptr< ModelAPI_AttributeSelection > baseObject() const
Base object.
Definition: FeaturesAPI_Thickness.h:77
virtual std::shared_ptr< ModelAPI_AttributeBoolean > isInside() const
Do thicken towards inside.
Definition: FeaturesAPI_Thickness.h:77
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_Thickness.cpp:73
static const std::string & FACES_ID()
Attribute name of sub-faces to remove (for hollowed solid mode).
Definition: FeaturesPlugin_Thickness.h:72
static const std::string & CREATION_METHOD_ID()
Attribute name for creation method.
Definition: FeaturesPlugin_Thickness.h:44
static const std::string & INSIDE_ID()
Attribute name of pipe/intersection joint bool flag.
Definition: FeaturesPlugin_Thickness.h:86
static const std::string & THICKNESS_VALUE_ID()
Attribute name of thickness value.
Definition: FeaturesPlugin_Thickness.h:79
static const std::string & BASE_SHAPE_ID()
Attribute name of base shape.
Definition: FeaturesPlugin_Thickness.h:65
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_Thickness.h:37
Attribute that contains boolean value.
Definition: ModelAPI_AttributeBoolean.h:31
Attribute that contains real value with double precision.
Definition: ModelAPI_AttributeDouble.h:34
Attribute that contains list of references to the sub-shapes with possibility to manage them.
Definition: ModelAPI_AttributeSelectionList.h:37
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
API for the attribute that contains std (null terminated) string.
Definition: ModelAPI_AttributeString.h:33
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:53
Class for filling ModelAPI_AttributeDouble.
Definition: ModelHighAPI_Double.h:37
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
ThicknessPtr addThickness(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theThickness, const bool isInside=true)
Create Thickness feature.
Definition: FeaturesAPI_Thickness.cpp:108
ThicknessPtr addHollowedSolid(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theBaseObject, const ModelHighAPI_Double &theThickness, const std::list< ModelHighAPI_Selection > &theFaces, const bool isInside=true)
Create Thickness feature.
Definition: FeaturesAPI_Thickness.cpp:119