C3D Kernel  104598
Classes | Namespaces | Functions
Converters Interface
The Converters Module
Collaboration diagram for Converters Interface:

Classes

class  IConvertorProperty3D
 Interface of converter's properties. More...
class  IConvertor3D
 Converter's interface. 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  ItModelDetail
 Interface of a part. More...
class  ItModelDocument
 Interface of document of an assembly model or a part model. More...
class  ConvModelDocument
 Implementation of the interface of a document of an assembly model or a part model. More...
class  RegularModelDocument
 Implementation of model document which has regular structure. More...
class  ConvConvertorProperty3D
 Simple implementation of converter's properties. More...

Namespaces

namespace  c3d
 

C3D namespace declaration.


Functions

IConvertor3DGetConvertor3D ()
 Get the converter interface.
MbeConvResType ASCIIPointCloudRead (IConvertorProperty3D &prop, ItModelDocument &idoc, IProgressIndicator *indicator=0)
 Read a file of ASCII Point Cloud format.
MbeConvResType ASCIIPointCloudWrite (IConvertorProperty3D &prop, ItModelDocument &idoc, IProgressIndicator *indicator=0)
 Write a point cloud file of ASCII format.
MbeConvResType c3d::ImportFromFile (MbModel &model, const path_string &fileName, IConvertorProperty3D *prop=0, IProgressIndicator *indicator=0)
 Read a file of an exchange format into model.
MbeConvResType c3d::ImportFromFile (ItModelDocument &mDoc, const path_string &filePath, IConvertorProperty3D *prop, IProgressIndicator *indicator)
 Read a file of an exchange format into model.
MbeConvResType c3d::ExportIntoFile (MbModel &model, const path_string &filePath, IConvertorProperty3D *prop=0, IProgressIndicator *indicator=0)
 Write the model into an exchange format file.
MbeConvResType c3d::ImportFromBuffer (MbModel &model, const char *data, size_t length, MbeModelExchangeFormat modelFormat, IConvertorProperty3D *prop=0, IProgressIndicator *indicator=0)
 Import data from buffer into model.
MbeConvResType c3d::ExportIntoBuffer (MbModel &model, MbeModelExchangeFormat modelFormat, char *&data, size_t &length, IConvertorProperty3D *prop=0, IProgressIndicator *indicator=0)
 Export model into buffer.

Function Documentation

MbeConvResType ASCIIPointCloudRead ( IConvertorProperty3D prop,
ItModelDocument idoc,
IProgressIndicator indicator = 0 
)
Parameters:
[in]prop- Implementation of converter's properties interface.
[in]idoc- Implementation of document interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType ASCIIPointCloudWrite ( IConvertorProperty3D prop,
ItModelDocument idoc,
IProgressIndicator indicator = 0 
)
Parameters:
[in]prop- Implementation of converter's properties interface.
[in]idoc- Implementation of document interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType c3d::ImportFromFile ( MbModel model,
const path_string &  fileName,
IConvertorProperty3D prop = 0,
IProgressIndicator indicator = 0 
)

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.

Parameters:
[out]model- the model.
[in]filePath- File path.
[in]prop- Implementation of converter's properties interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType c3d::ImportFromFile ( ItModelDocument mDoc,
const path_string &  filePath,
IConvertorProperty3D prop,
IProgressIndicator indicator 
)

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.

Parameters:
[out]mDoc- the model.
[in]filePath- File path.
[in]prop- Implementation of converter's properties interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType c3d::ExportIntoFile ( MbModel model,
const path_string &  filePath,
IConvertorProperty3D prop = 0,
IProgressIndicator indicator = 0 
)

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.

Parameters:
[out]model- the model.
[in]filePath- File path.
[in]prop- Implementation of converter's properties interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType c3d::ImportFromBuffer ( MbModel model,
const char *  data,
size_t  length,
MbeModelExchangeFormat  modelFormat,
IConvertorProperty3D prop = 0,
IProgressIndicator indicator = 0 
)
Parameters:
[out]model- the model.
[in]data- Buffer.
[in]length- Buffer size.
[in]modelFormat- Model format.
[in]prop- Implementation of converter's properties interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
MbeConvResType c3d::ExportIntoBuffer ( MbModel model,
MbeModelExchangeFormat  modelFormat,
char *&  data,
size_t &  length,
IConvertorProperty3D prop = 0,
IProgressIndicator indicator = 0 
)
Parameters:
[in]model- the model.
[in]modelFormat- Model format.
[out]data- Buffer.
[out]length- Buffer size.
[in]prop- Implementation of converter's properties interface.
[in]indicator- The process progress indicator.
Returns:
Code of the operation termination.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines