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

Writes supported formats, see Import and Export section. More...

#include <cadex/ModelData/ModelWriter.hxx>

Inheritance diagram for cadex::ModelData::ModelWriter:
cadex::BaseObject

Public Member Functions

 ModelWriter ()
 Constructor.
 
const ModelWriterParametersParameters ()
 Returns Writer parameters.
 
void SetParameters (const ModelWriterParameters &theParameters)
 Sets Writer parameters.
 
bool Write (const ModelData::Model &theModel, const UTF16String &theFilePath)
 Writes the specified model to the file at the specified path. Automatically detects suitable format based on the file extension.
 
const cadex::ProgressStatusProgressStatus ()
 
void SetProgressStatus (cadex::ProgressStatus &theStatus)
 
- 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

Writes supported formats, see Import and Export section.

Examples
sheet_metal/unfolder/Program.cs, and sheet_metal/unfolder/main.cxx.

Member Function Documentation

◆ Write()

bool cadex::ModelData::ModelWriter::Write ( const ModelData::Model & theModel,
const UTF16String & theFilePath )

Writes the specified model to the file at the specified path. Automatically detects suitable format based on the file extension.

Returns true if the writing process succeeded, false otherwise.

Examples
sheet_metal/unfolder/main.cxx.