AggregateVolume Class Reference

#include <volume.h>

Inheritance diagram for AggregateVolume:
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 &, 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

Detailed Description

Definition at line 97 of file volume.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool AggregateVolume::IntersectP ( const Ray ray,
float *  t0,
float *  t1 
) const [virtual]

Implements VolumeRegion.

Definition at line 227 of file volume.cpp.

References INFINITY, and regions.

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

Implements VolumeRegion.

Definition at line 191 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 199 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 174 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 183 of file volume.cpp.

References regions.

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

Reimplemented from VolumeRegion.

Definition at line 211 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 219 of file volume.cpp.

References regions.

BBox AggregateVolume::WorldBound (  )  const [virtual]

Implements VolumeRegion.

Definition at line 248 of file volume.cpp.

References bound.

Referenced by AggregateVolume().


Member Data Documentation

Definition at line 113 of file volume.h.

Referenced by AggregateVolume(), and WorldBound().

Definition at line 112 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 Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3