MeshTriangleFast Class Reference

#include <MeshTriangle.h>

Inheritance diagram for MeshTriangleFast:

MeshTriangle Intersectable

List of all members.

Public Member Functions

Constructors
 MeshTriangleFast ()
 MeshTriangleFast (unsigned A_, unsigned B_, unsigned C_, unsigned nA_=0, unsigned nB_=0, unsigned nC_=0, unsigned tA_=0, unsigned tB_=0, unsigned tC_=0)
 MeshTriangleFast (const MeshTriangle &copy)
Core functionality
virtual void init ()
 Initializes this Intersectable for fast intersection testing.
virtual real_t getIntersection (const Ray &ray, SurfacePoint &pt)
 Initializes this triangle for intersection tests.


Detailed Description

Definition at line 129 of file MeshTriangle.h.


Constructor & Destructor Documentation

MeshTriangleFast::MeshTriangleFast (  )  [inline]

Definition at line 134 of file MeshTriangle.h.

MeshTriangleFast::MeshTriangleFast ( unsigned  A_,
unsigned  B_,
unsigned  C_,
unsigned  nA_ = 0,
unsigned  nB_ = 0,
unsigned  nC_ = 0,
unsigned  tA_ = 0,
unsigned  tB_ = 0,
unsigned  tC_ = 0 
) [inline]

Definition at line 138 of file MeshTriangle.h.

MeshTriangleFast::MeshTriangleFast ( const MeshTriangle copy  )  [inline]

Definition at line 146 of file MeshTriangle.h.


Member Function Documentation

void MeshTriangleFast::init (  )  [virtual]

Initializes this Intersectable for fast intersection testing.

Note:
default implementation is empty

must be called before getIntersection or intersects

Reimplemented from Intersectable.

Definition at line 202 of file MeshTriangle.cpp.

real_t MeshTriangleFast::getIntersection ( const Ray ray,
SurfacePoint pt 
) [virtual]

Initializes this triangle for intersection tests.

Reimplemented from MeshTriangle.

Definition at line 246 of file MeshTriangle.cpp.


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

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6