Voxel Struct Reference

#include <grid.h>

List of all members.

Public Member Functions

uint32_t size () const
 Voxel ()
 Voxel (Reference< Primitive > op)
void AddPrimitive (Reference< Primitive > prim)
bool Intersect (const Ray &ray, Intersection *isect, RWMutexLock &lock)
bool IntersectP (const Ray &ray, RWMutexLock &lock)

Private Attributes

vector< Reference< Primitive > > primitives
bool allCanIntersect

Detailed Description

Definition at line 39 of file grid.h.


Constructor & Destructor Documentation

Voxel::Voxel (  )  [inline]

Definition at line 42 of file grid.h.

Voxel::Voxel ( Reference< Primitive op  )  [inline]

Definition at line 43 of file grid.h.

References allCanIntersect, and primitives.


Member Function Documentation

void Voxel::AddPrimitive ( Reference< Primitive prim  )  [inline]

Definition at line 47 of file grid.h.

References primitives.

Referenced by GridAccel::GridAccel().

bool Voxel::Intersect ( const Ray ray,
Intersection isect,
RWMutexLock lock 
)
bool Voxel::IntersectP ( const Ray ray,
RWMutexLock lock 
)
uint32_t Voxel::size (  )  const [inline]

Definition at line 41 of file grid.h.

References primitives.

Referenced by GridAccel::Intersect(), and GridAccel::IntersectP().


Member Data Documentation

bool Voxel::allCanIntersect [private]

Definition at line 54 of file grid.h.

Referenced by Intersect(), IntersectP(), and Voxel().

vector<Reference<Primitive> > Voxel::primitives [private]

Definition at line 53 of file grid.h.

Referenced by AddPrimitive(), Intersect(), IntersectP(), size(), and Voxel().


The documentation for this struct was generated from the following files:
Generated on Sat Aug 28 20:00:15 2010 for pbrt by  doxygen 1.6.3