GpuThesis::BlackbodyRadiationTable Class Reference

#include <BlackbodyRadiationTable.h>

List of all members.

Public Member Functions

 BlackbodyRadiationTable (unsigned int dimension, double minTemp, double maxTemp, double exposureLevel)
const std::vector< float > & getColorPixels () const


Detailed Description

Generates a black-body radiation table using Planck's formula.


Constructor & Destructor Documentation

GpuThesis::BlackbodyRadiationTable::BlackbodyRadiationTable unsigned int  dimension,
double  minTemp,
double  maxTemp,
double  exposureLevel
 

Construct a black-body radiation table.

Parameters:
dimension the discrete dimension of the black-body radiation table.
minTemp the minimum temperature of the black-body.
maxTemp the maximum temperature of the black-body.
exposureLevel the exposure used to map the intensities onto a limited dynamic range.


Member Function Documentation

const std::vector< float > & GpuThesis::BlackbodyRadiationTable::getColorPixels  )  const
 

Returns the color values of the resulting black-body radiation table. The pixels are stored in the following way: (red, green, blue) * dimension, from low to high temperatures. The color values are in the range 0-1.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:50 2006 for GPU Thesis by  doxygen 1.4.6-NO