Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ogre_tools::STLLoader Class Reference

#include <stl_loader.h>

Classes

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. More...
 

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

ogre_tools::STLLoader::STLLoader ( )

Definition at line 38 of file stl_loader.cpp.

ogre_tools::STLLoader::~STLLoader ( )

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

V_Triangle ogre_tools::STLLoader::triangles_

Definition at line 60 of file stl_loader.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat Apr 27 2019 02:33:43