#include <stl_loader.h>
Classes | |
struct | Triangle |
Public Types | |
typedef std::vector< Triangle > | V_Triangle |
Public Member Functions | |
bool | load (const std::string &path) |
bool | load (uint8_t *buffer, const size_t num_bytes, const std::string &origin) |
STLLoader () | |
Ogre::MeshPtr | toMesh (const std::string &name) |
~STLLoader () | |
Public Attributes | |
V_Triangle | triangles_ |
Protected Member Functions | |
bool | load_binary (uint8_t *buffer) |
Load a binary STL file. |
Definition at line 42 of file stl_loader.h.
typedef std::vector<Triangle> ogre_tools::STLLoader::V_Triangle |
Definition at line 59 of file stl_loader.h.
Definition at line 38 of file stl_loader.cpp.
Definition at line 43 of file stl_loader.cpp.
bool ogre_tools::STLLoader::load | ( | const std::string & | path | ) |
Definition at line 48 of file stl_loader.cpp.
bool ogre_tools::STLLoader::load | ( | uint8_t * | buffer, |
const size_t | num_bytes, | ||
const std::string & | origin | ||
) |
Definition at line 92 of file stl_loader.cpp.
bool ogre_tools::STLLoader::load_binary | ( | uint8_t * | buffer | ) | [protected] |
Load a binary STL file.
Definition at line 158 of file stl_loader.cpp.
Ogre::MeshPtr ogre_tools::STLLoader::toMesh | ( | const std::string & | name | ) |
Definition at line 233 of file stl_loader.cpp.
Definition at line 60 of file stl_loader.h.