#include <accels/UG.h>
Inheritance diagram for UG:

Public Member Functions | |
| UG (Surface **sarray, int count) | |
| bool | hit (Ray &r, HitRecord &rec, Context &context) const |
| bool | shadowHit (Ray &r, Context &context) const |
| BBox | boundingBox (double time0, double time1) const |
| bool | overlapsBox (const BBox &box) const |
The UniformGrid can be setup to use either bricked memory or "flat" memory through the UG_FLAT_SPACE define at the top of UG.cc. Different resolution heuristics can be chosen through the CLEARY_HEURISTIC define at the top of UG.cc as well.
|
||||||||||||||||
|
Intersect given ray with the surface.
Implements Surface. |
|
||||||||||||
|
Intersect without visibility ordering or shading geometry.
Reimplemented from Surface. |
|
||||||||||||
|
Calculate the bounding box of the surface.
Implements Surface. |
|
|
Determine if this surface overlaps the input axis aligned box.
Implements Surface. |
1.4.3