20 #ifndef FeaturesAPI_SharedFaces_H_
21 #define FeaturesAPI_SharedFaces_H_
23 #include "FeaturesAPI.h"
25 #include "FeaturesPlugin_GroupSharedFaces.h"
27 #include <ModelHighAPI_Integer.h>
28 #include <ModelHighAPI_Interface.h>
29 #include <ModelHighAPI_Macro.h>
47 const std::string & theNameGroup);
75 const std::
string & theNameGroup);
Interface to find shared faces.
Definition: FeaturesAPI_SharedFaces.h:38
virtual std::shared_ptr< ModelAPI_AttributeSelection > objectselected() const
object selected
Definition: FeaturesAPI_SharedFaces.h:57
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_SharedFaces.cpp:57
virtual std::shared_ptr< ModelAPI_AttributeString > groupname() const
group name
Definition: FeaturesAPI_SharedFaces.h:57
virtual ~FeaturesAPI_SharedFaces()
Destructor.
Definition: FeaturesAPI_SharedFaces.cpp:52
FeaturesAPI_SharedFaces(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_SharedFaces.cpp:30
static const std::string & ID()
Group shared faces kind.
Definition: FeaturesPlugin_GroupSharedFaces.h:33
static const std::string & GROUP_NAME_ID()
Attribute name for group name.
Definition: FeaturesPlugin_GroupSharedFaces.h:68
static const std::string & OBJECT_ID()
Attribute name for object selected.
Definition: FeaturesPlugin_GroupSharedFaces.h:40
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
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
SharedFacesPtr getSharedFaces(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theObject, const std::string &theNameGroup)
Create a group of shared faces in a compsolid or a compound.
Definition: FeaturesAPI_SharedFaces.cpp:71