Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.ModelData_Instance Class Reference

Instance Instance.hxx cadex/ModelData/Instance.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.ModelData_Instance:
manufacturingtoolkit.CadExMTK.ModelData_ModelElement manufacturingtoolkit.CadExMTK.BaseObject

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)
 

Static Public Member Functions

 CompareType (theObject)
 Returns true if theObject is an instance.
 
 Cast (theBase)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.ModelData_Instance.__init__ ( self,
* args )

Overload 1: Constructor.

|

Overload 2: Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.ModelData_Instance.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.ModelData_Instance.CompareType ( theObject)
static

Returns true if theObject is an instance.

Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.


The documentation for this class was generated from the following file:
  • CadExMTK.py