|
Assimp
v4.1. (December 2018)
|
Helper class to export a given scene to a StepFile. More...
Public Member Functions | |
| StepExporter (const aiScene *pScene, IOSystem *pIOSystem, const std::string &path, const std::string &file, const ExportProperties *pProperties) | |
| Constructor for a specific scene to export. More... | |
Public Attributes | |
| std::stringstream | mOutput |
| Stringstream to write all output into. More... | |
Protected Types | |
| typedef std::multimap< const aiNode *, unsigned int > | MeshesByNodeMap |
| map to all meshed of nodes More... | |
Protected Member Functions | |
| void | WriteFile () |
| Starts writing the contents. More... | |
Protected Attributes | |
| std::string | endstr |
| current line end string for simple stream insertion More... | |
| MeshesByNodeMap | meshes |
| std::string | mFile |
| Name of the file (without extension) where the scene will be exported. More... | |
| IOSystem * | mIOSystem |
| The IOSystem for output. More... | |
| std::string | mPath |
| Path of the directory where the scene will be exported. More... | |
| const ExportProperties * | mProperties |
| hold the properties pointer More... | |
| const aiScene * | mScene |
| The scene to be written. More... | |
| std::map< const aiNode *, aiMatrix4x4 > | trafos |
| accumultated transformations for nodes More... | |
Helper class to export a given scene to a StepFile.
Note: an StepFile uses a left hand system. Assimp used a right hand system (OpenGL), therefore we have to transform everything
|
protected |
map to all meshed of nodes
| StepExporter::StepExporter | ( | const aiScene * | pScene, |
| IOSystem * | pIOSystem, | ||
| const std::string & | path, | ||
| const std::string & | file, | ||
| const ExportProperties * | pProperties | ||
| ) |
Constructor for a specific scene to export.
|
protected |
Starts writing the contents.
|
protected |
current line end string for simple stream insertion
|
protected |
|
protected |
Name of the file (without extension) where the scene will be exported.
| std::stringstream Assimp::StepExporter::mOutput |
Stringstream to write all output into.
|
protected |
Path of the directory where the scene will be exported.
|
protected |
hold the properties pointer
|
protected |
The scene to be written.
|
protected |
accumultated transformations for nodes