C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
C3D Converter: The Converters Module
+ Collaboration diagram for C3D Converter: The Converters Module:

Modules

 Converters Interface
 
 Supported Data Formats
 

Enumerations

enum  eMsgType {
  emt_ErrorNoId , emt_TextOnly , emt_Info , emt_Warning ,
  emt_Error
}
 Type of a log message.
More...
 
enum  eTextForm { exf_TextOnly , exf_GeometryOnly }
 Representation of exported text.
More...
 
enum  MbeProgBarId_Converters
 Identifiers of the execution progress indicator messages converters data exchange.
 
enum  MbeProgBarId_Triangulation
 Identifiers of the execution progress indicator messages triangulation.
 
enum  MbeProgBarId_MassInertiaProperties
 Identifiers of the execution progress indicator messages of mass-inertial properties of assembly or a detail.
 

Functions

virtual MbeConvResType IConverter3D::PreliminaryImport (IConvertorProperty3D &prop, IProgressIndicator *indicator=0)=0
 Import preliminary model data: list of attributes and configurations . More...
 
virtual void IConverter3D::SetPreliminaryCallbacks (IAttributeNamesCollector *attrCollector, IConfigurationSelector *configSelector)=0
 Set parameters to save data at the stage of preliminary import. More...
 
void AdjustIntersectionCurvesType (MbSolid &solid)
 Set the right type of intersecion curves in edges. More...
 
void AdjustVerticisGeometryByEdges (MbSolid &solid)
 Set the verticis' poins by edges. More...
 

Detailed Description

Enumeration Type Documentation

◆ eMsgType

enum eMsgType

Type of a log message.

Enumerator
emt_ErrorNoId 

Error not related with a certain record. The id field is ignored.

emt_TextOnly 

Used to type message only. The id field is ignored.

emt_Info 

Info.

emt_Warning 

Warning.

emt_Error 

Format mismatch or fatal converting error.

◆ eTextForm

enum eTextForm

Representation of exported text.

Enumerator
exf_TextOnly 

Text only.

exf_GeometryOnly 

Geometry only.

Function Documentation

◆ PreliminaryImport()

virtual MbeConvResType IConverter3D::PreliminaryImport ( IConvertorProperty3D prop,
IProgressIndicator indicator = 0 
)
pure virtual

Import preliminary model data: list of attributes and configurations .

Parameters
[in]prop- Implementation of converter's properties interface.
[in]indicator- Code of the operation termination.

◆ SetPreliminaryCallbacks()

virtual void IConverter3D::SetPreliminaryCallbacks ( IAttributeNamesCollector attrCollector,
IConfigurationSelector configSelector 
)
pure virtual

Set parameters to save data at the stage of preliminary import.

Parameters
[in]attrCollector- Implementation of the interface for collecting model attribute names. .
[in]configSelector- Implementation of the file configuration selection interface .
Note
EXPEREIMENTAL.

◆ AdjustIntersectionCurvesType()

void AdjustIntersectionCurvesType ( MbSolid solid)

Set the right type of intersecion curves in edges.

Parameters
[out]solid- Solid to be processed.

In curves built by points and classified as cbt_Toleranc the check if the surfaces' normals are colinear is performed. In case the nornals are not colinear the type is switched to the cbt_Specific.

◆ AdjustVerticisGeometryByEdges()

void AdjustVerticisGeometryByEdges ( MbSolid solid)

Set the verticis' poins by edges.

Parameters
[out]solid- Solid to be processed.

The location of the vertes is set as the average value of end points of the curves of adjacent edges.