cee::exp::ExportWavefrontObj Class Reference

Export the given frame to Wavefront .obj, .mtl and texture (.png) files. More...

Public Member Functions

 ExportWavefrontObj (ug::UnstructGridModel *model, size_t frameIndex)
 Creates an export object for the given model and frame index. More...
 
bool save (const Str &objFilename)
 Saves the Wavefront .obj, .mtl and texture (.png) files. More...
 

Detailed Description

Export the given frame to Wavefront .obj, .mtl and texture (.png) files.

Note
EXPERIMENTAL - Interface and functionality may change any time without notice

Constructor & Destructor Documentation

cee::exp::ExportWavefrontObj::ExportWavefrontObj ( ug::UnstructGridModel model,
size_t  frameIndex 
)

Creates an export object for the given model and frame index.

Member Function Documentation

bool cee::exp::ExportWavefrontObj::save ( const Str objFilename)

Saves the Wavefront .obj, .mtl and texture (.png) files.

Returns
true if geometry was successfully exported. Else false.
Note
Existing files will be overwritten.