24 #ifndef FEATURESAPI_MULTIROTATION_H_
25 #define FEATURESAPI_MULTIROTATION_H_
27 #include "FeaturesAPI.h"
29 #include <FeaturesPlugin_MultiRotation.h>
31 #include <ModelHighAPI_Integer.h>
32 #include <ModelHighAPI_Interface.h>
33 #include <ModelHighAPI_Macro.h>
52 const std::list<ModelHighAPI_Selection>& theMainObjects,
59 const std::list<ModelHighAPI_Selection>& theMainObjects,
113 const
bool keepSubResults = false);
Interface for Translation feature.
Definition: FeaturesAPI_MultiRotation.h:43
virtual std::shared_ptr< ModelAPI_AttributeString > useStepAngular() const
Use step angular.
Definition: FeaturesAPI_MultiRotation.h:79
virtual std::shared_ptr< ModelAPI_AttributeSelection > axisAngular() const
Angular direction.
Definition: FeaturesAPI_MultiRotation.h:79
void setStepAngular(const ModelHighAPI_Double &theStep)
Modify CreationMethod, step_angular attribute of the feature.
Definition: FeaturesAPI_MultiRotation.cpp:96
FeaturesAPI_MultiRotation(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_MultiRotation.cpp:31
virtual std::shared_ptr< ModelAPI_AttributeDouble > stepAngular() const
Step angular.
Definition: FeaturesAPI_MultiRotation.h:79
void setNumberAngular(const ModelHighAPI_Integer &theNumber)
Modify CreationMethod, nb_angular attribute of the feature.
Definition: FeaturesAPI_MultiRotation.cpp:104
virtual ~FeaturesAPI_MultiRotation()
Destructor.
Definition: FeaturesAPI_MultiRotation.cpp:74
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_MultiRotation.cpp:112
void setAxisAngular(const ModelHighAPI_Selection &theAxis)
Modify CreationMethod, axis_angular attribute of the feature.
Definition: FeaturesAPI_MultiRotation.cpp:88
void setMainObjects(const std::list< ModelHighAPI_Selection > &theMainObjects)
Set main objects.
Definition: FeaturesAPI_MultiRotation.cpp:79
virtual std::shared_ptr< ModelAPI_AttributeInteger > nbAngular() const
Number of copies for angular.
Definition: FeaturesAPI_MultiRotation.h:79
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > mainObjects() const
Main objects.
Definition: FeaturesAPI_MultiRotation.h:79
static const std::string & OBJECTS_LIST_ID()
Attribute name of referenced objects.
Definition: FeaturesPlugin_MultiRotation.h:51
static const std::string & USE_ANGULAR_STEP_ID()
Attribute name for use angular step.
Definition: FeaturesPlugin_MultiRotation.h:65
static const std::string & AXIS_ANGULAR_ID()
Attribute name of the angular direction.
Definition: FeaturesPlugin_MultiRotation.h:58
static const std::string & ID()
Multi-rotation kind.
Definition: FeaturesPlugin_MultiRotation.h:44
static const std::string & NB_COPIES_ANGULAR_ID()
Attribute name of number of copies for angular.
Definition: FeaturesPlugin_MultiRotation.h:79
static const std::string & STEP_ANGULAR_ID()
Attribute name of step for the angular.
Definition: FeaturesPlugin_MultiRotation.h:72
Attribute that contains real value with double precision.
Definition: ModelAPI_AttributeDouble.h:34
API for the attribute that contains integer (int).
Definition: ModelAPI_AttributeInteger.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:52
Class for filling ModelAPI_AttributeDouble.
Definition: ModelHighAPI_Double.h:37
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Class for filling ModelAPI_AttributeInteger.
Definition: ModelHighAPI_Integer.h:36
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
MultiRotationPtr addMultiRotation(const std::shared_ptr< ModelAPI_Document > &thePart, const std::list< ModelHighAPI_Selection > &theMainObjects, const ModelHighAPI_Selection &theAxis, const ModelHighAPI_Double &theStep, const ModelHighAPI_Integer &theNumber=ModelHighAPI_Integer(L""), const bool keepSubResults=false)
Create MultiRotation feature.
Definition: FeaturesAPI_MultiRotation.cpp:143