MeshExporter Class Referenceabstract

Base class for exporting meshes. More...

#include <common/common.hh>

Inherited by ColladaExporter.

Public Member Functions

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

Detailed Description

Base class for exporting meshes.

Constructor & Destructor Documentation

◆ MeshExporter()

Constructor.

◆ ~MeshExporter()

virtual ~MeshExporter ( )
virtual

Destructor.

Member Function Documentation

◆ Export()

virtual void Export ( const Mesh * _mesh,
const std::string & _filename,
bool _exportTextures = false )
pure 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

Implemented in ColladaExporter.


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