In file include/csengine/triangle.h:

class csTriangleVertices

A class which holds vertices and connectivity information for a triangle mesh

Public Methods

void CalculateCost ()
Calculate the cost of all vertices.
csTriangleVertices (csTriangleMesh* mesh, csVector3* verts, int num_verts)
Build vertex table for a triangle mesh.
void Dump ()
Dump connectivity information@@@ TEMPORARY
int GetMinimalCostVertex ()
Return the vertex id with minimal cost.
int GetNumVertices ()
csTriangleVertex& GetVertex (int idx)
~csTriangleVertices ()

Documentation

A class which holds vertices and connectivity information for a triangle mesh. This is a general vertices structure but it is mostly useful for LOD generation since every vertex contains information which helps selecting the best vertices for collapsing.
csTriangleVertices(csTriangleMesh* mesh, csVector3* verts, int num_verts)
Build vertex table for a triangle mesh.

~csTriangleVertices()

int GetNumVertices()

csTriangleVertex& GetVertex(int idx)

void CalculateCost()
Calculate the cost of all vertices.

int GetMinimalCostVertex()
Return the vertex id with minimal cost.

void Dump()
Dump connectivity information@@@ TEMPORARY


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de