#include <Mesh.h>
Inherits Object.
Inheritance diagram for Mesh:


Public Types | |
| typedef vector< Vertex3 > | VertexList |
| typedef vector< Vertex3 > | NormalList |
| typedef vector< uint16 > | FaceList |
| typedef vector< uint32 > | FaceIndexList |
Public Methods | |
| Mesh () | |
| ~Mesh () | |
| int | nFaces () |
| int | nVertices () |
| int | nStrips () |
| VertexList & | vertexArray () |
| FaceList & | faceArray () |
| NormalList & | normalArray () |
| RefMaterial & | getMaterial () |
| void | setMaterial (const RefMaterial &m) |
| void | setMaterial (Material *m) |
| bool | hasTriStrips () |
| void | generateVertexNormals (bool gen) |
| void | clear () |
| void | invertFace (unsigned int i) |
| void | startStrips () |
| void | endStrip () |
| void | deStripe () |
| void | calculate () |
| void | calculateFaces () |
| void | transform (Matrix4 &M) |
| void | renderSimple (RenderContext &rc, bool pushTriNames) |
| void | render (RenderContext &rc, RenderContext::Visibility visibility=RenderContext::PartlyVisible) |
| float | collide (const CollisionHull &hull, Vertex3 &nearestIntersection) |
| real | intersect (const Ray &ray) const |
| void | read (WDFFile &f) |
| void | write (WDFFile &f) |
| void | readChunk (WDFFile::Chunk &chunk, WDFFile &f) |
|
|
Reimplemented from Object. |