lux::RenderThread Class Reference

#include <scene.h>

List of all members.

Public Member Functions

 RenderThread (int _n, int _signal, SurfaceIntegrator *_Si, VolumeIntegrator *_Vi, Sampler *_Splr, Camera *_Cam, Scene *_Scn)
 ~RenderThread ()

Static Public Member Functions

static void render (RenderThread *r)

Public Attributes

int n
int signal
double stat_Samples
double stat_blackSamples
SurfaceIntegratorsurfaceIntegrator
VolumeIntegratorvolumeIntegrator
Samplesample
Samplersampler
Cameracamera
Scenescene
boost::thread * thread

Static Public Attributes

static const int SIG_RUN = 1
static const int SIG_PAUSE = 2
static const int SIG_EXIT = 3


Detailed Description

Definition at line 37 of file scene.h.


Constructor & Destructor Documentation

lux::RenderThread::RenderThread ( int  _n,
int  _signal,
SurfaceIntegrator _Si,
VolumeIntegrator _Vi,
Sampler _Splr,
Camera _Cam,
Scene _Scn 
) [inline]

Definition at line 39 of file scene.h.

References sample, scene, stat_blackSamples, stat_Samples, surfaceIntegrator, and volumeIntegrator.

lux::RenderThread::~RenderThread (  )  [inline]

Definition at line 48 of file scene.h.

References sample, and thread.


Member Function Documentation

void RenderThread::render ( RenderThread r  )  [static]


Member Data Documentation

Definition at line 61 of file scene.h.

Referenced by render().

Definition at line 55 of file scene.h.

Referenced by render().

Definition at line 59 of file scene.h.

Referenced by render(), RenderThread(), and ~RenderThread().

Definition at line 60 of file scene.h.

Referenced by render().

Definition at line 62 of file scene.h.

Referenced by render(), and RenderThread().

const int lux::RenderThread::SIG_EXIT = 3 [static]

Definition at line 65 of file scene.h.

Referenced by lux::Scene::Exit(), lux::Scene::RemoveRenderThread(), and render().

const int lux::RenderThread::SIG_PAUSE = 2 [static]

Definition at line 65 of file scene.h.

Referenced by lux::Scene::Pause(), and render().

const int lux::RenderThread::SIG_RUN = 1 [static]

Definition at line 65 of file scene.h.

Referenced by lux::Scene::Render(), and lux::Scene::Start().

Definition at line 55 of file scene.h.

Referenced by render().

Definition at line 56 of file scene.h.

Referenced by render(), and RenderThread().

Definition at line 56 of file scene.h.

Referenced by render(), and RenderThread().

Definition at line 57 of file scene.h.

Referenced by render(), and RenderThread().

boost::thread* lux::RenderThread::thread

Definition at line 63 of file scene.h.

Referenced by lux::Scene::CreateRenderThread(), render(), and ~RenderThread().

Definition at line 58 of file scene.h.

Referenced by RenderThread().


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

Generated on Mon May 18 07:14:54 2009 for lux by  doxygen 1.5.7.1