Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Generates a set of new vertices from the old one. More...
#include <DoubleVertexRemover.hpp>
Public Member Functions | |
| ref< ArrayAbstract > | regenerate (ArrayAbstract *data, const std::vector< u32 > &map_new_to_old) const |
| Regenerates a new Array based on the given mapping. | |
Generates a set of new vertices from the old one.
Definition at line 44 of file DoubleVertexRemover.hpp.
| ref< ArrayAbstract > VertexMapper::regenerate | ( | ArrayAbstract * | data, |
| const std::vector< u32 > & | map_new_to_old | ||
| ) | const |
Regenerates a new Array based on the given mapping.
| data | The array to be regenerated |
| map_new_to_old | Specifies the mapping from the old vetices to the new one. The i-th vertex of the new vertex array will use the map_new_to_old[i]-th vertex of the old array, that is, map_new_to_old[i] specifies the old vertex to be used to generate the new i-th vertex. |
Definition at line 129 of file DoubleVertexRemover.cpp.
References NULL.
Referenced by vl::Geometry::regenerateVertices().