OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::shapes::ShapeAnalyzerVert Class Reference

Class storing information about a single vertex of a generated/loaded mesh. More...

#include </home/chochlik/devel/oglplus/include/oglplus/shapes/analyzer.hpp>

Public Member Functions

GLuint Index (void) const
 Returns the index of the vertex in its parent face. More...
 
ShapeAnalyzerFace Face (void) const
 Returns the parent face of the vertex.
 
Vec4d MainAttrib (void) const
 Returns the value of the main vertex attribute at the vertex. More...
 
Vec4d SmoothAttrib (void) const
 Returns the value of the 'smooth' vertex attribute at the vertex. More...
 

Detailed Description

Class storing information about a single vertex of a generated/loaded mesh.

See Also
ShapeAnalyzer
ShapeAnalyzerEdge
ShapeAnalyzerFace

Member Function Documentation

GLuint oglplus::shapes::ShapeAnalyzerVert::Index ( void  ) const

Returns the index of the vertex in its parent face.

Postcondition
Index() < Face().Arity()
Vec4d oglplus::shapes::ShapeAnalyzerVert::MainAttrib ( void  ) const

Returns the value of the main vertex attribute at the vertex.

The main vertex attribute is usually the vertex position, but for some analyses it may be something else, the UV coordinate for example.

Vec4d oglplus::shapes::ShapeAnalyzerVert::SmoothAttrib ( void  ) const

Returns the value of the 'smooth' vertex attribute at the vertex.

This vertex attribute is used to detect if edges are 'smooth' it is usually the vertex normal, but for some analyses it may be something else.


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