MarSTDv2004: CCompiledMesh Class Reference

MarSTDv2004

CCompiledMesh Class Reference

Inheritance diagram for CCompiledMesh:

Inheritance graph
[legend]
Collaboration diagram for CCompiledMesh:

Collaboration graph
[legend]
List of all members.

Detailed Description

The compiled mesh class holds all vertex, texCoord, edge and polygon information produced by the geometry compiler. Polygons, vertices and edges index into the vertex, texCoord and edge arrays. Without the CCompiledMesh class the other compiled types are useless.
See also:
CGeomCompiler

Definition at line 115 of file CGeomCompiler.h.

Public Member Functions

void clear ()
void init ()
 Initialize the mesh after all polygon / edge / vertex data has been created. This will calculate polygon & vertex normals, etc, etc.

Public Attributes

std::vector< CCompiledVertexvertex
 Vertices that make up the mesh's geometry.
std::vector< CCompiledTexcoordtexcoord
 Texture coordinates used by the mesh's geometry.
std::vector< CCompiledEdgeedge
 Edges used by the mesh's polygons.
std::vector< CCompiledPolygonpolygon
 Polygons that constitute the mesh.
CCompiledMeshbase
 Mesh where shared data is stored.
std::vector< int > polygonIndex
 Index into polygon array of shared data mesh.

The documentation for this class was generated from the following file:
Generated on Tue Feb 8 21:59:34 2005 for MarSTDv2004 by  doxygen 1.4.1