|
SHAPER
9.15.0
|
Folder feature (groups the features). More...

Public Member Functions | |
| virtual MODELAPI_EXPORT | ~ModelAPI_Folder () |
| To virtually destroy the fields of successors. More... | |
| virtual std::string | groupName () |
| Returns the group identifier of this result. More... | |
| virtual MODELAPI_EXPORT void | initAttributes () |
| Request for initialization of data model of the object: adding all attributes. More... | |
| virtual MODELAPI_EXPORT void | execute () |
| Computes or recomputes the results. More... | |
| virtual bool | isDisabled () |
| Returns the feature is disabled or not. More... | |
| std::wstring | name () |
| Returns the name stored in the attribute. More... | |
| std::shared_ptr< ModelAPI_AttributeReference > | reference (const std::string &theID) |
| Returns the reference attribute by the identifier. More... | |
| MODELAPI_EXPORT std::shared_ptr< ModelAPI_Feature > | lastVisibleFeature () |
| Returns the last visible feature in the folder, passing through invisible, that may appear as the last ones. More... | |
| virtual bool | isInHistory () |
| By default object is displayed in the object browser. More... | |
| virtual void | setInHistory (const std::shared_ptr< ModelAPI_Object > theObject, const bool theFlag) |
| Makes object presented or not in the history of the created objects. More... | |
| virtual std::shared_ptr< ModelAPI_Data > | data () const |
| Returns the data manager of this object: attributes. More... | |
| virtual bool | isSame (const std::shared_ptr< ModelAPI_Object > &theObject) |
| Returns true if object refers to the same data model instance. More... | |
| virtual std::shared_ptr< ModelAPI_Document > | document () const |
| Returns document this feature belongs to. More... | |
| virtual void | colorConfigInfo (std::string &, std::string &, std::string &) |
| Returns the parameters of color definition in the resources config manager. More... | |
| virtual void | attributeChanged (const std::string &theID) |
| Called on change of any argument-attribute of this object. More... | |
| virtual bool | isDisplayed () |
| Returns true if object must be displayed in the viewer: flag is stored in the data model, so on undo/redo, open/save or recreation of object by history-playing it keeps the original state in the current transaction. More... | |
| virtual void | setDisplayed (const bool theDisplay) |
| Sets the displayed/hidden state of the object. More... | |
| virtual bool | hasTexture () |
| virtual void | emptyFunction () const |
| Empty function which is added for virtualiation of the interface. More... | |
Static Public Member Functions | |
| static const std::string & | ID () |
| Folder feature ID. More... | |
| static std::string | group () |
| Returns the group identifier of all features. More... | |
| static const std::string & | FIRST_FEATURE_ID () |
| Attribute referring first feature in the folder. More... | |
| static const std::string & | LAST_FEATURE_ID () |
| Attribute referring last feature in the folder. More... | |
Protected Member Functions | |
| virtual MODELAPI_EXPORT void | init () |
| This method is called just after creation of the object: it must initialize all fields, normally initialized in the constructor. More... | |
| virtual void | setData (std::shared_ptr< ModelAPI_Data > theData) |
| Sets the data manager of an object (document does) More... | |
| virtual void | setDoc (std::shared_ptr< ModelAPI_Document > theDoc) |
| Sets the data manager of an object (document does) More... | |
| virtual void | erase () |
| removes all fields from this feature More... | |
Folder feature (groups the features).
|
virtual |
To virtually destroy the fields of successors.
|
inlinestatic |
Folder feature ID.
|
inlinestatic |
Returns the group identifier of all features.
|
inlinevirtual |
Returns the group identifier of this result.
Implements ModelAPI_Object.
|
inlinestatic |
Attribute referring first feature in the folder.
|
inlinestatic |
Attribute referring last feature in the folder.
|
virtual |
Request for initialization of data model of the object: adding all attributes.
Implements ModelAPI_Object.
|
virtual |
Computes or recomputes the results.
|
inlinevirtual |
Returns the feature is disabled or not.
Implements ModelAPI_Object.
|
inline |
Returns the name stored in the attribute.
|
inline |
Returns the reference attribute by the identifier.
| std::shared_ptr< ModelAPI_Feature > ModelAPI_Folder::lastVisibleFeature | ( | ) |
Returns the last visible feature in the folder, passing through invisible, that may appear as the last ones.
|
protectedvirtual |
This method is called just after creation of the object: it must initialize all fields, normally initialized in the constructor.
Implements ModelAPI_Object.
|
virtualinherited |
By default object is displayed in the object browser.
Reimplemented in SketchPlugin_Sketch, SketchPlugin_Feature, ParametersPlugin_ParametersMgr, ParametersPlugin_Parameter, Model_ResultConstruction, FiltersPlugin_Selection, FeaturesPlugin_RemoveResults, ExchangePlugin_ExportPart, and ExchangePlugin_ExportFeature.
|
virtualinherited |
Makes object presented or not in the history of the created objects.
| theObject | is shared pointer to "this" |
| theFlag | is boolean value: to add or remove from the history |
|
virtualinherited |
Returns the data manager of this object: attributes.
|
virtualinherited |
Returns true if object refers to the same data model instance.
|
virtualinherited |
Returns document this feature belongs to.
Reimplemented in ModelAPI_Feature, and Model_ResultField::Model_FieldStep.
|
inlinevirtualinherited |
Returns the parameters of color definition in the resources config manager.
Reimplemented in SketchPlugin_ConstraintRadius, SketchPlugin_ConstraintLength, SketchPlugin_ConstraintDistance, SketchPlugin_ConstraintAngle, Model_ResultPart, Model_ResultGroup, Model_ResultField, Model_ResultConstruction, and Model_ResultBody.
|
virtualinherited |
Called on change of any argument-attribute of this object.
| theID | identifier of changed attribute |
Reimplemented in ExchangePlugin_ImportBase, ExchangePlugin_Import_Image, ExchangePlugin_Import, SketchPlugin_Sketch, SketchPlugin_Projection, SketchPlugin_Point, SketchPlugin_Offset, SketchPlugin_MultiTranslation, SketchPlugin_MultiRotation, SketchPlugin_MacroEllipticArc, SketchPlugin_MacroEllipse, SketchPlugin_MacroCircle, SketchPlugin_MacroArc, SketchPlugin_Line, SketchPlugin_IntersectionPoint, SketchPlugin_EllipticArc, SketchPlugin_Ellipse, SketchPlugin_ConstraintRadius, SketchPlugin_ConstraintMirror, SketchPlugin_ConstraintMiddle, SketchPlugin_ConstraintLength, SketchPlugin_ConstraintDistanceAlongDir, SketchPlugin_ConstraintDistance, SketchPlugin_ConstraintAngle, SketchPlugin_Circle, SketchPlugin_BSplineBase, SketchPlugin_BSpline, SketchPlugin_Arc, ParametersPlugin_Parameter, ModelAPI_Result, FeaturesPlugin_Thickness, FeaturesPlugin_SharedFaces, FeaturesPlugin_RemoveSubShapes, FeaturesPlugin_Recover, FeaturesPlugin_PointCoordinates, FeaturesPlugin_PointCloudOnFace, FeaturesPlugin_NormalToFace, FeaturesPlugin_Measurement, FeaturesPlugin_InspectNormalToFace, FeaturesPlugin_InspectBoundingBox, FeaturesPlugin_GroupSharedFaces, FeaturesPlugin_GeometryCalculation, FeaturesPlugin_Fillet1D, FeaturesPlugin_BoundingBox, ExchangePlugin_ImportPart, ExchangePlugin_ExportFeature, BuildPlugin_SubShapes, BuildPlugin_Interpolation, and BuildPlugin_Filling.
|
virtualinherited |
Returns true if object must be displayed in the viewer: flag is stored in the data model, so on undo/redo, open/save or recreation of object by history-playing it keeps the original state in the current transaction.
Reimplemented in ModelAPI_ResultField::ModelAPI_FieldStep.
|
virtualinherited |
Sets the displayed/hidden state of the object.
If it is changed, sends the "redisplay" signal.
Reimplemented in ModelAPI_ResultField, ModelAPI_ResultField::ModelAPI_FieldStep, and ModelAPI_ResultBody.
|
protectedvirtualinherited |
Sets the data manager of an object (document does)
|
protectedvirtualinherited |
Sets the data manager of an object (document does)
|
protectedvirtualinherited |
removes all fields from this feature
Reimplemented in SketchPlugin_MultiTranslation, SketchPlugin_MultiRotation, SketchPlugin_ConstraintMirror, PartSetPlugin_Part, ModelAPI_Feature, and ModelAPI_CompositeFeature.
|
inlinevirtualinherited |
Empty function which is added for virtualiation of the interface.