Class that analyzes vertex attribs generated by shape loaders/generators. More...
#include </home/chochlik/devel/oglplus/include/oglplus/shapes/analyzer.hpp>
Public Types | |
typedef ShapeAnalyzerVert | ShapeVert |
The class storing information about a single mesh vertex. | |
typedef ShapeAnalyzerEdge | ShapeEdge |
The class storing information about a single mesh edge. | |
typedef ShapeAnalyzerFace | ShapeFace |
The class storing information about a single mesh face. | |
Public Member Functions | |
template<typename ShapeBuilder > | |
ShapeAnalyzer (const ShapeBuilder &builder) | |
Constructor takes an initialized shape builder. | |
GLuint | FaceCount (void) const |
Return the number of faces generated by the generator. More... | |
ShapeFace | Face (GLuint face_index) |
Returns the face_index-th face. More... | |
Class that analyzes vertex attribs generated by shape loaders/generators.
ShapeFace oglplus::shapes::ShapeAnalyzer::Face | ( | GLuint | face_index | ) |
Returns the face_index-th face.
GLuint oglplus::shapes::ShapeAnalyzer::FaceCount | ( | void | ) | const |
Return the number of faces generated by the generator.