lux::ImageFilm Class Reference

#include <image.h>

Inheritance diagram for lux::ImageFilm:

lux::Film

List of all members.

Classes

struct  Pixel

Public Member Functions

 ImageFilm (int xres, int yres, Filter *filt, const float crop[4], const string &filename, bool premult, int wf, int wfs)
 ~ImageFilm ()
void AddSample (float sX, float sY, const Spectrum &L, float alpha)
void GetSampleExtent (int *xstart, int *xend, int *ystart, int *yend) const
void WriteImage ()
void WriteImage (int oType)
unsigned char * getFrameBuffer ()
void updateFrameBuffer ()
float getldrDisplayInterval ()

Static Public Member Functions

static FilmCreateFilm (const ParamSet &params, Filter *filter)

Private Attributes

Filterfilter
int writeFrequency
int writeFrequencySeconds
int sampleCount
string filename
bool premultiplyAlpha
float cropWindow [4]
int xPixelStart
int yPixelStart
int xPixelCount
int yPixelCount
BlockedArray< Pixel > * pixels
float * filterTable
boost::timer Timer


Detailed Description

Definition at line 36 of file image.h.


Constructor & Destructor Documentation

ImageFilm::ImageFilm ( int  xres,
int  yres,
Filter filt,
const float  crop[4],
const string &  filename,
bool  premult,
int  wf,
int  wfs 
)

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

Definition at line 43 of file image.h.

References filter, filterTable, and pixels.


Member Function Documentation

void ImageFilm::AddSample ( float  sX,
float  sY,
const Spectrum L,
float  alpha 
)

Film * ImageFilm::CreateFilm ( const ParamSet params,
Filter filter 
) [static]

unsigned char* lux::ImageFilm::getFrameBuffer (  )  [inline, virtual]

Implements lux::Film.

Definition at line 55 of file image.h.

float lux::ImageFilm::getldrDisplayInterval (  )  [inline, virtual]

Implements lux::Film.

Definition at line 57 of file image.h.

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

void lux::ImageFilm::updateFrameBuffer (  )  [inline, virtual]

Implements lux::Film.

Definition at line 56 of file image.h.

void lux::ImageFilm::WriteImage ( int  oType  )  [inline]

Definition at line 53 of file image.h.

void ImageFilm::WriteImage (  ) 


Member Data Documentation

float lux::ImageFilm::cropWindow[4] [private]

Definition at line 66 of file image.h.

Referenced by ImageFilm().

string lux::ImageFilm::filename [private]

Definition at line 64 of file image.h.

Referenced by CreateFilm(), ImageFilm(), and WriteImage().

Definition at line 62 of file image.h.

Referenced by AddSample(), GetSampleExtent(), ImageFilm(), and ~ImageFilm().

float* lux::ImageFilm::filterTable [private]

Definition at line 77 of file image.h.

Referenced by AddSample(), ImageFilm(), and ~ImageFilm().

Definition at line 76 of file image.h.

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

Definition at line 65 of file image.h.

Referenced by CreateFilm(), ImageFilm(), and WriteImage().

Definition at line 63 of file image.h.

Referenced by AddSample(), and ImageFilm().

boost::timer lux::ImageFilm::Timer [private]

Definition at line 78 of file image.h.

Definition at line 63 of file image.h.

Referenced by AddSample(), CreateFilm(), and ImageFilm().

Definition at line 63 of file image.h.

Referenced by AddSample(), CreateFilm(), and ImageFilm().

Definition at line 67 of file image.h.

Referenced by AddSample(), GetSampleExtent(), ImageFilm(), and WriteImage().

Definition at line 67 of file image.h.

Referenced by AddSample(), GetSampleExtent(), ImageFilm(), and WriteImage().

Definition at line 67 of file image.h.

Referenced by AddSample(), GetSampleExtent(), ImageFilm(), and WriteImage().

Definition at line 67 of file image.h.

Referenced by AddSample(), GetSampleExtent(), ImageFilm(), and WriteImage().


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

Generated on Mon May 18 07:16:19 2009 for lux by  doxygen 1.5.8