Hide menu
cadex::ModelData_WriterParameters Class Reference

Defines parameters used by the ModelData_Model::Save() function. More...

Inheritance diagram for cadex::ModelData_WriterParameters:
cadex::Base_WriterParameters

Public Types

enum  FileFormatType { Xml, Binary, Cdxfb }
 
- Public Types inherited from cadex::Base_WriterParameters
typedef std::shared_ptr< internal::Base_WriterParametersImpl > ImplPtrType
 Reserved for internal use.
 

Public Member Functions

FileFormatType FileFormat () const
 Returns the target format of ModelData_Model export.
 
FileFormatTypeFileFormat ()
 Sets the target format of ModelData_Model export.
 
- Public Member Functions inherited from cadex::Base_WriterParameters
bool WriteBRepRepresentation () const
 Returns whether B-Rep representation should be saved.
 
bool & WriteBRepRepresentation ()
 Specifies whether B-Rep representation should be saved. More...
 
bool WritePolyRepresentation () const
 Returns whether polygonal representation should be saved.
 
bool & WritePolyRepresentation ()
 Specifies whether polygonal representation should be saved. More...
 
bool WriteTextures () const
 Returns whether texture should be saved.
 
bool & WriteTextures ()
 Specifies whether texture should be saved. More...
 
bool WritePMI () const
 Specifies whether Product and Manufacturing Information (PMI) should be saved. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & WritePMI ()
 Specifies whether Product and Manufacturing Information (PMI) should be saved. More...
 
Base_LengthUnit LengthUnit () const
 Returns the length unit.
 
Base_LengthUnitLengthUnit ()
 Specifies the length unit. More...
 
ModelData_RepresentationMask PreferredLOD () const
 Returns the type of polygonal representation that should be written.
 
ModelData_RepresentationMaskPreferredLOD ()
 Specifies the type of polygonal representation that should be written. More...
 
const Base_UTF16StringAuthor () const
 Returns the author name.
 
Base_UTF16StringAuthor ()
 Specifies the model author name. More...
 
const Base_UTF16StringOrganization () const
 Returns the organization name.
 
Base_UTF16StringOrganization ()
 Specifies the organization name. More...
 
const Base_UTF16StringOriginatingSystem () const
 Returns the originating system name.
 
Base_UTF16StringOriginatingSystem ()
 Specifies the originating system name. More...
 
internal::Base_WriterParametersImpl * Impl () const
 Returns internal implementation object.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
const ImplPtrTypeSharedImpl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_WriterParameters
 Base_WriterParameters (internal::Base_WriterParametersImpl *theImpl)
 Constructor. More...
 

Detailed Description

Defines parameters used by the ModelData_Model::Save() function.

Member Enumeration Documentation

Defines the types of native files that ModelData_Model can be saved into.

Enumerator
Xml 

Export the model as XML.

Binary 

Export the model as binary CDX file.

Cdxfb 

Export the model as CDXFB, efficient binary file format used for CAD Exchanger Web Toolkit.