IccMAX 2.1.27
Color Profile Tools
|
#include <IccArrayBasic.h>
Protected Member Functions | |
bool | GetTint (icFloatNumber *dstColor, CIccTagNumArray *pZero, CIccTagNumArray *pData, CIccTagNumArray *pTint, icFloatNumber tint, icUInt32Number nSamples) |
Class: CIccArrayNamedColor
Purpose: The Named Color array handler
CIccArrayNamedColor::CIccArrayNamedColor | ( | CIccTagArray * | pTagArray = NULL | ) |
References icSigNamedColorArray, icSigNoSpectralData, m_biSpectralRange, m_csDevice, m_csSpectralPcs, m_list, m_nDeviceSamples, m_nPcsSamples, m_nSpectralSamples, CIccArrayUnknown::m_pTag, m_pZeroTint, CIccArrayUnknown::m_sig, and m_spectralRange.
Referenced by CIccBasicArrayFactory::CreateArray(), and NewCopy().
|
virtual |
bool CIccArrayNamedColor::Begin | ( | ) |
References CIccTagArray::GetIndex(), CIccStructNamedColor::getName(), CIccTagArray::GetSize(), icGetTagStructHandlerOfType(), icSigNamedColorStruct, icSigTintZeroStruct, m_list, CIccArrayUnknown::m_pTag, and m_pZeroTint.
|
virtual |
Reimplemented from CIccArrayUnknown.
CIccStructNamedColor * CIccArrayNamedColor::FindColor | ( | const icChar * | szColor | ) | const |
CIccStructNamedColor * CIccArrayNamedColor::FindDeviceColor | ( | const icFloatNumber * | pDevColor | ) | const |
References CIccStructUnknown::GetElem(), CIccTagArray::GetIndex(), CIccTagNumArray::GetNumValues(), CIccTagArray::GetSize(), CIccTagNumArray::GetValues(), icGetTagStructHandlerOfType(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, CIccTag::IsNumArrayType(), m_nDeviceSamples, and CIccArrayUnknown::m_pTag.
CIccStructNamedColor * CIccArrayNamedColor::FindPcsColor | ( | const icFloatNumber * | pPCS, |
icFloatNumber | dMinDE = 1000.0 |
||
) | const |
References CIccStructUnknown::GetElem(), CIccTagArray::GetIndex(), CIccTagNumArray::GetNumValues(), CIccTagArray::GetSize(), CIccTagNumArray::GetValues(), icDeltaE(), icGetTagStructHandlerOfType(), icSigLabData, icSigNamedColorStruct, icSigNmclDeviceDataMbr, icXYZtoLab(), CIccTag::IsNumArrayType(), m_csPcs, m_nDeviceSamples, and CIccArrayUnknown::m_pTag.
CIccStructNamedColor * CIccArrayNamedColor::FindSpectralColor | ( | const icFloatNumber * | pSpec, |
icFloatNumber | dMinRms = 1000.0 |
||
) | const |
References CIccStructUnknown::GetElem(), CIccTagArray::GetIndex(), CIccTagNumArray::GetNumValues(), CIccTagArray::GetSize(), CIccTagNumArray::GetValues(), icGetTagStructHandlerOfType(), icRmsDif(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, CIccTag::IsNumArrayType(), m_nDeviceSamples, m_nSpectralSamples, and CIccArrayUnknown::m_pTag.
|
inlinevirtual |
Reimplemented from CIccArrayUnknown.
|
inline |
References m_nDeviceSamples.
bool CIccArrayNamedColor::GetDeviceTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f , |
||
icNamedColorlMemberSignature | sig = icSigNmclDeviceDataMbr |
||
) | const |
References CIccStructNamedColor::GetNumArray(), CIccStructNamedColor::GetTint(), m_nDeviceSamples, and m_pZeroTint.
|
inline |
References m_nPcsSamples.
bool CIccArrayNamedColor::GetPcsTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f , |
||
icNamedColorlMemberSignature | sig = icSigNmclPcsDataMbr |
||
) | const |
References CIccStructNamedColor::GetNumArray(), CIccStructNamedColor::GetTint(), m_nPcsSamples, and m_pZeroTint.
|
inline |
References m_nSpectralSamples.
bool CIccArrayNamedColor::GetSpectralTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f , |
||
icNamedColorlMemberSignature | sig = icSigNmclSpectralDataMbr |
||
) | const |
References CIccStructNamedColor::GetNumArray(), CIccStructNamedColor::GetTint(), m_nSpectralSamples, and m_pZeroTint.
|
inlineinherited |
References IIccArray::m_pTagArray.
|
protected |
|
virtual |
Reimplemented from CIccArrayUnknown.
References CIccArrayNamedColor(), m_biSpectralRange, m_csDevice, m_csPcs, m_csSpectralPcs, and m_spectralRange.
void CIccArrayNamedColor::SetColorSpaces | ( | icColorSpaceSignature | csPcs, |
icColorSpaceSignature | csDevice, | ||
icSpectralColorSignature | csSpectralPCS = icSigNoSpectralData , |
||
const icSpectralRange * | pSpectralRange = NULL , |
||
const icSpectralRange * | pBiSPectralRange = NULL |
||
) |
References icGetSpaceSamples(), m_biSpectralRange, m_csDevice, m_csPcs, m_csSpectralPcs, m_nDeviceSamples, m_nPcsSamples, m_nSpectralSamples, and m_spectralRange.
Referenced by CIccProfileXml::ParseTag().
|
virtual |
Reimplemented from CIccArrayUnknown.
References CIccTagSparseMatrixArray::GetChannelsPerMatrix(), CIccTagArray::GetIndex(), CIccStructNamedColor::GetNumArray(), CIccTagNumArray::GetNumValues(), CIccTagArray::GetSize(), CIccTagStruct::GetStructHandler(), CIccTag::GetTagStructType(), icMaxStatus(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, icSigNmclPcsDataMbr, icSigNmclSpectralDataMbr, icSigNmclTintMbr, icSigTintZeroStruct, icValidateCriticalError, icValidateOK, CIccTagNumArray::IsMatrixArray(), m_nDeviceSamples, m_nPcsSamples, m_nSpectralSamples, CIccArrayUnknown::m_pTag, and CIccTag::Validate().
|
protected |
Referenced by CIccArrayNamedColor(), NewCopy(), and SetColorSpaces().
|
protected |
Referenced by CIccArrayNamedColor(), NewCopy(), and SetColorSpaces().
|
protected |
Referenced by FindPcsColor(), NewCopy(), and SetColorSpaces().
|
protected |
Referenced by CIccArrayNamedColor(), NewCopy(), and SetColorSpaces().
|
protected |
Referenced by CIccArrayNamedColor(), ~CIccArrayNamedColor(), Begin(), and FindColor().
|
protected |
Referenced by CIccArrayNamedColor(), FindDeviceColor(), FindPcsColor(), FindSpectralColor(), GetDeviceSamples(), GetDeviceTint(), SetColorSpaces(), and Validate().
|
protected |
Referenced by CIccArrayNamedColor(), GetPcsSamples(), GetPcsTint(), SetColorSpaces(), and Validate().
|
protected |
Referenced by CIccArrayNamedColor(), FindSpectralColor(), GetSpectralSamples(), GetSpectralTint(), SetColorSpaces(), and Validate().
|
protectedinherited |
|
protectedinherited |
Referenced by IIccArray::GetTagArray().
|
protected |
Referenced by CIccArrayNamedColor(), Begin(), GetDeviceTint(), GetPcsTint(), and GetSpectralTint().
|
protectedinherited |
|
protected |
Referenced by CIccArrayNamedColor(), NewCopy(), and SetColorSpaces().