#include <volume.h>
Public Member Functions | |
AggregateVolume (const vector< VolumeRegion * > &r) | |
~AggregateVolume () | |
BBox | WorldBound () const |
bool | IntersectP (const Ray &ray, float *t0, float *t1) const |
Spectrum | sigma_a (const Point &, const Vector &, float) const |
Spectrum | sigma_s (const Point &, const Vector &, float) const |
Spectrum | Lve (const Point &, const Vector &, float) const |
float | p (const Point &, const Vector &, const Vector &, float) const |
Spectrum | sigma_t (const Point &, const Vector &, float) const |
Spectrum | tau (const Ray &ray, float, float) const |
Private Attributes | |
vector< VolumeRegion * > | regions |
BBox | bound |
Definition at line 97 of file volume.h.
AggregateVolume::AggregateVolume | ( | const vector< VolumeRegion * > & | r | ) |
Definition at line 167 of file volume.cpp.
References bound, regions, Union(), and WorldBound().
AggregateVolume::~AggregateVolume | ( | ) |
Definition at line 242 of file volume.cpp.
References regions.
bool AggregateVolume::IntersectP | ( | const Ray & | ray, | |
float * | t0, | |||
float * | t1 | |||
) | const [virtual] |
Implements VolumeRegion.
Definition at line 227 of file volume.cpp.
BBox AggregateVolume::WorldBound | ( | ) | const [virtual] |
Implements VolumeRegion.
Definition at line 248 of file volume.cpp.
References bound.
Referenced by AggregateVolume().
BBox AggregateVolume::bound [private] |
Definition at line 113 of file volume.h.
Referenced by AggregateVolume(), and WorldBound().
vector<VolumeRegion *> AggregateVolume::regions [private] |
Definition at line 112 of file volume.h.
Referenced by AggregateVolume(), IntersectP(), Lve(), p(), sigma_a(), sigma_s(), sigma_t(), tau(), and ~AggregateVolume().