|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
Collaboration diagram for Converters Interface:Classes | |
| struct | C3DConverterDebugSettings |
| Settings of the debug features of the C3D Converter. More... | |
| struct | IProductIdMaker |
| Interface of component's identifier generator. More... | |
| class | IConvertorProperty3D |
| Interface of converter's properties. More... | |
| struct | NameProductIdMaker |
| Implementation of component's identifier generator. More... | |
| class | ConvConvertorProperty3D |
| Pre-defined implementation of converter's properties. More... | |
| class | c3d::FormatInfo |
| Information about supported 3D model format. More... | |
| class | ItModelDocument |
| Interface of document of an assembly model or a part model. More... | |
| class | C3DSymbolToItem |
| Generator of text element's geometry shape. More... | |
| class | C3DPmiToItem |
| Generator of PMI's geometry shape. More... | |
| class | C3dModelDocument |
| Implementation of model document which has regular structure. More... | |
| class | ItModelInstanceProperties |
| Interface of properties of an instance, a subassembly or a part. More... | |
| class | ItModelInstance |
| Interface of the component instance. More... | |
| class | ItModelAssembly |
| Interface of the assembly. More... | |
| class | ItModelPart |
| Interface of a part. More... | |
| class | c3d::C3DExchangeBuffer |
| Memory buffer for data exchange. More... | |
| class | IConverter3D |
| Converter's interface. More... | |
| struct | c3d::PluginVersionInfo |
| Information about plugin version. More... | |
Enumerations | |
| enum | eLoggingMode { elm_LoggingOff , elm_LoggingAll , elm_LoggingForId } |
| Logging mode. More... | |
| enum | MbeModelExchangeFormat { mxf_autodetect , mxf_ACIS , mxf_IGES , mxf_JT , mxf_Parasolid , mxf_STEP , mxf_STL , mxf_VRML , mxf_3MF , mxf_OBJ , mxf_GRDECL , mxf_ASCIIPoint , mxf_C3D , mxf_ACISBinary , mxf_ParasolidBinary } |
| Model exchange format. More... | |
Functions | |
| MbeConvResType | c3d::ImportFromFile (MbModel &model, const path_string &fileName, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Read a file of an exchange format into model. More... | |
| MbeConvResType | c3d::ImportFromFile (c3d::ItemSPtr &item, const path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Read a file of an exchange format into element. More... | |
| MbeConvResType | c3d::ImportFromFile (ItModelDocument &mDoc, const path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Read a file of an exchange format into model. More... | |
| MbeConvResType | c3d::ExportIntoFile (MbModel &model, const path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Write the model into an exchange format file. More... | |
| MbeConvResType | c3d::ExportIntoFile (MbItem &item, const path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Write the model into an exchange format file. More... | |
| MbeConvResType | c3d::ExportIntoFile (ItModelDocument &mDoc, const path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Write the model into an exchange format file. More... | |
| MbeConvResType | c3d::ImportFromBuffer (MbModel &model, const C3DExchangeBuffer &buffer, MbeModelExchangeFormat modelFormat, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Import data from buffer into model. More... | |
| MbeConvResType | c3d::ImportFromBuffer (c3d::ItemSPtr &item, const C3DExchangeBuffer &buffer, MbeModelExchangeFormat modelFormat, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Import data from buffer into model. More... | |
| MbeConvResType | c3d::ImportFromBuffer (ItModelDocument &mDoc, const C3DExchangeBuffer &buffer, MbeModelExchangeFormat modelFormat, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Import data from buffer into model. More... | |
| MbeConvResType | c3d::ExportIntoBuffer (MbModel &model, MbeModelExchangeFormat modelFormat, C3DExchangeBuffer &buffer, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Export model into buffer. More... | |
| MbeConvResType | c3d::ExportIntoBuffer (MbItem &item, MbeModelExchangeFormat modelFormat, C3DExchangeBuffer &buffer, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Export model into buffer. More... | |
| MbeConvResType | c3d::ExportIntoBuffer (ItModelDocument &item, MbeModelExchangeFormat modelFormat, C3DExchangeBuffer &buffer, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr) |
| Export model document into buffer. More... | |
| std::vector< FormatInfo > | c3d::GetSupportedFormats () |
| Get list of supported formats. More... | |
| std::vector< PluginVersionInfo > | c3d::GetLoadedPluginsVersions () |
| Get versions of loaded plugins. More... | |
| virtual MbeConvResType | IConverter3D::ImportFromFile (ItModelDocument &mDoc, const c3d::path_string &filePath, IConvertorProperty3D *prop=nullptr, IProgressIndicator *indicator=nullptr)=0 |
| Read a file of an exchange format into model. More... | |
| virtual std::vector< c3d::FormatInfo > | IConverter3D::GetSupportedImportFormats () const =0 |
| Get list of supported formats. More... | |
| virtual std::vector< c3d::FormatInfo > | IConverter3D::GetSupportedImportForeignFormats () const =0 |
| Get list of supported formats for import via the ImportForeign() method. More... | |
| IConverter3D * | GetConverter3D () |
| Get the converter interface. | |
| void | ReleaseConverter3D (IConverter3D *) |
| Release the converter interface. | |
| IConverter3D * | GetConvertor3D () |
| Get the converter interface. | |
| void | ReleaseConvertor3D (IConverter3D *convInstance) |
| Release the converter interface. | |
| MbeConvResType | c3d_conv_user::ImportSolid (c3d::SolidSPtr &solid, std::shared_ptr< ObContainer const > obContainer, IConvertorProperty3D *prop, IProgressIndicator *indicator=nullptr) |
| Read a model document using a set of custom objects. More... | |
| enum eLoggingMode |
Model exchange format.
| Enumerator | |
|---|---|
| mxf_autodetect | File extension defines format. |
| mxf_ACIS | Read data from buffer as ACIS (.sat). |
| mxf_IGES | Read data from buffer as IGES (.igs or .iges). |
| mxf_JT | Read data from buffer as JT (.jt). |
| mxf_Parasolid | Read data from buffer as Parasolid (.x_t, .xmt_txt or .xmp_txt). |
| mxf_STEP | Read data from buffer as STEP (.stp or .step). |
| mxf_STL | Read data from buffer as STL (.stl). |
| mxf_VRML | Read data from buffer as VRML (.wrl). |
| mxf_3MF | Read data from buffer as 3MF (.3mf). |
| mxf_OBJ | Read data from buffer as OBJ (.obj). |
| mxf_GRDECL | Read data from buffer as GRDECL (.grdecl). |
| mxf_ASCIIPoint | Read data from buffer as ASCII point cloud (.txt, .asc or .xyz). |
| mxf_C3D | Read data from buffer as C3D (.c3d). |
| mxf_ACISBinary | Read data from buffer as binary ACIS (.sab). |
| mxf_ParasolidBinary | Read data from buffer as binary Parasolid (.x_b, .xmt_bin or .xmp_bin). |
| MbeConvResType c3d::ImportFromFile | ( | MbModel & | model, |
| const path_string & | fileName, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Read a file of an exchange format into model.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for import.
| [out] | model | - The imported model. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ImportFromFile | ( | c3d::ItemSPtr & | item, |
| const path_string & | filePath, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Read a file of an exchange format into element.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for import.
| [out] | item | - The imported element. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ImportFromFile | ( | ItModelDocument & | mDoc, |
| const path_string & | filePath, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Read a file of an exchange format into model.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for import.
| [out] | mDoc | - The imported model document. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoFile | ( | MbModel & | model, |
| const path_string & | filePath, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Write the model into an exchange format file.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for export.
| [out] | model | - The exported model. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoFile | ( | MbItem & | item, |
| const path_string & | filePath, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Write the model into an exchange format file.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for export.
| [out] | item | - The exported element. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoFile | ( | ItModelDocument & | mDoc, |
| const path_string & | filePath, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Write the model into an exchange format file.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for export.
| [in] | mDoc | - The exported model document. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ImportFromBuffer | ( | MbModel & | model, |
| const C3DExchangeBuffer & | buffer, | ||
| MbeModelExchangeFormat | modelFormat, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Import data from buffer into model.
| [out] | model | - The imported model. |
| [in] | buffer | - Buffer. |
| [in] | modelFormat | - Model format. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ImportFromBuffer | ( | c3d::ItemSPtr & | item, |
| const C3DExchangeBuffer & | buffer, | ||
| MbeModelExchangeFormat | modelFormat, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Import data from buffer into model.
| [out] | item | - The imported item. |
| [in] | buffer | - Buffer. |
| [in] | modelFormat | - Model format. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ImportFromBuffer | ( | ItModelDocument & | mDoc, |
| const C3DExchangeBuffer & | buffer, | ||
| MbeModelExchangeFormat | modelFormat, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Import data from buffer into model.
| [out] | mDoc | - The imported model document. |
| [in] | buffer | - Buffer. |
| [in] | modelFormat | - Model format. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoBuffer | ( | MbModel & | model, |
| MbeModelExchangeFormat | modelFormat, | ||
| C3DExchangeBuffer & | buffer, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Export model into buffer.
| [in] | model | - The exported model. |
| [in] | modelFormat | - Model format. |
| [out] | buffer | - Buffer. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoBuffer | ( | MbItem & | item, |
| MbeModelExchangeFormat | modelFormat, | ||
| C3DExchangeBuffer & | buffer, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Export model into buffer.
| [in] | item | - The exported item. |
| [in] | modelFormat | - Model format. |
| [out] | buffer | - Buffer. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| MbeConvResType c3d::ExportIntoBuffer | ( | ItModelDocument & | item, |
| MbeModelExchangeFormat | modelFormat, | ||
| C3DExchangeBuffer & | buffer, | ||
| IConvertorProperty3D * | prop = nullptr, |
||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Export model document into buffer.
| [in] | mDoc | - The exported model document. |
| [in] | modelFormat | - Model format. |
| [out] | buffer | - Buffer. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
| std::vector<FormatInfo> c3d::GetSupportedFormats | ( | ) |
Get list of supported formats.
If some plugin does not support format listing, then its formats will not be included into the list.
| std::vector<PluginVersionInfo> c3d::GetLoadedPluginsVersions | ( | ) |
Get versions of loaded plugins.
Version value is defined by plugin implementation. If plugin does not submit its version, "n/a" is used instead.
|
pure virtual |
Read a file of an exchange format into model.
The fileName argument is not used if converter properties are defined obviously, file path comes from the FullFilePath method. Otherwise default parameters corresponding ConvConvertorProperty3D implementation are used for import.
| [out] | mDoc | - The model. |
| [in] | filePath | - File path. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |
|
pure virtual |
Get list of supported formats.
If some plugin does not support format listing, then its formats will not be included into the list.
|
pure virtual |
Get list of supported formats for import via the ImportForeign() method.
If some plugin does not support format listing, then its formats will not be included into the list.
| MbeConvResType c3d_conv_user::ImportSolid | ( | c3d::SolidSPtr & | solid, |
| std::shared_ptr< ObContainer const > | obContainer, | ||
| IConvertorProperty3D * | prop, | ||
| IProgressIndicator * | indicator = nullptr |
||
| ) |
Read a model document using a set of custom objects.
| [out] | solid | - The imported solid. |
| [in] | obContainer- | Custom object container. |
| [in] | prop | - Implementation of converter's properties interface. |
| [in] | indicator | - The process progress indicator. |