ColladaExporter Class Reference

Class used to export Collada mesh files. More...

#include <common/common.hh>

Inherits MeshExporter.

Public Types

enum  GeometryType { POSITION, NORMAL, UVMAP }
 Geometry types. More...
 

Public Member Functions

 ColladaExporter ()
 Constructor. More...
 
virtual ~ColladaExporter ()
 Destructor. More...
 
virtual void Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures)
 Export a mesh to a file. More...
 

Detailed Description

Class used to export Collada mesh files.

Member Enumeration Documentation

§ GeometryType

Geometry types.

Enumerator
POSITION 
NORMAL 
UVMAP 

Constructor & Destructor Documentation

§ ColladaExporter()

Constructor.

§ ~ColladaExporter()

virtual ~ColladaExporter ( )
virtual

Destructor.

Member Function Documentation

§ Export()

virtual void Export ( const Mesh _mesh,
const std::string &  _filename,
bool  _exportTextures 
)
virtual

Export a mesh to a file.

Parameters
[in]_meshPointer to the mesh to be exported
[in]_filenameExported file's path and name
[in]_exportTexturesTrue to export texture images to '../materials/textures' folder

Implements MeshExporter.


The documentation for this class was generated from the following file: