IccMAX 2.1.27
Color Profile Tools
|
#include <IccMpeBasic.h>
Static Public Member Functions | |
static CIccCurveSetCurve * | Create (icCurveElemSignature sig) |
Class: CIccSingleSampledCurve
Purpose: The single sampled curve class
CIccSingleSampledCurve::CIccSingleSampledCurve | ( | icFloatNumber | first = 0.0 , |
icFloatNumber | last = 1.0 |
||
) |
Name: CIccSingleSampledCurve::CIccSingleSampledCurve
Purpose:
Args:
Return:
References icClipSingleSampledCurve, icValueTypeFloat32, m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_last, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nReserved, m_pSamples, m_range, and m_storageType.
Referenced by CIccSinglSampledeCurveXml::CIccSinglSampledeCurveXml(), CDevLinkWriter::begin(), CIccCurveSetCurve::Create(), and main().
CIccSingleSampledCurve::CIccSingleSampledCurve | ( | const CIccSingleSampledCurve & | curve | ) |
Name: CIccSingleSampledCurve::CIccSingleSampledCurve
Purpose:
Args:
Return:
References m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nReserved, m_pSamples, m_range, and m_storageType.
Referenced by NewCopy().
|
virtual |
|
virtual |
Name: CIccSingleSampledCurve::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: CIccSingleSampledCurve::Begin
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References icClipSingleSampledCurve, icExtendSingleSampledCurve, m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_last, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_pSamples, and m_range.
|
staticinherited |
Name: CIccCurveSetCurve::Create
Purpose:
Args:
Return:
References CIccSampledCalculatorCurve::CIccSampledCalculatorCurve(), CIccSegmentedCurve::CIccSegmentedCurve(), CIccSingleSampledCurve(), icSigSampledCalculatorCurve, icSigSegmentedCurve, and icSigSingleSampledCurve.
Referenced by CIccMpeCurveSet::Read(), and CIccMpeToneMap::Read().
|
virtual |
Name: CIccSingleSampledCurve::Describe
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References icClipSingleSampledCurve, icExtendSingleSampledCurve, icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, m_extensionType, m_firstEntry, m_lastEntry, m_nCount, m_pSamples, and m_storageType.
|
inlinevirtual |
Implements CIccCurveSetCurve.
|
inline |
References m_extensionType.
|
inlinevirtual |
References m_pSamples.
Referenced by CDevLinkWriter::begin(), and main().
|
inlinevirtual |
|
inline |
References m_storageType.
|
inlinevirtual |
Implements CIccCurveSetCurve.
References icSigSingleSampledCurve.
Referenced by Read(), and Write().
|
inlinevirtual |
Implements CIccCurveSetCurve.
References CIccSingleSampledCurve().
CIccSingleSampledCurve & CIccSingleSampledCurve::operator= | ( | const CIccSingleSampledCurve & | curve | ) |
Name: &CIccSingleSampledCurve::operator=
Purpose:
Args:
Return:
References m_extensionType, m_firstEntry, m_hiIntercept, m_hiSlope, m_lastEntry, m_loIntercept, m_loSlope, m_nCount, m_nReserved, m_pSamples, and m_storageType.
|
virtual |
Name: CIccSingleSampledCurve::Read
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References GetType(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, m_extensionType, m_firstEntry, m_lastEntry, m_nCount, m_nReserved, m_pSamples, m_storageType, CIccIO::Read16(), CIccIO::Read32(), CIccIO::ReadFloat16Float(), CIccIO::ReadFloat32Float(), CIccIO::ReadUInt16Float(), CIccIO::ReadUInt8Float(), and SetSize().
bool CIccSingleSampledCurve::SetExtensionType | ( | icUInt16Number | nExtensionType | ) |
Name: CIccSingleSampledCurve::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 CIccSingleSampledCurve::SetRange | ( | icFloatNumber | first = 0.0f , |
icFloatNumber | last = 1.0f |
||
) |
Name: CIccSingleSampledCurve::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: CIccSingleSampledCurve::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 CDevLinkWriter::begin(), main(), CIccSinglSampledeCurveXml::ParseXml(), and Read().
bool CIccSingleSampledCurve::SetStorageType | ( | icUInt16Number | nStorateType | ) |
Name: CIccSingleSampledCurve::SetStorageType
Purpose: Sets storate type of the data stored in the single sampled curve
Args: nStorageType is type of data to use
Return: true if valid storage type, false otherwise
References icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, and m_storageType.
|
virtual |
Name: CIccSingleSampledCurve::Validate
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, m_extensionType, m_firstEntry, m_lastEntry, m_nCount, m_nReserved, and m_storageType.
|
virtual |
Name: CIccSingleSampledCurve::Write
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References GetType(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, m_extensionType, m_firstEntry, m_lastEntry, m_nCount, m_nReserved, m_pSamples, m_storageType, CIccIO::Write16(), CIccIO::Write32(), CIccIO::WriteFloat16Float(), CIccIO::WriteFloat32Float(), CIccIO::WriteUInt16Float(), and CIccIO::WriteUInt8Float().
|
protected |
|
protected |
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSingleSampledCurve(), Apply(), and Begin().
|
protected |
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Apply(), Begin(), and operator=().
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Begin(), Describe(), GetSize(), operator=(), Read(), SetSize(), CIccSinglSampledeCurveXml::ToXml(), Validate(), and Write().
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), operator=(), Read(), Validate(), and Write().
|
protected |
|
protected |
Referenced by CIccSingleSampledCurve(), CIccSingleSampledCurve(), Apply(), and Begin().
|
protected |