lux::ReinhardOp Class Reference

#include <reinhard.h>

Inheritance diagram for lux::ReinhardOp:
[legend]
Collaboration diagram for lux::ReinhardOp:
[legend]

List of all members.

Public Member Functions

 ReinhardOp (float prS, float poS, float b)
virtual ~ReinhardOp ()
virtual void Map (vector< XYZColor > &xyz, int xRes, int yRes, float maxDisplayY) const

Static Public Member Functions

static ToneMapCreateToneMap (const ParamSet &ps)

Private Attributes

float pre_scale
float post_scale
float burn

Detailed Description

Definition at line 30 of file reinhard.h.


Constructor & Destructor Documentation

ReinhardOp::ReinhardOp ( float  prS,
float  poS,
float  b 
)

Definition at line 37 of file reinhard.cpp.

References burn, post_scale, and pre_scale.

Referenced by CreateToneMap().

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

Definition at line 33 of file reinhard.h.


Member Function Documentation

ToneMap * ReinhardOp::CreateToneMap ( const ParamSet ps  )  [static]

Definition at line 67 of file reinhard.cpp.

References burn, lux::ParamSet::FindOneFloat(), post_scale, pre_scale, and ReinhardOp().

void ReinhardOp::Map ( vector< XYZColor > &  xyz,
int  xRes,
int  yRes,
float  maxDisplayY 
) const [virtual]

Implements lux::ToneMap.

Definition at line 44 of file reinhard.cpp.

References burn, post_scale, and pre_scale.


Member Data Documentation

float lux::ReinhardOp::burn [private]

Definition at line 40 of file reinhard.h.

Referenced by CreateToneMap(), Map(), and ReinhardOp().

float lux::ReinhardOp::post_scale [private]

Definition at line 39 of file reinhard.h.

Referenced by CreateToneMap(), Map(), and ReinhardOp().

float lux::ReinhardOp::pre_scale [private]

Definition at line 38 of file reinhard.h.

Referenced by CreateToneMap(), Map(), and ReinhardOp().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208