lux::AggregateVolume Class Reference

#include <volume.h>

Inheritance diagram for lux::AggregateVolume:

lux::VolumeRegion

List of all members.

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 &) const
Spectrum sigma_s (const Point &, const Vector &) const
Spectrum Lve (const Point &, const Vector &) const
float p (const Point &, const Vector &, const Vector &) const
Spectrum sigma_t (const Point &, const Vector &) const
Spectrum Tau (const Ray &ray, float, float) const

Private Attributes

vector< VolumeRegion * > regions
BBox bound


Detailed Description

Definition at line 92 of file volume.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 132 of file volume.cpp.

References regions.


Member Function Documentation

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 INFINITY, cimg_library::cimg::max(), cimg_library::cimg::min(), and regions.

Spectrum lux::AggregateVolume::Lve ( const Point p,
const Vector w 
) const [virtual]

Implements lux::VolumeRegion.

Definition at line 89 of file volume.cpp.

References regions.

float lux::AggregateVolume::p ( const Point p,
const Vector w,
const Vector wp 
) const [virtual]

Implements lux::VolumeRegion.

Definition at line 95 of file volume.cpp.

References regions.

Spectrum lux::AggregateVolume::sigma_a ( const Point p,
const Vector w 
) const [virtual]

Implements lux::VolumeRegion.

Definition at line 76 of file volume.cpp.

References regions.

Spectrum lux::AggregateVolume::sigma_s ( const Point p,
const Vector w 
) const [virtual]

Implements lux::VolumeRegion.

Definition at line 83 of file volume.cpp.

References regions.

Spectrum lux::AggregateVolume::sigma_t ( const Point p,
const Vector w 
) const [virtual]

Reimplemented from lux::VolumeRegion.

Definition at line 107 of file volume.cpp.

References regions.

Spectrum lux::AggregateVolume::Tau ( const Ray ray,
float  step,
float  offset 
) const [virtual]

Implements lux::VolumeRegion.

Definition at line 113 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().


Member Data Documentation

Definition at line 108 of file volume.h.

Referenced by AggregateVolume(), and WorldBound().

Definition at line 107 of file volume.h.

Referenced by AggregateVolume(), IntersectP(), Lve(), p(), sigma_a(), sigma_s(), sigma_t(), Tau(), and ~AggregateVolume().


The documentation for this class was generated from the following files:

Generated on Tue Nov 10 01:36:40 2009 for lux by  doxygen 1.5.9