MeshLoader Class Referenceabstract

Base class for loading meshes. More...

#include <common/common.hh>

Inherited by ColladaLoader, and STLLoader.

Public Member Functions

 MeshLoader ()
 Constructor. More...
 
virtual ~MeshLoader ()
 Destructor. More...
 
virtual MeshLoad (const std::string &_filename)=0
 Load a 3D mesh. More...
 

Detailed Description

Base class for loading meshes.

Constructor & Destructor Documentation

Constructor.

virtual ~MeshLoader ( )
virtual

Destructor.

Member Function Documentation

virtual Mesh* Load ( const std::string &  _filename)
pure virtual

Load a 3D mesh.

Parameters
[in]_filenamethe path to the mesh
Returns
a pointer to the created mesh

Implemented in ColladaLoader, and STLLoader.


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