#include <volume.h>
Public Member Functions | |
AggregateVolume (const vector< VolumeRegion * > &r) | |
virtual | ~AggregateVolume () |
virtual BBox | WorldBound () const |
virtual bool | IntersectP (const Ray &ray, float *t0, float *t1) const |
virtual RGBColor | sigma_a (const Point &, const Vector &) const |
virtual RGBColor | sigma_s (const Point &, const Vector &) const |
virtual RGBColor | Lve (const Point &, const Vector &) const |
virtual float | P (const Point &, const Vector &, const Vector &) const |
virtual RGBColor | sigma_t (const Point &, const Vector &) const |
virtual RGBColor | Tau (const Ray &ray, float, float) const |
Private Attributes | |
vector< VolumeRegion * > | regions |
BBox | bound |
Definition at line 95 of file volume.h.
lux::AggregateVolume::AggregateVolume | ( | const vector< VolumeRegion * > & | r | ) |
Definition at line 71 of file volume.cpp.
References bound, regions, lux::Union(), and WorldBound().
lux::AggregateVolume::~AggregateVolume | ( | ) | [virtual] |
Definition at line 132 of file volume.cpp.
References regions.
bool lux::AggregateVolume::IntersectP | ( | const Ray & | ray, | |
float * | t0, | |||
float * | t1 | |||
) | const [virtual] |
Implements lux::VolumeRegion.
Definition at line 119 of file volume.cpp.
References cimg_library::cimg::max(), cimg_library::cimg::min(), and regions.
Reimplemented from lux::VolumeRegion.
Definition at line 107 of file volume.cpp.
References regions.
BBox lux::AggregateVolume::WorldBound | ( | ) | const [virtual] |
Implements lux::VolumeRegion.
Definition at line 136 of file volume.cpp.
References bound.
Referenced by AggregateVolume().
BBox lux::AggregateVolume::bound [private] |
Definition at line 111 of file volume.h.
Referenced by AggregateVolume(), and WorldBound().
vector<VolumeRegion *> lux::AggregateVolume::regions [private] |
Definition at line 110 of file volume.h.
Referenced by AggregateVolume(), IntersectP(), Lve(), P(), sigma_a(), sigma_s(), sigma_t(), Tau(), and ~AggregateVolume().