IccMAX 2.1.27
Color Profile Tools
|
#include <IccMpeBasic.h>
Public Member Functions | |
CIccToneMapFunc () | |
virtual | ~CIccToneMapFunc () |
icFloatNumber | Apply (icFloatNumber lumValue, icFloatNumber pixelValue) const |
bool | Begin () |
void | Describe (std::string &sDescription, int nVerboseness=0) |
virtual const char * | GetClassName () const |
virtual icToneFunctionSignature | GetType () const |
virtual CIccToneMapFunc * | NewCopy () const |
CIccToneMapFunc & | operator= (const CIccToneMapFunc &toneMap) |
bool | Read (icUInt32Number size, CIccIO *pIO) |
bool | SetFunction (icUInt16Number nFunc, icUInt8Number, icFloatNumber *pParams) |
icValidateStatus | Validate (std::string &sFuncReport, int nVerboseness=0) const |
bool | Write (CIccIO *pIO) |
Protected Member Functions | |
int | NumArgs () const |
Protected Attributes | |
icUInt16Number | m_nFunctionType |
icUInt8Number | m_nParameters |
icUInt32Number | m_nReserved |
icUInt16Number | m_nReserved2 |
icFloatNumber * | m_params |
Class: CIccToneMapFunc
Purpose: The parametric function to apply a tone map based on mapped luminance and channel value
CIccToneMapFunc::CIccToneMapFunc | ( | ) |
References m_nFunctionType, m_nParameters, m_nReserved, m_nReserved2, and m_params.
Referenced by NewCopy(), and CIccMpeToneMap::NewToneMapFunc().
|
virtual |
icFloatNumber CIccToneMapFunc::Apply | ( | icFloatNumber | lumValue, |
icFloatNumber | pixelValue | ||
) | const |
References m_nFunctionType, and m_params.
Referenced by CIccMpeToneMap::Apply().
bool CIccToneMapFunc::Begin | ( | ) |
References m_nFunctionType, m_nParameters, m_params, and NumArgs().
Referenced by CIccMpeToneMap::Begin().
void CIccToneMapFunc::Describe | ( | std::string & | sDescription, |
int | nVerboseness = 0 |
||
) |
References m_nFunctionType, m_nParameters, and m_params.
Referenced by CIccMpeToneMap::Describe().
|
inlinevirtual |
Reimplemented in CIccXmlToneMapFunc.
Referenced by CIccMpeXmlToneMap::ToXml().
|
inlinevirtual |
|
virtual |
References CIccToneMapFunc(), and operator=().
Referenced by CIccMpeToneMap::CopyToneFuncs().
|
protected |
References m_nFunctionType.
Referenced by Begin(), SetFunction(), and Write().
CIccToneMapFunc & CIccToneMapFunc::operator= | ( | const CIccToneMapFunc & | toneMap | ) |
References m_nFunctionType, m_nParameters, m_nReserved, m_nReserved2, and m_params.
Referenced by CIccXmlToneMapFunc::NewCopy(), and NewCopy().
bool CIccToneMapFunc::Read | ( | icUInt32Number | size, |
CIccIO * | pIO | ||
) |
References icSigToneMapFunction, m_nFunctionType, m_nParameters, m_nReserved, m_nReserved2, m_params, CIccIO::Read16(), CIccIO::Read32(), and CIccIO::ReadFloat32Float().
Referenced by CIccMpeToneMap::Read().
bool CIccToneMapFunc::SetFunction | ( | icUInt16Number | nFunc, |
icUInt8Number | nParams, | ||
icFloatNumber * | pParams | ||
) |
References icIntMin(), m_nFunctionType, m_nParameters, m_params, and NumArgs().
icValidateStatus CIccToneMapFunc::Validate | ( | std::string & | sFuncReport, |
int | nVerboseness = 0 |
||
) | const |
References icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, m_nFunctionType, m_nParameters, m_nReserved, m_nReserved2, and m_params.
Referenced by CIccMpeToneMap::Validate().
bool CIccToneMapFunc::Write | ( | CIccIO * | pIO | ) |
References GetType(), m_nFunctionType, m_nParameters, m_nReserved, m_nReserved2, m_params, NumArgs(), CIccIO::Write16(), CIccIO::Write32(), and CIccIO::WriteFloat32Float().
Referenced by CIccMpeToneMap::Write().
|
protected |
Referenced by CIccToneMapFunc(), Apply(), Begin(), Describe(), NumArgs(), operator=(), CIccXmlToneMapFunc::ParseXml(), Read(), SetFunction(), CIccXmlToneMapFunc::ToXml(), Validate(), and Write().
|
protected |
Referenced by CIccToneMapFunc(), Begin(), Describe(), operator=(), CIccXmlToneMapFunc::ParseXml(), Read(), SetFunction(), CIccXmlToneMapFunc::ToXml(), Validate(), and Write().
|
protected |
Referenced by CIccToneMapFunc(), operator=(), Read(), CIccXmlToneMapFunc::ToXml(), Validate(), and Write().
|
protected |
Referenced by CIccToneMapFunc(), operator=(), CIccXmlToneMapFunc::ParseXml(), Read(), CIccXmlToneMapFunc::ToXml(), Validate(), and Write().
|
protected |
Referenced by CIccToneMapFunc(), ~CIccToneMapFunc(), Apply(), Begin(), Describe(), operator=(), CIccXmlToneMapFunc::ParseXml(), Read(), SetFunction(), CIccXmlToneMapFunc::ToXml(), Validate(), and Write().