PBRT
TriangleMesh Class Reference
Inheritance diagram for TriangleMesh:
Shape ReferenceCounted

List of all members.

Public Member Functions

 TriangleMesh (const Transform *o2w, const Transform *w2o, bool ro, int ntris, int nverts, const int *vptr, const Point *P, const Normal *N, const Vector *S, const float *uv, const Reference< Texture< float > > &atex)
BBox ObjectBound () const
BBox WorldBound () const
bool CanIntersect () const
void Refine (vector< Reference< Shape > > &refined) const

Protected Attributes

int ntris
int nverts
int * vertexIndex
Pointp
Normaln
Vectors
float * uvs
Reference< Texture< float > > alphaTexture

Friends

class Triangle
class VertexTexture

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