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 &) 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 91 of file volume.h.


Constructor & Destructor Documentation

AggregateVolume::AggregateVolume ( const vector< VolumeRegion * > &  r  ) 

Definition at line 69 of file volume.cpp.

References bound, regions, Union(), and WorldBound().

AggregateVolume::~AggregateVolume (  ) 

Definition at line 130 of file volume.cpp.

References regions.


Member Function Documentation

BBox AggregateVolume::WorldBound (  )  const [virtual]

Implements VolumeRegion.

Definition at line 134 of file volume.cpp.

References bound.

Referenced by AggregateVolume().

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

Implements VolumeRegion.

Definition at line 117 of file volume.cpp.

References INFINITY, and regions.

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

Implements VolumeRegion.

Definition at line 74 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 81 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 87 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 93 of file volume.cpp.

References regions.

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

Reimplemented from VolumeRegion.

Definition at line 105 of file volume.cpp.

References regions.

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

Implements VolumeRegion.

Definition at line 111 of file volume.cpp.

References regions.


Member Data Documentation

Definition at line 106 of file volume.h.

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

Definition at line 107 of file volume.h.

Referenced by AggregateVolume(), and WorldBound().


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

Generated on Mon Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6