ColladaExporter Class Reference
Class used to export Collada mesh files. More...
#include <ColladaExporter.hh>
Public Member Functions | |
ColladaExporter () | |
Constructor. | |
virtual | ~ColladaExporter () |
Destructor. | |
void | Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures, const std::vector< math::Matrix4d > &_submeshToMatrix) |
Export a mesh to a file. | |
void | Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures, const std::vector< math::Matrix4d > &_submeshToMatrix, const std::vector< ColladaLight > &_lights) |
Export a mesh to a file. | |
virtual void | Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures=false) |
Export a mesh to a file. | |
Public Member Functions inherited from MeshExporter | |
MeshExporter () | |
Constructor. | |
virtual | ~MeshExporter () |
Destructor. | |
Detailed Description
Class used to export Collada mesh files.
Constructor & Destructor Documentation
◆ ColladaExporter()
ColladaExporter | ( | ) |
Constructor.
◆ ~ColladaExporter()
|
virtual |
Destructor.
Member Function Documentation
◆ Export() [1/3]
void Export | ( | const Mesh * | _mesh, |
const std::string & | _filename, | ||
bool | _exportTextures, | ||
const std::vector< math::Matrix4d > & | _submeshToMatrix | ||
) |
Export a mesh to a file.
- Parameters
-
[in] _mesh Pointer to the mesh to be exported [in] _filename Exported file's path and name [in] _exportTextures True to export texture images to '../materials/textures' folder [in] _submeshToMatrix Matrices of submeshes
◆ Export() [2/3]
void Export | ( | const Mesh * | _mesh, |
const std::string & | _filename, | ||
bool | _exportTextures, | ||
const std::vector< math::Matrix4d > & | _submeshToMatrix, | ||
const std::vector< ColladaLight > & | _lights | ||
) |
Export a mesh to a file.
- Parameters
-
[in] _mesh Pointer to the mesh to be exported [in] _filename Exported file's path and name [in] _exportTextures True to export texture images to '../materials/textures' folder [in] _submeshToMatrix Matrices of submeshes [in] _lights List of lights to export
◆ Export() [3/3]
|
virtual |
Export a mesh to a file.
- Parameters
-
[in] _mesh Pointer to the mesh to be exported [in] _filename Exported file's path and name [in] _exportTextures True to export texture images to '../materials/textures' folder
Implements MeshExporter.
The documentation for this class was generated from the following file: