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

Public Member Functions | |
| SurfaceList (Surface **surfs, int count) | |
| bool | add (Surface *s) |
| 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 |
Public Attributes | |
| Surface ** | surfaces |
| int | num_surfaces |
| BBox | bbox |
Intersection with a list of surfaces simply tests each object in the list in linear order.
|
||||||||||||||||
|
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