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 43 of file stl_loader.h.

Member Typedef Documentation

◆ V_Triangle

Definition at line 60 of file stl_loader.h.

Constructor & Destructor Documentation

◆ STLLoader()

ogre_tools::STLLoader::STLLoader ( )

Definition at line 37 of file stl_loader.cpp.

◆ ~STLLoader()

ogre_tools::STLLoader::~STLLoader ( )

Definition at line 41 of file stl_loader.cpp.

Member Function Documentation

◆ load() [1/2]

bool ogre_tools::STLLoader::load ( const std::string &  path)

Definition at line 45 of file stl_loader.cpp.

◆ load() [2/2]

bool ogre_tools::STLLoader::load ( uint8_t *  buffer,
const size_t  num_bytes,
const std::string &  origin 
)

Definition at line 97 of file stl_loader.cpp.

◆ load_binary()

bool ogre_tools::STLLoader::load_binary ( uint8_t *  buffer)
protected

Load a binary STL file.

Definition at line 166 of file stl_loader.cpp.

◆ toMesh()

Ogre::MeshPtr ogre_tools::STLLoader::toMesh ( const std::string &  name)

Definition at line 242 of file stl_loader.cpp.

Member Data Documentation

◆ triangles_

V_Triangle ogre_tools::STLLoader::triangles_

Definition at line 61 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 May 27 2023 02:06:25