lux::Film Class Reference

#include <film.h>

Inheritance diagram for lux::Film:

lux::FlexImageFilm lux::ImageFilm

List of all members.

Public Member Functions

 Film (int xres, int yres, int haltspp)
virtual ~Film ()
virtual void AddSample (float sX, float sY, const XYZColor &L, float alpha, int buffer=0, int bufferGroup=0)=0
virtual void AddSampleCount (float count, int bufferGroup=0)
virtual void WriteImage (ImageType type)=0
virtual void GetSampleExtent (int *xstart, int *xend, int *ystart, int *yend) const =0
virtual int RequestBuffer (BufferType type, BufferOutputConfig output, const string &filePostfix)
virtual void CreateBuffers ()
virtual unsigned char * getFrameBuffer ()=0
virtual void updateFrameBuffer ()=0
virtual float getldrDisplayInterval ()=0
void SetScene (Scene *scene1)

Public Attributes

int xResolution
int yResolution
float * flux2radiance
int haltSamplePerPixel
bool enoughSamplePerPixel

Protected Attributes

Scenescene
float invSamplePerPass


Detailed Description

Definition at line 91 of file film.h.


Constructor & Destructor Documentation

lux::Film::Film ( int  xres,
int  yres,
int  haltspp 
) [inline]

Definition at line 95 of file film.h.

References invSamplePerPass, xResolution, and yResolution.

virtual lux::Film::~Film (  )  [inline, virtual]

Definition at line 100 of file film.h.


Member Function Documentation

virtual void lux::Film::AddSample ( float  sX,
float  sY,
const XYZColor L,
float  alpha,
int  buffer = 0,
int  bufferGroup = 0 
) [pure virtual]

virtual void lux::Film::AddSampleCount ( float  count,
int  bufferGroup = 0 
) [inline, virtual]

virtual void lux::Film::CreateBuffers (  )  [inline, virtual]

Reimplemented in lux::FlexImageFilm.

Definition at line 112 of file film.h.

Referenced by lux::ParticleTracingIntegrator::Preprocess().

virtual unsigned char* lux::Film::getFrameBuffer (  )  [pure virtual]

Implemented in lux::FlexImageFilm, and lux::ImageFilm.

Referenced by lux::Scene::GetFramebuffer().

virtual float lux::Film::getldrDisplayInterval (  )  [pure virtual]

virtual void lux::Film::GetSampleExtent ( int *  xstart,
int *  xend,
int *  ystart,
int *  yend 
) const [pure virtual]

virtual int lux::Film::RequestBuffer ( BufferType  type,
BufferOutputConfig  output,
const string &  filePostfix 
) [inline, virtual]

Reimplemented in lux::FlexImageFilm.

Definition at line 108 of file film.h.

Referenced by lux::ParticleTracingIntegrator::Preprocess().

void lux::Film::SetScene ( Scene scene1  )  [inline]

Definition at line 118 of file film.h.

References scene.

Referenced by lux::Scene::Render().

virtual void lux::Film::updateFrameBuffer (  )  [pure virtual]

virtual void lux::Film::WriteImage ( ImageType  type  )  [pure virtual]

Implemented in lux::FlexImageFilm.

Referenced by lux::Scene::Render().


Member Data Documentation

Definition at line 124 of file film.h.

float lux::Film::invSamplePerPass [protected]

Definition at line 135 of file film.h.

Referenced by lux::FlexImageFilm::AddSampleCount(), and Film().

Scene* lux::Film::scene [protected]

Definition at line 132 of file film.h.

Referenced by SetScene(), and lux::FlexImageFilm::WriteImage().


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

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