Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <DoubleVertexRemover.hpp>

Classes | |
| class | CompareVertex |
Public Member Functions | |
| DoubleVertexRemover () | |
| virtual const char * | className () |
| void | removeDoubles (Geometry *geom) |
| const std::vector< unsigned int > & | mapNewToOld () const |
| const std::vector< unsigned int > & | mapOldToNew () const |
Protected Attributes | |
| std::vector< unsigned int > | mMapNewToOld |
| std::vector< unsigned int > | mMapOldToNew |
As a result also all the DrawArrays prensent in the Geometry are substituted with DrawElements.
| vl::DoubleVertexRemover::DoubleVertexRemover | ( | ) | [inline] |
| virtual const char* vl::DoubleVertexRemover::className | ( | ) | [inline, virtual] |
Reimplemented from vl::VertexMapper.
| void DoubleVertexRemover::removeDoubles | ( | Geometry * | geom | ) |
| const std::vector<unsigned int>& vl::DoubleVertexRemover::mapNewToOld | ( | ) | const [inline] |
| const std::vector<unsigned int>& vl::DoubleVertexRemover::mapOldToNew | ( | ) | const [inline] |
std::vector<unsigned int> vl::DoubleVertexRemover::mMapNewToOld [protected] |
std::vector<unsigned int> vl::DoubleVertexRemover::mMapOldToNew [protected] |