Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
ogre_tools::STLLoader Class Reference

#include <stl_loader.h>

List of all members.


struct  Triangle

Public Types

typedef std::vector< TriangleV_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.

Detailed Description

Definition at line 42 of file stl_loader.h.

Member Typedef Documentation

Definition at line 59 of file stl_loader.h.

Constructor & Destructor Documentation

Definition at line 38 of file stl_loader.cpp.

Definition at line 43 of file stl_loader.cpp.

Member Function Documentation

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.

Member Data Documentation

Definition at line 60 of file stl_loader.h.

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

Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Jun 6 2019 18:02:16