Powertek.OpenGl.PtCoreMesh Class Reference

PtCoreMesh, index based mesh. More...

Collaboration diagram for Powertek.OpenGl.PtCoreMesh:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtCoreMesh ()
void Clear ()
void GenerateNormals (bool enableNormalSmoothing)
void ScaleData (float scaleFactor)

Public Attributes

PtMeshVertex[] VertexList = null
PtMeshFace[] FaceList = null
PtMeshUVVertex[] UvList = null
PtMeshUVFace[] UvFaceList = null
Vertex3f[] FaceNormals = null
Vertex3f[] Normals = null
Vertex3f MinVertex
Vertex3f MaxVertex
String Name = ""
int MatId = 0


Detailed Description


Constructor & Destructor Documentation

Powertek.OpenGl.PtCoreMesh.PtCoreMesh (  ) 


Member Function Documentation

void Powertek.OpenGl.PtCoreMesh.Clear (  ) 

Clear Mesh.

void Powertek.OpenGl.PtCoreMesh.GenerateNormals ( bool  enableNormalSmoothing  ) 

GenerateNormals.

Parameters:
enableNormalSmoothing 

Here is the call graph for this function:

void Powertek.OpenGl.PtCoreMesh.ScaleData ( float  scaleFactor  ) 

Scale the mesh, this works on the vertex/face index Array (uses Min/MaxVertex !) so do this before calling genDrawData.

Parameters:
scaleFactor 


Member Data Documentation

FaceList.

FaceNormals.

Mat ID.

MaxVertex.

MinVertex.

Mesh Name.

Normals.

UvFaceList.

UvList.

VertexList.


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

Generated on Thu Nov 20 04:46:33 2008 for Powertek.OpenGl, 2.0.6.64 by  doxygen 1.5.7.1