#include <reinhard.h>
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 ToneMap * | CreateToneMap (const ParamSet &ps) |
Private Attributes | |
float | pre_scale |
float | post_scale |
float | burn |
Definition at line 30 of file reinhard.h.
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.
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.
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().