IccMAX 2.1.27
Color Profile Tools
|
#include <IccMpeBasic.h>
Static Public Member Functions | |
static CIccCurveSetCurve * | Create (icCurveElemSignature sig) |
Protected Member Functions | |
icUInt16Number | GetStorageType () |
bool | SetStorageType (icUInt16Number nStorateType) |
Class: CIccSampledCalculatorCurve
Purpose: The sampled calculator curve class
CIccSampledCalculatorCurve::CIccSampledCalculatorCurve | ( | icFloatNumber | first = 0.0 , |
icFloatNumber | last = 1.0 |
||
) |
Name: CIccSampledCalculatorCurve::CIccSampledCalculatorCurve
Purpose:
Args:
Return:
References icClipSingleSampledCurve, m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nReserved, m_nReserved2, m_pCalc, and m_pSamples.
Referenced by CIccSampledCalculatorCurveXml::CIccSampledCalculatorCurveXml(), and CIccCurveSetCurve::Create().
CIccSampledCalculatorCurve::CIccSampledCalculatorCurve | ( | const CIccSampledCalculatorCurve & | curve | ) |
Name: CIccSampledCalculatorCurve::CIccSampledCalculatorCurve
Purpose:
Args:
Return:
References m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nDesiredSize, m_nReserved, m_nReserved2, m_pCalc, m_pSamples, and CIccMpeCalculator::NewCopy().
Referenced by NewCopy().
|
virtual |
Name: CIccSampledCalculatorCurve::~CIccSampledCalculatorCurve
Purpose:
Args:
Return:
References m_pCalc, and m_pSamples.
|
virtual |
Name: CIccSampledCalculatorCurve::Apply
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References m_firstEntry, m_hiIntercept, m_hiSlope, m_last, m_lastEntry, m_loIntercept, m_loSlope, m_pSamples, and m_range.
|
virtual |
Name: CIccSampledCalculatorCurve::Begin
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccMpeCalculator::Apply(), CIccMpeCalculator::Begin(), CIccMpeCalculator::GetNewApply(), icClipSingleSampledCurve, icExtendSingleSampledCurve, m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_last, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nDesiredSize, m_pCalc, m_pSamples, m_range, and SetSize().
|
staticinherited |
Name: CIccCurveSetCurve::Create
Purpose:
Args:
Return:
References CIccSampledCalculatorCurve(), CIccSegmentedCurve::CIccSegmentedCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), icSigSampledCalculatorCurve, icSigSegmentedCurve, and icSigSingleSampledCurve.
Referenced by CIccMpeCurveSet::Read(), and CIccMpeToneMap::Read().
|
virtual |
Name: CIccSampledCalculatorCurve::Describe
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccMpeCalculator::Describe(), icClipSingleSampledCurve, icExtendSingleSampledCurve, m_extensionType, m_firstEntry, m_lastEntry, m_nDesiredSize, and m_pCalc.
|
inlinevirtual |
Implements CIccCurveSetCurve.
|
inline |
References m_extensionType.
|
inlinevirtual |
References m_nDesiredSize.
|
inlinevirtual |
|
inlineprotected |
|
inlinevirtual |
Implements CIccCurveSetCurve.
References icSigSampledCalculatorCurve.
Referenced by Read(), and Write().
|
inlinevirtual |
Implements CIccCurveSetCurve.
References CIccSampledCalculatorCurve().
CIccSampledCalculatorCurve & CIccSampledCalculatorCurve::operator= | ( | const CIccSampledCalculatorCurve & | curve | ) |
Name: &CIccSampledCalculatorCurve::operator=
Purpose:
Args:
Return:
References m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nDesiredSize, m_nReserved, m_nReserved2, m_pCalc, m_pSamples, and CIccMpeCalculator::NewCopy().
|
virtual |
Name: CIccSampledCalculatorCurve::Read
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccMultiProcessElement::Create(), GetType(), icSigCalculatorElemType, m_extensionType, m_firstEntry, m_lastEntry, m_nDesiredSize, m_nReserved, m_nReserved2, m_pCalc, CIccMpeCalculator::Read(), CIccIO::Read16(), CIccIO::Read32(), CIccIO::ReadFloat32Float(), and SetCalculator().
bool CIccSampledCalculatorCurve::SetCalculator | ( | CIccMpeCalculator * | pCalc | ) |
Name: CIccSampledCalculatorCurve::SetCalculator Purpose: Sets calculator associated with the curve
Args: nSize = desired number of elements in lut (must be >= 2).
Return: true if calculator element is valid for curve, false otherwise
References m_pCalc.
Referenced by Read().
bool CIccSampledCalculatorCurve::SetExtensionType | ( | icUInt16Number | nExtensionType | ) |
Name: CIccSampledCalculatorCurve::SetExtensionType
Purpose: Sets extension type of the single sampled curve
Args: nExtensionType is type of extension to use
Return: true if valid extension type, false otherwise
References icClipSingleSampledCurve, icExtendSingleSampledCurve, and m_extensionType.
void CIccSampledCalculatorCurve::SetRange | ( | icFloatNumber | first = 0.0f , |
icFloatNumber | last = 1.0f |
||
) |
Name: CIccSampledCalculatorCurve::SetRange
Purpose: Sets range of sampled lookup table.
Args: first = first entry input position last = last entry input position
References m_firstEntry, and m_lastEntry.
|
virtual |
Name: CIccSampledCalculatorCurve::SetRecommendedSize
Purpose: Sets size of sampled lookup table. Previous data (if exists) is lost.
Args: nSize = desired number of elements in lut (must be >= 2).
Return: true if amount is valid.
References m_nDesiredSize.
|
virtual |
Name: CIccSampledCalculatorCurve::SetSize
Purpose: Sets size of sampled lookup table. Previous data (if exists) is lost.
Args: nCount = number of elements in lut (must be >= 2). bZeroAlloc = flag to decide if memory should be set to zero.
Return: true if allocation successful.
References m_nCount, and m_pSamples.
Referenced by Begin().
|
inlineprotected |
|
virtual |
Name: CIccSampledCalculatorCurve::Validate
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, m_extensionType, m_firstEntry, m_lastEntry, m_nDesiredSize, m_nReserved, m_nReserved2, m_pCalc, CIccMpeCalculator::Validate(), and icHeader::version.
|
virtual |
Name: CIccSampledCalculatorCurve::Write
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References GetType(), m_extensionType, m_firstEntry, m_lastEntry, m_nDesiredSize, m_nReserved, m_nReserved2, m_pCalc, CIccMpeCalculator::Write(), CIccIO::Write16(), CIccIO::Write32(), and CIccIO::WriteFloat32Float().
|
protected |
|
protected |
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), Apply(), Begin(), and operator=().
|
protected |
|
protected |
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), Begin(), GetSize(), operator=(), and SetSize().
|
protected |
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), operator=(), Read(), Validate(), and Write().
|
protected |
|
protected |
|
protected |
Referenced by CIccSampledCalculatorCurve(), CIccSampledCalculatorCurve(), ~CIccSampledCalculatorCurve(), Apply(), Begin(), operator=(), and SetSize().
|
protected |
|
protected |