FDH::FDHCache Struct Reference

#include <FDH.h>

Inheritance diagram for FDH::FDHCache:

Cache List of all members.

Public Member Functions

 FDHCache (unsigned dirs)
 FDHCache (const float(*mat)[3], unsigned dirs, const Vector3 &o, const Vector3 &d)
virtual ~FDHCache ()

Public Attributes

float * dval
float * oval

Detailed Description

Cache of dot products of ray origin and direction with the FDH. These products depends only on actual ray but they are FDH-independent. Therefore they can be used to accelerate of FDH-tree traversal. On the other hand, filling the cache makes the first successful ray itersecrion test slower. See the ENV_USE_CACHE option in the PointEnv structure for more details.

Definition at line 33 of file FDH.h.


Constructor & Destructor Documentation

FDHCache unsigned  dirs  )  [inline]
 

Definition at line 37 of file FDH.h.

FDHCache const float *  mat[3],
unsigned  dirs,
const Vector3 o,
const Vector3 d
[inline]
 

Definition at line 42 of file FDH.h.

virtual ~FDHCache  )  [inline, virtual]
 

Definition at line 52 of file FDH.h.


Member Data Documentation

float* dval
 

Definition at line 34 of file FDH.h.

Referenced by FDH::rayIntersection().

float* oval
 

Definition at line 35 of file FDH.h.

Referenced by FDH::rayIntersection().


The documentation for this struct was generated from the following file:
Generated on Wed Jun 28 12:24:34 2006 for esg by  doxygen 1.4.6