C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Interface of the component instance. More...
#include <conv_model_document.h>
Public Member Functions | |
virtual bool | GetPlacement (MbPlacement3D &) const =0 |
Get the placement of this instance in parent's coordinates. | |
virtual bool | IsAssembly () const =0 |
Is it an assembly? | |
virtual bool | IsEmpty () const =0 |
Is it neither an assembly nor a part? | |
virtual ModelAssemblyPtr | CreateAssembly (const MbPlacement3D &place, const c3d::ItemsSPtrVector &componentItems, const c3d::string_t &fileName)=0 |
Create an empty assembly while importing and increase the reference counter by 1. More... | |
virtual ModelPartPtr | CreatePart (const MbPlacement3D &place, const c3d::ItemsSPtrVector &componentItems, const c3d::string_t &fileName)=0 |
Create a part while importing. More... | |
virtual ModelAssemblyPtr | GetInstanceAssembly ()=0 |
Get an assembly for export. More... | |
virtual ModelPartPtr | GetInstancePart ()=0 |
Get the detail for export. More... | |
virtual bool | SetAssembly (const MbPlacement3D &place, const ItModelAssembly *existing)=0 |
Create a subassembly and its instance while importing. More... | |
virtual bool | SetPart (const MbPlacement3D &place, const ItModelPart *existing)=0 |
Create a part while importing and its instance. More... | |
Public Member Functions inherited from ItModelInstanceProperties | |
virtual bool | SetAttributes (const c3d::AttrSPtrVector &)=0 |
Attributes. More... | |
virtual c3d::AttrSPtrVector | GetAttributes () const =0 |
Get attributes. | |
virtual void | GetRequirements (AnnotationSptrVector &, eTextForm) const =0 |
Technical requirements. More... | |
virtual void | SetRequirements (const AnnotationSptrVector &)=0 |
Set technical requirements. | |
Public Member Functions inherited from MbRefItem | |
virtual MbeRefType | RefType () const |
Registration type (for copying, duplication). | |
refcount_t | GetUseCount () const |
Get count of references (get count of owners of an object). | |
refcount_t | AddRef () const |
Increase count of references by one. | |
refcount_t | DecRef () const |
Decrease count of references by one. | |
refcount_t | Release () const |
Decrease count of references by one and if count of references became zero, then remove itself. | |
Additional Inherited Members | |
Protected Member Functions inherited from MbRefItem | |
MbRefItem () | |
Constructor without parameters. | |
Interface of the component instance.
|
pure virtual |
Create an empty assembly while importing and increase the reference counter by 1.
[in] | place | - LCS of the assembly in the parent's model. |
[in] | fileName | - Assembly name. |
|
pure virtual |
Create a part while importing.
Increase the reference counter of a part by 1.
[in] | place | - LCS of a part. |
[in] | solids | - Solids included in the part. |
[in] | fileName | - Solid's name. |
|
pure virtual |
Get an assembly for export.
|
pure virtual |
Get the detail for export.
|
pure virtual |
Create a subassembly and its instance while importing.
[in] | place | - LCS of the assembly in the parent's model. |
[in] | existing | - An assembly to insert. |
|
pure virtual |
Create a part while importing and its instance.
[in] | place | - LCS of a part in the parent's model. |
[in] | existing | - Detail to insert. |