MeshLoader Class Referenceabstract
Base class for loading meshes. More...
#include <gz/common/MeshLoader.hh>
Public Member Functions | |
MeshLoader ()=default | |
Constructor. | |
virtual | ~MeshLoader ()=default |
Destructor. | |
virtual Mesh * | Load (const std::string &_filename)=0 |
Load a 3D mesh. | |
Detailed Description
Base class for loading meshes.
Constructor & Destructor Documentation
◆ MeshLoader()
|
default |
Constructor.
◆ ~MeshLoader()
|
virtualdefault |
Destructor.
Member Function Documentation
◆ Load()
|
pure virtual |
Load a 3D mesh.
- Parameters
-
[in] _filename the path to the mesh
- Returns
- a pointer to the created mesh
Implemented in ColladaLoader, OBJLoader, STLLoader, and AssimpLoader.
The documentation for this class was generated from the following file: