class csTriangleVertex The representation of a vertex in a triangle mesh
| | con_triangles Triangles that this vertex is connected to. |
| | con_vertices Other vertices that this vertex is connected to. |
| | cost Precalculated minimal cost of collapsing this vertex to some other. |
| | deleted True if already deleted. |
| | idx Index of this vertex. |
| | num_con_triangles Number of triangles. |
| | num_con_vertices Number of vertices. |
| | pos Position of this vertex in 3D space. |
| | to_vertex Vertex to collapse to with minimal cost. |
| | AddTriangle (int idx) |
| | AddVertex (int idx) |
| | CalculateCost (csTriangleVertices* vertices) Calculate the minimal cost of collapsing this vertex to some other |
| | csTriangleVertex () |
| | DelVertex (int idx) |
| | ReplaceVertex (int old, int replace) |
| | ~csTriangleVertex () |
The representation of a vertex in a triangle mesh. This is basicly used as a temporary structure to be able to calculate the cost of collapsing this vertex more quickly.
int idx
bool deleted
int* con_triangles
int num_con_triangles
int* con_vertices
int num_con_vertices
float cost
int to_vertex
csTriangleVertex()
~csTriangleVertex()
void AddTriangle(int idx)
void AddVertex(int idx)
bool DelVertex(int idx)
void ReplaceVertex(int old, int replace)
void CalculateCost(csTriangleVertices* vertices)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de