|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
Interface of document of an assembly model or a part model. More...
#include <conv_model_document.h>
Inheritance diagram for ItModelDocument:
Collaboration diagram for ItModelDocument:Public Member Functions | |
| virtual bool | IsAssembly () const =0 |
| Is it an assembly? | |
| virtual bool | IsEmpty () const =0 |
| There is no data. | |
| virtual void | SetContent (MbItem *)=0 |
| Prototype of a new interface function - get the placement the model is defined in. More... | |
| virtual MbItem * | GetContent ()=0 |
| Prototype of a new interface function - get the filling. | |
| virtual ModelAssemblyPtr | CreateAssembly (const c3d::ItemsSPtrVector &componentItems, const c3d::string_t &fileName)=0 |
| Create a document with a new assembly while importing. More... | |
| virtual ModelPartPtr | CreatePart (const c3d::ItemsSPtrVector &componentItems, const c3d::string_t &fileName)=0 |
| Create a document with a new 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 SPtr< IConverterMetadataReceiver > | GetMetadataReceiver () |
| Get metadata provider. More... | |
| virtual c3d::path_string | GetMetadataWritePath () |
| Get metadata write path. More... | |
| virtual bool | FinishImport (IProgressIndicator *indicator)=0 |
| Complete the import and save the document. More... | |
| virtual DEPRECATE_DECLARE map_of_visual_items | GetAnnotationItems (eTextForm) const =0 |
| Get elements of annotation, corresponding items of geometric model. More... | |
| virtual DEPRECATE_DECLARE void | SetAnnotationItems (const map_of_visual_items &)=0 |
| Set sizes. | |
| virtual DEPRECATE_DECLARE void | OpenDocument ()=0 |
| Open a document. | |
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 document of an assembly model or a part model.
Prototype of a new interface function - get the placement the model is defined in.
Prototype of a new interface function - set a model to fill.
Implemented in C3dModelDocument.
|
pure virtual |
Create a document with a new assembly while importing.
Increase the reference counter of the resultant document by 1.
| [in] | componentItems | - Items to add into the assembly. |
| [in] | fileName | - Assembly name. |
Implemented in C3dModelDocument.
|
pure virtual |
Create a document with a new part while importing.
Increase the reference counter of the resultant document by 1.
| [in] | componentItems | - Items to add into the assembly. |
| [in] | fileName | - A part name. |
Implemented in C3dModelDocument.
|
pure virtual |
Get an assembly for export.
Increase the reference counter of the resultant assembly by 1.
Implemented in C3dModelDocument.
|
pure virtual |
Get the detail for export.
Increase the reference counter of the resultant part by 1.
Implemented in C3dModelDocument.
|
inlinevirtual |
Get metadata provider.
Metadata are used in cases they don't fin in neigher geometric nor attribute-based models.
Reimplemented in C3dModelDocument.
|
inlinevirtual |
Get metadata write path.
Metadata are used in cases they don't fit in neigher geometric nor attribute-based models. This method is alternative for GetMetadataReceiver() for cases when it is more preferred for user application to store metadata into the filesystem rather than transferring them via IConverterMetadataReceiver. The directory must exist, be empty and writable.
Reimplemented in C3dModelDocument.
|
pure virtual |
Complete the import and save the document.
| [in] | indicator | An object indicating a process progress. |
Implemented in C3dModelDocument.
|
pure virtual |
Get elements of annotation, corresponding items of geometric model.
| [in] | eTextForm | - Text representation form. |
Implemented in C3dModelDocument.