Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::VertexMapper Class Reference

Generates a set of new vertices from the old one. More...

#include <DoubleVertexRemover.hpp>

Inheritance diagram for vl::VertexMapper:
vl::Object vl::DoubleVertexRemover

List of all members.

Public Member Functions

ref< ArrayAbstractregenerate (ArrayAbstract *data, const std::vector< u32 > &map_new_to_old) const
 Regenerates a new Array based on the given mapping.

Detailed Description

Generates a set of new vertices from the old one.

Definition at line 44 of file DoubleVertexRemover.hpp.


Member Function Documentation

ref< ArrayAbstract > VertexMapper::regenerate ( ArrayAbstract data,
const std::vector< u32 > &  map_new_to_old 
) const

Regenerates a new Array based on the given mapping.

Parameters:
dataThe array to be regenerated
map_new_to_oldSpecifies 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().


The documentation for this class was generated from the following files:

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:09.
Permission is granted to use this page to write and publish articles regarding Visualization Library.