TriangleMesh::Patch Class Reference

A triangle with ray-intersection. More...

Inherits Intersectable.

List of all members.

Public Member Functions

bool intersect (const Ray &ray, float &depth, float rayMin, float rayMax)
 pure virtual function, must be implemented to carry out the intersection test
void sampleSurface (Radion &radion)
 return a random surface point

Public Attributes

Vector flatNormal
 triangle normal
float hyperPlaneShiftOffset
 triangle plane offset
Vector inverseVertexMatrix [3]
 Descartes to barycentric matrix.
unsigned short vertexIndices [3]
 triangle vertex indices

Static Public Attributes

static VectormeshVertices = 0x0
 a temporary reference to the owner TriangleMesh's vertex array
static VectormeshNormals = 0x0
 a temporary reference to the owner TriangleMesh's normal array
static VectormeshTexCoords = 0x0
 a temporary reference to the owner TriangleMesh's texcoord array


Detailed Description

A triangle with ray-intersection.


The documentation for this class was generated from the following files:
Generated on Thu Apr 27 17:17:42 2006 for Path Map Module by  doxygen 1.4.6-NO