Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccArrayNamedColor. More...
#include <IccArrayBasic.h>
Protected Member Functions | |
bool | GetTint (icFloatNumber *dstColor, CIccTagNumArray *pZero, CIccTagNumArray *pData, CIccTagNumArray *pTint, icFloatNumber tint, icUInt32Number nSamples) |
Protected Attributes | |
icSpectralRange | m_biSpectralRange |
icColorSpaceSignature | m_csDevice |
icColorSpaceSignature | m_csPcs |
icSpectralColorSignature | m_csSpectralPcs |
icNamedColorStructList * | m_list |
icUInt32Number | m_nDeviceSamples |
icUInt32Number | m_nPcsSamples |
icUInt32Number | m_nSpectralSamples |
CIccStructNamedColor * | m_pZeroTint |
icSpectralRange | m_spectralRange |
![]() | |
CIccTagArray * | m_pTag |
icArraySignature | m_sig |
![]() | |
CIccTagArray * | m_pTagArray |
Class: CIccArrayNamedColor.
Purpose: The Named Color array handler
Definition at line 143 of file IccArrayBasic.h.
CIccArrayNamedColor::CIccArrayNamedColor | ( | CIccTagArray * | pTagArray = NULL | ) |
Definition at line 216 of file IccArrayBasic.cpp.
References icSigNamedColorArray, icSigNoSpectralData, and icSigUnknownData.
|
virtual |
Definition at line 233 of file IccArrayBasic.cpp.
bool CIccArrayNamedColor::Begin | ( | ) |
Definition at line 284 of file IccArrayBasic.cpp.
References CIccStructNamedColor::getName(), icGetTagStructHandlerOfType(), icSigNamedColorStruct, and icSigTintZeroStruct.
|
virtual |
Reimplemented from CIccArrayUnknown.
Definition at line 255 of file IccArrayBasic.cpp.
CIccStructNamedColor * CIccArrayNamedColor::FindColor | ( | const icChar * | szColor | ) | const |
Definition at line 303 of file IccArrayBasic.cpp.
CIccStructNamedColor * CIccArrayNamedColor::FindDeviceColor | ( | const icFloatNumber * | pDevColor | ) | const |
Definition at line 315 of file IccArrayBasic.cpp.
References CIccStructUnknown::GetElem(), CIccTagNumArray::GetNumValues(), CIccTagNumArray::GetValues(), icGetTagStructHandlerOfType(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, and CIccTag::IsNumArrayType().
CIccStructNamedColor * CIccArrayNamedColor::FindPcsColor | ( | const icFloatNumber * | pPCS, |
icFloatNumber | dMinDE = 1000.0 ) const |
Definition at line 348 of file IccArrayBasic.cpp.
References CIccStructUnknown::GetElem(), CIccTagNumArray::GetNumValues(), CIccTagNumArray::GetValues(), icDeltaE(), icGetTagStructHandlerOfType(), icSigLabData, icSigNamedColorStruct, icSigNmclDeviceDataMbr, icXYZtoLab(), and CIccTag::IsNumArrayType().
CIccStructNamedColor * CIccArrayNamedColor::FindSpectralColor | ( | const icFloatNumber * | pSpec, |
icFloatNumber | dMinRms = 1000.0 ) const |
Definition at line 386 of file IccArrayBasic.cpp.
References CIccStructUnknown::GetElem(), CIccTagNumArray::GetNumValues(), CIccTagNumArray::GetValues(), icGetTagStructHandlerOfType(), icRmsDif(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, and CIccTag::IsNumArrayType().
|
inlinevirtual |
Reimplemented from CIccArrayUnknown.
Definition at line 152 of file IccArrayBasic.h.
|
inline |
Definition at line 181 of file IccArrayBasic.h.
bool CIccArrayNamedColor::GetDeviceTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f, | ||
icNamedColorlMemberSignature | sig = icSigNmclDeviceDataMbr ) const |
Definition at line 421 of file IccArrayBasic.cpp.
References CIccStructNamedColor::GetTint(), and sig.
|
inline |
Definition at line 182 of file IccArrayBasic.h.
bool CIccArrayNamedColor::GetPcsTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f, | ||
icNamedColorlMemberSignature | sig = icSigNmclPcsDataMbr ) const |
Definition at line 440 of file IccArrayBasic.cpp.
References CIccStructNamedColor::GetTint(), and sig.
|
inline |
Definition at line 183 of file IccArrayBasic.h.
bool CIccArrayNamedColor::GetSpectralTint | ( | icFloatNumber * | dstColor, |
const CIccStructNamedColor * | pColor, | ||
icFloatNumber | tint = 1.0f, | ||
icNamedColorlMemberSignature | sig = icSigNmclSpectralDataMbr ) const |
Definition at line 458 of file IccArrayBasic.cpp.
References CIccStructNamedColor::GetTint(), and sig.
|
protected |
|
virtual |
Reimplemented from CIccArrayUnknown.
Definition at line 239 of file IccArrayBasic.cpp.
References 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 ) |
Definition at line 261 of file IccArrayBasic.cpp.
References icGetSpaceSamples().
Referenced by CIccProfileXml::ParseTag().
|
virtual |
Reimplemented from CIccArrayUnknown.
Definition at line 477 of file IccArrayBasic.cpp.
References CIccTagSparseMatrixArray::GetChannelsPerMatrix(), CIccStructNamedColor::GetNumArray(), CIccTagNumArray::GetNumValues(), CIccTagStruct::GetStructHandler(), CIccTag::GetTagStructType(), icMaxStatus(), icSigNamedColorStruct, icSigNmclDeviceDataMbr, icSigNmclPcsDataMbr, icSigNmclSpectralDataMbr, icSigNmclTintMbr, icSigTintZeroStruct, icValidateCriticalError, icValidateOK, CIccTagNumArray::IsMatrixArray(), sig, and CIccTag::Validate().
|
protected |
Definition at line 197 of file IccArrayBasic.h.
Referenced by NewCopy().
|
protected |
Definition at line 194 of file IccArrayBasic.h.
Referenced by NewCopy().
|
protected |
Definition at line 193 of file IccArrayBasic.h.
Referenced by NewCopy().
|
protected |
Definition at line 195 of file IccArrayBasic.h.
Referenced by NewCopy().
|
protected |
Definition at line 201 of file IccArrayBasic.h.
|
protected |
Definition at line 203 of file IccArrayBasic.h.
|
protected |
Definition at line 204 of file IccArrayBasic.h.
|
protected |
Definition at line 205 of file IccArrayBasic.h.
|
protected |
Definition at line 199 of file IccArrayBasic.h.
|
protected |
Definition at line 196 of file IccArrayBasic.h.
Referenced by NewCopy().