Scene Class Reference

#include <scene.h>

List of all members.

Public Member Functions

void Render ()
 Scene (Camera *c, SurfaceIntegrator *in, VolumeIntegrator *vi, Sampler *s, Primitive *accel, const vector< Light * > &lts, VolumeRegion *vr)
 ~Scene ()
bool Intersect (const Ray &ray, Intersection *isect) const
bool IntersectP (const Ray &ray) const
const BBoxWorldBound () const
Spectrum Li (const RayDifferential &ray, const Sample *sample, float *alpha=NULL) const
Spectrum Transmittance (const Ray &ray) const

Public Attributes

Primitiveaggregate
vector< Light * > lights
Cameracamera
VolumeRegionvolumeRegion
SurfaceIntegratorsurfaceIntegrator
VolumeIntegratorvolumeIntegrator
Samplersampler
BBox bound


Detailed Description

Definition at line 31 of file scene.h.


Constructor & Destructor Documentation

Scene::Scene ( Camera c,
SurfaceIntegrator in,
VolumeIntegrator vi,
Sampler s,
Primitive accel,
const vector< Light * > &  lts,
VolumeRegion vr 
)

Scene::~Scene (  ) 

Definition at line 89 of file scene.cpp.

References aggregate, camera, lights, sampler, surfaceIntegrator, volumeIntegrator, and volumeRegion.


Member Function Documentation

void Scene::Render (  ) 

bool Scene::Intersect ( const Ray ray,
Intersection isect 
) const [inline]

bool Scene::IntersectP ( const Ray ray  )  const [inline]

const BBox & Scene::WorldBound (  )  const

Spectrum Scene::Li ( const RayDifferential ray,
const Sample sample,
float *  alpha = NULL 
) const

Spectrum Scene::Transmittance ( const Ray ray  )  const


Member Data Documentation

Definition at line 51 of file scene.h.

Referenced by Scene(), and ~Scene().

vector<Light *> Scene::lights

Definition at line 53 of file scene.h.

Referenced by Render(), Scene(), and ~Scene().

Definition at line 55 of file scene.h.

Referenced by Li(), Render(), Scene(), and ~Scene().

Definition at line 56 of file scene.h.

Referenced by Li(), Render(), Scene(), Transmittance(), and ~Scene().

Definition at line 58 of file scene.h.

Referenced by Scene(), and WorldBound().


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

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