Instance Instance.hxx cadex/ModelData/Instance.hxx. More...
Public Member Functions | |
| __init__ (self, *args) | |
| Overload 1: Constructor. | |
| SetReference (self, theElement) | |
| Sets a referenced object. | |
| Reference (self) | |
| Returns the referenced object. | |
| SetTransformation (self, theTrsf) | |
| HasTransformation (self) | |
| Returns true if the instance has an explicitly attached transformation matrix. | |
| Transformation (self) | |
| Returns the transformation matrix. | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.ModelData_ModelElement | |
| SetName (self, theName) | |
| Sets a name. | |
| Name (self) | |
| Returns a name. | |
| SetUuid (self, theUuid) | |
| Uuid (self) | |
| Returns an object uuid. | |
| SetPMI (self, thePMI) | |
| PMI (self) | |
| Returns the object PMI. | |
| Accept (self, theVisitor) | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject | |
| Id (self) | |
| Return unique identifier of public object. | |
| IsNull (self) | |
| IsEqual (self, theObj) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Static Public Member Functions | |
| CompareType (theObject) | |
| Returns true if theObject is an instance. | |
| Cast (theBase) | |
Instance Instance.hxx cadex/ModelData/Instance.hxx.
Defines an occurrence of assembly or part in a scene graph.
Instance contains a reference to another element part or assembly and is used to share data, e.g. two instances can share the same part adding own transformations. Instance points to a specific scene graph element configuration and may return base configuration of reference scene graph element.
| manufacturingtoolkit.CadExMTK.ModelData_Instance.__init__ | ( | self, | |
| * | args ) |
Overload 1: Constructor.
|
Overload 2: Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.
|
static |
Returns true if theObject is an instance.
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.