Hide menu
Loading...
Searching...
No Matches
cadex::ModelData::ModelWriterParameters Class Reference

Defines parameters of the ModelWriter. More...

#include <cadex/ModelData/ModelWriterParameters.hxx>

Inheritance diagram for cadex::ModelData::ModelWriterParameters:
cadex::BaseObject

Public Member Functions

 ModelWriterParameters ()
 Constructor.
 
bool STLEnableMultiPartMode () const
 Specifies whether a model should be formatted part by part or merged.
 
void SetSTLEnableMultiPartMode (bool theSTLEnableMultiPartMode)
 Sets whether a model should be formatted part by part or merged.
 
bool PreferTextFormat () const
 Specifies whether an output should be formatted as text or binary.
 
void SetPreferTextFormat (bool thePreferTextFormat)
 Sets whether an output should be formatted as text or binary.
 
- Public Member Functions inherited from cadex::BaseObject
size_t Id () const
 Return unique identifier of public object.
 
internal::BaseObjectImpl * Impl () const
 
bool IsNull () const
 
 operator bool () const
 
template<typename T >
bool IsOfType () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 
- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Detailed Description

Defines parameters of the ModelWriter.

Parameters can be set using ModelWriter::SetParameters().

Member Function Documentation

◆ PreferTextFormat()

bool cadex::ModelData::ModelWriterParameters::PreferTextFormat ( ) const

Specifies whether an output should be formatted as text or binary.

See also
SetPreferTextFormat().

◆ SetPreferTextFormat()

void cadex::ModelData::ModelWriterParameters::SetPreferTextFormat ( bool thePreferTextFormat)

Sets whether an output should be formatted as text or binary.

See also
PreferTextFormat().

◆ SetSTLEnableMultiPartMode()

void cadex::ModelData::ModelWriterParameters::SetSTLEnableMultiPartMode ( bool theSTLEnableMultiPartMode)

Sets whether a model should be formatted part by part or merged.

Warning
Must be false if PreferTextFormat parameter equals false.
See also
STLEnableMultiPartMode().
PreferTextFormat().

◆ STLEnableMultiPartMode()

bool cadex::ModelData::ModelWriterParameters::STLEnableMultiPartMode ( ) const

Specifies whether a model should be formatted part by part or merged.

See also
SetSTLEnableMultiPartMode().