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... | |
Class storing information about a single vertex of a generated/loaded mesh.
GLuint oglplus::shapes::ShapeAnalyzerVert::Index | ( | void | ) | const |
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.