Interface of geometric object. More...
import "GEOM_Gen.idl";
Public Member Functions | |
| shape_type | GetShapeType () |
| Get a shape_type of the object value. More... | |
| shape_type | GetTopologyType () |
| Get the topology type of the object value. More... | |
| shape_type | GetMinShapeType () |
| Get a minimal type of the top-level shapes contained in the object. More... | |
| shape_type | GetMaxShapeType () |
| Get a maximal type of the top-level shapes contained in the object. More... | |
| string | GetSubShapeName (in long subID) |
| Returns a name of a sub-shape if the sub-shape is published in the study. More... | |
| void | SetColor (in SALOMEDS::Color theColor) |
| Set color of the object. More... | |
| SALOMEDS::Color | GetColor () |
| void | SetAutoColor (in boolean theAutoColor) |
| boolean | GetAutoColor () |
| Get flag of object's auto color mode. More... | |
| void | SetMarkerStd (in marker_type theType, in marker_size theSize) |
| Set standard point marker for the object. More... | |
| void | SetMarkerTexture (in long theTextureId) |
| Set custom point marker for the object. More... | |
| marker_type | GetMarkerType () |
| Get type of the point marker assigned to the object. More... | |
| marker_size | GetMarkerSize () |
| Get size of the point marker assigned to the object. More... | |
| long | GetMarkerTexture () |
| Get texture idenifier of the point marker assigned to the object. More... | |
| long long | getShape () |
| Get the TopoDS_Shape, for colocated case only. More... | |
| SALOMEDS::TMPFile | GetShapeStream () |
| Get geometric shape of the object as a byte stream in BRep format. More... | |
| boolean | IsMainShape () |
| ListOfLong | GetSubShapeIndices () |
| GEOM_Object | GetMainShape () |
| void | SetName (in string theName) |
| Set name of the object. More... | |
| string | GetName () |
| Get name of the object associated with this object. More... | |
| string | GetEntry () |
| Get internal (unique) entry of the object in the GEOM component's data tree. More... | |
| long | GetStudyID () |
| Get ID of study, where the object is created. More... | |
| long | GetType () |
| Get internal type of operation created this object (POINT, BOX, CYLINDER, EXTRUSION...). More... | |
| long | GetTick () |
| Get value of a modification counter of the object. More... | |
| void | SetStudyEntry (in string theEntry) |
| Set a Study entry where this object was published. More... | |
| string | GetStudyEntry () |
| Get a Study entry where this object was published. More... | |
| ListOfGBO | GetDependency () |
| Get a list of all GEOM_Object on which were the arguments when this object was constructed and modified. More... | |
| ListOfGBO | GetLastDependency () |
| Get a list of GEOM_Object on which the last function that created or modified the object depends. More... | |
| boolean | IsShape () |
| boolean | IsSame (in GEOM_BaseObject other) |
| void | SetParameters (in string theParameters) |
| string | GetParameters () |
| Return list of notebook variables used for object creation separated by ":" symbol. More... | |
| CreationInformationSeq | GetCreationInformation () |
| Return name of operation and values of parameters used for object creation. More... | |
Interface of geometric object.
| shape_type GetShapeType | ( | ) |
Get a shape_type of the object value.
| shape_type GetTopologyType | ( | ) |
Get the topology type of the object value.
In contrast to the shape type, this function returns type of the most top-level sub-shape of the COMPOUND or COMPSOLID, if there is only one sub-shape there.
| shape_type GetMinShapeType | ( | ) |
Get a minimal type of the top-level shapes contained in the object.
This function is useful for the compounds only; for simple shapes it exactly the same value as GetShapeType(). Note, that compounds are procesed recursively.
| shape_type GetMaxShapeType | ( | ) |
Get a maximal type of the top-level shapes contained in the object.
This function is useful for the compounds only; for simple shapes it exactly the same value as GetShapeType(). Note, that compounds are procesed recursively.
| string GetSubShapeName | ( | in long | subID | ) |
Returns a name of a sub-shape if the sub-shape is published in the study.
| subID | - sub-shape ID |
| void SetColor | ( | in SALOMEDS::Color | theColor | ) |
Set color of the object.
| theColor | is a color of the object. |
| SALOMEDS::Color GetColor | ( | ) |
Get color of the object.
| void SetAutoColor | ( | in boolean | theAutoColor | ) |
Toggle auto color mode on the object.
| theAutoColor | is a flag which toggles auto color mode. |
| boolean GetAutoColor | ( | ) |
Get flag of object's auto color mode.
| void SetMarkerStd | ( | in marker_type | theType, |
| in marker_size | theSize | ||
| ) |
Set standard point marker for the object.
| theType | standard marker type |
| theSize | marker relative size |
| void SetMarkerTexture | ( | in long | theTextureId | ) |
Set custom point marker for the object.
The texture can be added by LoadTexture() or AddTexture() functions.
| theTextureId | texture ID |
| marker_type GetMarkerType | ( | ) |
Get type of the point marker assigned to the object.
| marker_size GetMarkerSize | ( | ) |
Get size of the point marker assigned to the object.
| long GetMarkerTexture | ( | ) |
Get texture idenifier of the point marker assigned to the object.
| long long getShape | ( | ) |
Get the TopoDS_Shape, for colocated case only.
| SALOMEDS::TMPFile GetShapeStream | ( | ) |
Get geometric shape of the object as a byte stream in BRep format.
| boolean IsMainShape | ( | ) |
| ListOfLong GetSubShapeIndices | ( | ) |
| GEOM_Object GetMainShape | ( | ) |
|
inherited |
Set name of the object.
| theName | is a name which will be associated with this object. |
|
inherited |
Get name of the object associated with this object.
|
inherited |
|
inherited |
Get ID of study, where the object is created.
|
inherited |
Get internal type of operation created this object (POINT, BOX, CYLINDER, EXTRUSION...).
|
inherited |
Get value of a modification counter of the object.
|
inherited |
Set a Study entry where this object was published.
|
inherited |
Get a Study entry where this object was published.
|
inherited |
Get a list of all GEOM_Object on which were the arguments when this object was constructed and modified.
|
inherited |
Get a list of GEOM_Object on which the last function that created or modified the object depends.
|
inherited |
|
inherited |
|
inherited |
Set list of parameters
| theParameters | is a string containing the notebook variables separated by ":" symbol, used for object creation |
|
inherited |
Return list of notebook variables used for object creation separated by ":" symbol.
|
inherited |
Return name of operation and values of parameters used for object creation.