20 #ifndef FeaturesAPI_Pipe_H_
21 #define FeaturesAPI_Pipe_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_Pipe.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
41 explicit FeaturesAPI_Pipe(
const std::shared_ptr<ModelAPI_Feature>& theFeature);
45 explicit FeaturesAPI_Pipe(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
46 const std::list<ModelHighAPI_Selection>& theBaseObjects,
51 explicit FeaturesAPI_Pipe(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
52 const std::list<ModelHighAPI_Selection>& theBaseObjects,
58 explicit FeaturesAPI_Pipe(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
59 const std::list<ModelHighAPI_Selection>& theBaseObjects,
61 const std::list<ModelHighAPI_Selection>& theLocations);
Interface for Pipe feature.
Definition: FeaturesAPI_Pipe.h:37
virtual std::shared_ptr< ModelAPI_AttributeSelection > path() const
Path.
Definition: FeaturesAPI_Pipe.h:77
void setByBasePathBiNormal(const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath, const ModelHighAPI_Selection &theBiNoramal)
Modify creation method, base, path and bi-normal.
Definition: FeaturesAPI_Pipe.cpp:101
void setByBasePathLocations(const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath, const std::list< ModelHighAPI_Selection > &theLocations)
Modify creation method, base, path and locations.
Definition: FeaturesAPI_Pipe.cpp:115
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > locations() const
Locations.
Definition: FeaturesAPI_Pipe.h:77
void setPath(const ModelHighAPI_Selection &thePath)
Modify path attribute of the feature.
Definition: FeaturesAPI_Pipe.cpp:82
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_Pipe.cpp:129
virtual ~FeaturesAPI_Pipe()
Destructor.
Definition: FeaturesAPI_Pipe.cpp:68
void setByBasePath(const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath)
Modify creation method, base and path.
Definition: FeaturesAPI_Pipe.cpp:90
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > baseObjects() const
Base objects.
Definition: FeaturesAPI_Pipe.h:77
void setBase(const std::list< ModelHighAPI_Selection > &theBaseObjects)
Modify base attribute of the feature.
Definition: FeaturesAPI_Pipe.cpp:74
virtual std::shared_ptr< ModelAPI_AttributeSelection > biNormal() const
Bi-Normal.
Definition: FeaturesAPI_Pipe.h:77
virtual std::shared_ptr< ModelAPI_AttributeString > creationMethod() const
Creation method.
Definition: FeaturesAPI_Pipe.h:77
FeaturesAPI_Pipe(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_Pipe.cpp:26
static const std::string & ID()
Feature kind.
Definition: FeaturesPlugin_Pipe.h:43
static const std::string & LOCATIONS_ID()
Attribute name of locations.
Definition: FeaturesPlugin_Pipe.h:99
static const std::string & BASE_OBJECTS_ID()
Attribute name of base objects.
Definition: FeaturesPlugin_Pipe.h:78
static const std::string & BINORMAL_ID()
Attribute name of Bi-Normal.
Definition: FeaturesPlugin_Pipe.h:92
static const std::string & CREATION_METHOD()
Attribute name for creation method.
Definition: FeaturesPlugin_Pipe.h:50
static const std::string & PATH_OBJECT_ID()
Attribute name of path object.
Definition: FeaturesPlugin_Pipe.h:85
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: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
PipePtr addPipe(const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theBaseObjects, const ModelHighAPI_Selection &thePath)
Create Pipe feature.
Definition: FeaturesAPI_Pipe.cpp:160