OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::shapes::ShapeAnalyzer Class Reference

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

Detailed Description

Class that analyzes vertex attribs generated by shape loaders/generators.

See Also
ShapeAnalyzerVert
ShapeAnalyzerEdge
ShapeAnalyzerFace
Examples:
standalone/001_shape2dot.cpp.

Member Function Documentation

ShapeFace oglplus::shapes::ShapeAnalyzer::Face ( GLuint  face_index)

Returns the face_index-th face.

Precondition
face_index < FaceCount()
See Also
FaceCount()
Examples:
standalone/001_shape2dot.cpp.
GLuint oglplus::shapes::ShapeAnalyzer::FaceCount ( void  ) const

Return the number of faces generated by the generator.

See Also
Face()
Examples:
standalone/001_shape2dot.cpp.

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/shapes/analyzer.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).