Model ModelData/Model.hxx cadex/ModelData/Model.hxx. More...
Public Member Functions | |
| __init__ (self, *args) | |
| SetName (self, theName) | |
| Sets a model name. | |
| Name (self) | |
| Returns a model name. | |
| IsEmpty (self) | |
| Returns true if the model is empty. | |
| Clear (self) | |
| Clears the model contents. | |
| AddRoot (self, theElement) | |
| Adds a root element to the model. | |
| Roots (self) | |
| Returns root elements of the model. | |
| NumberOfRoots (self) | |
| Returns the number of root elements in the model. | |
| SetDrawing (self, theDrawing) | |
| Drawing (self) | |
| Merge (self, theModel) | |
| Adds roots from another model to current. | |
| AssignUuids (self) | |
| Accept (self, theVisitor) | |
| Accepts a visitor. | |
| Open (self, *args) | |
| Save (self, *args) | |
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 | |
| Cast (theBase) | |
Static Public Attributes | |
| FileFormatType_MTK = _CadExMTK.ModelData_Model_FileFormatType_MTK | |
| FileFormatType_MTKWEB = _CadExMTK.ModelData_Model_FileFormatType_MTKWEB | |
Model ModelData/Model.hxx cadex/ModelData/Model.hxx.
Provides MTK data model.
The model encapsulates a scene graph (hierarchy of assemblies and parts) and is thus an entry point to entire 3D model data.
A model contains a shared pointer to its internal implementation, so simple copying an object will just copy a shared pointer:
| manufacturingtoolkit.CadExMTK.ModelData_Model.__init__ | ( | self, | |
| * | args ) |
Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.