|
SHAPER
9.15.0
|
The groups result. More...

Public Member Functions | |
| virtual void | colorConfigInfo (std::string &theSection, std::string &theName, std::string &theDefault) |
| Returns the parameters of color definition in the resources config manager. More... | |
| virtual std::shared_ptr< GeomAPI_Shape > | shape () |
| Returns the compound of selected entities. More... | |
| virtual void | store (const GeomShapePtr &theShape) |
| Stores the result of operation made on groups. More... | |
| virtual | ~Model_ResultGroup () |
| Removes the stored builders. More... | |
| virtual std::string | groupName () |
| Returns the group identifier of this result. More... | |
| virtual bool | isConcealed () |
| Returns true if the result is concealed from the data tree (referenced by other objects) More... | |
| virtual void | setIsConcealed (const bool theValue, const bool theForced=false) |
| Sets the result as concealed in the data tree (referenced by other objects) More... | |
| virtual bool | setDisabled (std::shared_ptr< ModelAPI_Result > theThis, const bool theFlag) |
| Enables/disables the result. More... | |
| virtual bool | isDisabled () |
| Returns the result is disabled or not. More... | |
| virtual void | initAttributes () |
| Request for initialization of data model of the result: adding all attributes. More... | |
| virtual ListOfShape | vertices (const bool theOnlyUnique=false) |
| Returns all the vertices of this result. More... | |
| virtual ListOfShape | edges (const bool theOnlyUnique=false) |
| Returns all the edges of this result. More... | |
| virtual ListOfShape | wires (const bool theOnlyUnique=false) |
| Returns all the wires of this result. More... | |
| virtual ListOfShape | faces (const bool theOnlyUnique=false) |
| Returns all the faces of this result. More... | |
| virtual ListOfShape | shells (const bool theOnlyUnique=false) |
| Returns all the shells of this result. More... | |
| virtual ListOfShape | solids (const bool theOnlyUnique=false) |
| Returns all the solids of this result. More... | |
| virtual void | attributeChanged (const std::string &theID) |
| On change of attribute of the result update presentation of this result: for the current moment there are only presentation attributes assigned to results. 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 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 std::string | group () |
| Returns the group identifier of this result. More... | |
| static const std::string & | DEFAULT_COLOR () |
| default color for a result body More... | |
| static const std::string & | COLOR_ID () |
| Reference to the color of the result. More... | |
| static const std::string & | DEFLECTION_ID () |
| Reference to the deflection of the result. More... | |
| static const std::string & | TRANSPARENCY_ID () |
| Reference to the transparency of the result. More... | |
| static const std::string & | ISO_LINES_ID () |
| Reference to the transparency of the result. More... | |
| static const std::string & | SHOW_ISO_LINES_ID () |
| Reference to the transparency of the result. More... | |
| static const std::string & | SHOW_EDGES_DIRECTION_ID () |
| Reference to the transparency of the result. More... | |
| static const std::string & | BRING_TO_FRONT_ID () |
| Reference to the BringToFront flag of the result. More... | |
Protected Member Functions | |
| Model_ResultGroup (std::shared_ptr< ModelAPI_Data > theOwnerData) | |
| Makes a body on the given feature data. More... | |
| virtual 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... | |
Protected Attributes | |
| bool | myIsDisabled |
| the result is disabled: removed for the user, but keeps the general info More... | |
Friends | |
| class | Model_Objects |
The groups result.
Provides a compound of selected elements, without storage, one the fly.
|
inlinevirtual |
Removes the stored builders.
|
protected |
Makes a body on the given feature data.
|
virtual |
Returns the parameters of color definition in the resources config manager.
Reimplemented from ModelAPI_Object.
|
virtual |
Returns the compound of selected entities.
Reimplemented from ModelAPI_Result.
|
virtual |
Stores the result of operation made on groups.
Cleans the storage if empty shape is given. param[in] theShape shape to store.
Reimplemented from ModelAPI_ResultGroup.
|
virtualinherited |
Returns the group identifier of this result.
Implements ModelAPI_Object.
|
inlinestaticinherited |
Returns the group identifier of this result.
|
inlinestaticinherited |
default color for a result body
|
inlinestaticinherited |
Reference to the color of the result.
The integer array is used. It contains three values for red, green and blue values. The values are in [0, 255] range
|
inlinestaticinherited |
Reference to the deflection of the result.
The double value is used. The value is in [0, 1] range
|
inlinestaticinherited |
Reference to the transparency of the result.
The double value is used. The value is in [0, 1] range
|
inlinestaticinherited |
Reference to the transparency of the result.
The double value is used. The value is in [0, 1] range
|
inlinestaticinherited |
Reference to the transparency of the result.
The double value is used. The value is in [0, 1] range
|
inlinestaticinherited |
Reference to the transparency of the result.
The double value is used. The value is in [0, 1] range
|
inlinestaticinherited |
Reference to the BringToFront flag of the result.
The bool value is used.
|
virtualinherited |
Returns true if the result is concealed from the data tree (referenced by other objects)
Reimplemented in Model_ResultBody.
|
virtualinherited |
Sets the result as concealed in the data tree (referenced by other objects)
Reimplemented in Model_ResultConstruction, and Model_ResultBody.
|
virtualinherited |
Enables/disables the result.
The disabled result does not participate in any calculation and visualization: like it was removed. But it keeps the general parameters: colors, visibility, etc.
| theThis | pointer to this object, needed to generate all events if it is necessary |
| theFlag | makes disabled if it is true |
Reimplemented in Model_ResultPart, and Model_ResultBody.
|
virtualinherited |
Returns the result is disabled or not.
Implements ModelAPI_Object.
|
virtualinherited |
Request for initialization of data model of the result: adding all attributes.
Implements ModelAPI_Object.
Reimplemented in ModelAPI_ResultParameter, Model_ResultPart, Model_ResultParameter, and Model_ResultBody.
|
virtualinherited |
Returns all the vertices of this result.
|
virtualinherited |
Returns all the edges of this result.
|
virtualinherited |
Returns all the wires of this result.
|
virtualinherited |
Returns all the faces of this result.
|
virtualinherited |
Returns all the shells of this result.
|
virtualinherited |
Returns all the solids of this result.
|
virtualinherited |
On change of attribute of the result update presentation of this result: for the current moment there are only presentation attributes assigned to results.
Reimplemented from ModelAPI_Object.
|
protectedvirtualinherited |
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.
|
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.
|
protectedinherited |
the result is disabled: removed for the user, but keeps the general info