|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Interface of the assembly. More...
#include <conv_model_document.h>
Inheritance diagram for ItModelAssembly:
Collaboration diagram for ItModelAssembly:Public Member Functions | |
| virtual c3d::path_string | PureFileName () const =0 |
| Get the file name of an assembly without the path and the extension for export. More... | |
| virtual ModelInstancePtr | PrepareInstance ()=0 |
| Get an empty interface of the insertion for creation of subassembly or a part while importing. More... | |
| virtual ModelInstancePtr | NextInstance (bool includeInvisible)=0 |
| Get the interface of the next insertion for creation of a subassembly or a part while exporting. More... | |
| virtual bool | GetPlacement (MbPlacement3D &) const |
| Get the placement, which all the items of the component use for transformation. | |
| virtual void | GetItems (c3d::ItemsSPtrVector &items, MbeGettingItemType itemType, bool includeInvisible) const =0 |
| Get objects from the assembly root while exporting. More... | |
| virtual void | AddItems (const c3d::ItemsSPtrVector &items)=0 |
| Add objects to the assembly root while importing. More... | |
| virtual DEPRECATE_DECLARE AnnotationSptrVector | GetAnnotationItems (eTextForm, bool) const |
| Get elements of annotation from the assembly. More... | |
| virtual DEPRECATE_DECLARE void | SetAnnotationItems (const AnnotationSptrVector &)=0 |
| Set elements of annotation in the assembly. More... | |
| virtual void | AddMappedItem (MbItem &, MbPlacement3D const &, c3d::AttrSPtrVector const &) |
| Add object with a placement to the assembly root while importing. More... | |
| virtual SPtr< MbInstance > | NextMappedItem () const |
| Get the next item with placement. More... | |
| virtual c3d::ItemSPtr | NextAxesGrid () const |
| Get the next construction axes grid. More... | |
| virtual void | AddAxesGrid (c3d::ItemSPtr const &) |
| Add next construction axes grid. More... | |
| virtual c3d::ItemSPtr | NextAxisSpatial () const |
| Get the next spatial axis. More... | |
| virtual void | AddAxisSpatial (c3d::ItemSPtr const &) |
| Get the next spatial axis. More... | |
| virtual SPtr< MbAssistingItem > | NextCoordinateSystem () const |
| Get the next coordinate system. More... | |
| virtual void | AddCoordinateSystem (SPtr< MbAssistingItem > const &) |
| Add a coordinate system. More... | |
| virtual c3d::ItemSPtr | NextBoundaryItem () const |
| Get the next item that is the boundary of an area or volume. More... | |
| virtual void | AddBoundaryItem (c3d::ItemSPtr const &) |
| Add an item that is the boundary of an area or volume. More... | |
Public Member Functions inherited from ItModelInstanceProperties | |
| virtual bool | SetAttributes (const c3d::AttrSPtrVector &)=0 |
| Set attributes. | |
| virtual c3d::AttrSPtrVector | GetAttributes () const =0 |
| Get attributes. | |
| virtual DEPRECATE_DECLARE void | GetRequirements (AnnotationSptrVector &, eTextForm) const =0 |
| Technical requirements. Get technical requirements. | |
| virtual DEPRECATE_DECLARE void | SetRequirements (const AnnotationSptrVector &)=0 |
| Set technical requirements. | |
Public Member Functions inherited from MbRefItem | |
| virtual MbeRefType | RefType () const |
| Registration type (for copying, duplication). | |
| void | AddRegistrator (MbRegDuplicate *reg) const |
| Add the register. | |
| void | RemoveRegistrator (MbRegDuplicate *reg) const |
| Remove the register. | |
| 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 assembly.
The object should be created in the CreateAssembly method of the implementations of the ItModelDocument and ItModelInstance interfaces. Own Items of the detail should be arguments of the constructor.
|
pure virtual |
Get the file name of an assembly without the path and the extension for export.
|
pure virtual |
Get an empty interface of the insertion for creation of subassembly or a part while importing.
Increase the reference counter by 1.
|
pure virtual |
Get the interface of the next insertion for creation of a subassembly or a part while exporting.
|
pure virtual |
Get objects from the assembly root while exporting.
| [out] | items | - Array to fill (consist of objects of classes MbSolid, MbCurve3D, MbCartPoint3D). |
| [in] | includeInvisible | - If true, then all the solids are returned, including invisible ones, if false - only visible ones. |
|
pure virtual |
Add objects to the assembly root while importing.
| [in] | items | - Objects to add to the model (solids, curves and points). |
|
inlinevirtual |
Get elements of annotation from the assembly.
| [in] | eTextForm | - Text representation form. |
| [in] | includeInvisible | - If true, all the annotation objects are returned, including invisible ones, if false - only visible ones. |
|
pure virtual |
Set elements of annotation in the assembly.
| [in] | sourceDim | - Elements of annotation. |
|
inlinevirtual |
Add object with a placement to the assembly root while importing.
| [in] | item | - Object to add to the model. |
| [in] | placement | - Placement. |
|
inlinevirtual |
Get the next item with placement.
|
inlinevirtual |
Get the next construction axes grid.
|
inlinevirtual |
Add next construction axes grid.
| [in] | group | Next construction axes grid. |
|
inlinevirtual |
Get the next spatial axis.
|
inlinevirtual |
Get the next spatial axis.
| [in] | group | Next spatial axis. |
|
inlinevirtual |
Get the next coordinate system.
|
inlinevirtual |
Add a coordinate system.
| [in] | group | Coordinate system. |
|
inlinevirtual |
Get the next item that is the boundary of an area or volume.
|
inlinevirtual |
Add an item that is the boundary of an area or volume.
| [in] | group | Next item that is the boundary of an area or volume. |