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

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| ref< ArrayAbstract > | regenerate (ArrayAbstract *data, const std::vector< size_t > &map_new_to_old) const |
| Regenerates a new Array based on the given mapping. | |
| virtual const char* vl::VertexMapper::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
Reimplemented in vl::DoubleVertexRemover.
| ref< ArrayAbstract > VertexMapper::regenerate | ( | ArrayAbstract * | data, | |
| const std::vector< size_t > & | 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.