Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagSpectralViewingConditions. More...
#include <IccTagBasic.h>
Public Member Functions | |
icFloatNumber * | applyRangeToObserver (const icSpectralRange &newRange) const |
CIccTagSpectralViewingConditions () | |
Name: CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions. | |
CIccTagSpectralViewingConditions (const CIccTagSpectralViewingConditions &ITRCS) | |
Name: CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagSpectralViewingConditions::Describe. | |
virtual const icChar * | GetClassName () const |
const icFloatNumber * | getIlluminant (icSpectralRange &illumRange) const |
icFloatNumber | getIlluminantCCT () const |
const icFloatNumber * | getObserver (icSpectralRange &observerRange) const |
CIccMatrixMath * | getObserverMatrix (const icSpectralRange &newRange) const |
icIlluminant | getStdIllumiant () const |
icStandardObserver | getStdObserver () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagSpectralViewingConditions & | operator= (const CIccTagSpectralViewingConditions &RespCurveSet16Tag) |
Name: CIccTagSpectralViewingConditions::operator=. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagSpectralViewingConditions::Read. | |
bool | setIlluminant (icFloatNumber *pWhiteXYZ) |
bool | setIlluminant (icIlluminant illumId, const icSpectralRange &illumRange, const icFloatNumber *illum, icFloatNumber illumCCT=0.0f) |
bool | setObserver (icStandardObserver observerId, const icSpectralRange &observerRange, const icFloatNumber *observer) |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagSpectralViewingConditions::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagSpectralViewingConditions::Write. | |
virtual | ~CIccTagSpectralViewingConditions () |
Name: CIccTagSpectralViewingConditions::~CIccTagResponseCurveSet16. | |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual bool | IsSupported () |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
Function: Read(size, pIO) - Read tag from file. | |
virtual bool | ReadAll () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Public Attributes | |
icFloatXYZNumber | m_illuminantXYZ |
icUInt16Number | m_reserved2 |
icUInt16Number | m_reserved3 |
icFloatXYZNumber | m_surroundXYZ |
![]() | |
icUInt32Number | m_nReserved |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
Class: CIccTagSpectralViewingConditions.
Purpose: The responseCurveSet16 Tag type
Definition at line 1691 of file IccTagBasic.h.
CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions | ( | ) |
Name: CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions.
Purpose: Constructor
Definition at line 10760 of file IccTagBasic.cpp.
References icIlluminantD50, and icStdObs1931TwoDegrees.
CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions | ( | const CIccTagSpectralViewingConditions & | SVCT | ) |
Name: CIccTagSpectralViewingConditions::CIccTagSpectralViewingConditions.
Purpose: Copy Constructor
Args: SVCT = The CIccTagSpectralViewingConditions object to be copied
Definition at line 10797 of file IccTagBasic.cpp.
References icSpectralRange::end, m_colorTemperature, m_illuminant, m_illuminantRange, m_observer, m_observerRange, m_stdIlluminant, m_stdObserver, icSpectralRange::start, and icSpectralRange::steps.
|
virtual |
Name: CIccTagSpectralViewingConditions::~CIccTagResponseCurveSet16.
Purpose: Destructor
Definition at line 10905 of file IccTagBasic.cpp.
icFloatNumber * CIccTagSpectralViewingConditions::applyRangeToObserver | ( | const icSpectralRange & | newRange | ) | const |
Definition at line 11238 of file IccTagBasic.cpp.
References CIccMatrixMath::rangeMap(), icSpectralRange::steps, and CIccMatrixMath::VectorMult().
|
virtual |
Name: CIccTagSpectralViewingConditions::Describe.
Purpose: Dump data associated with the tag to a string
Args: sDescription - string to concatenate tag dump to
Reimplemented from CIccTag.
Definition at line 11101 of file IccTagBasic.cpp.
References CIccInfo::GetIlluminantName(), CIccInfo::GetStandardObserverName(), and icF16toF().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlSpectralViewingConditions.
Definition at line 1701 of file IccTagBasic.h.
const icFloatNumber * CIccTagSpectralViewingConditions::getIlluminant | ( | icSpectralRange & | illumRange | ) | const |
Definition at line 11342 of file IccTagBasic.cpp.
References icKnownIllumObsRange, icKnownIllums, NUM_KNOWN_ILLUM, and icIllumDef::spd.
Referenced by CIccMpeReflectanceCLUT::Begin(), CIccMpeReflectanceObserver::Begin(), CIccCombinedConnectionConditions::CIccCombinedConnectionConditions(), IIccProfileConnectionConditions::getObserverIlluminantScaleFactor(), IIccProfileConnectionConditions::getReflectanceObserver(), and IIccProfileConnectionConditions::hasIlluminantSPD().
|
inline |
Definition at line 1713 of file IccTagBasic.h.
Referenced by CIccCombinedConnectionConditions::CIccCombinedConnectionConditions(), and IIccProfileConnectionConditions::getPccCCT().
const icFloatNumber * CIccTagSpectralViewingConditions::getObserver | ( | icSpectralRange & | observerRange | ) | const |
Definition at line 11506 of file IccTagBasic.cpp.
References icObserverDef::cmf, icKnownIllumObsRange, icKnownObservers, and NUM_KNOWN_OBSERVERS.
Referenced by IIccProfileConnectionConditions::getEmissiveObserver(), IIccProfileConnectionConditions::getObserverIlluminantScaleFactor(), and IIccProfileConnectionConditions::getObserverWhiteScaleFactor().
CIccMatrixMath * CIccTagSpectralViewingConditions::getObserverMatrix | ( | const icSpectralRange & | newRange | ) | const |
Definition at line 11257 of file IccTagBasic.cpp.
References CIccMatrixMath::entry(), icSpectralRange::steps, and CIccMatrixMath::VectorMult().
Referenced by IIccProfileConnectionConditions::getReflectanceObserver().
|
inline |
Definition at line 1712 of file IccTagBasic.h.
Referenced by CIccCombinedConnectionConditions::CIccCombinedConnectionConditions(), and IIccProfileConnectionConditions::getPccIlluminant().
|
inline |
Definition at line 1714 of file IccTagBasic.h.
Referenced by IIccProfileConnectionConditions::getPccObserver().
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 1700 of file IccTagBasic.h.
References icSigSpectralViewingConditionsType.
|
inlinevirtual |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
Parameter(s): none
Returns a new CIccTag object that is a copy of this object.
Reimplemented from CIccTag.
Definition at line 1697 of file IccTagBasic.h.
Referenced by CIccCombinedConnectionConditions::CIccCombinedConnectionConditions().
CIccTagSpectralViewingConditions & CIccTagSpectralViewingConditions::operator= | ( | const CIccTagSpectralViewingConditions & | SVCT | ) |
Name: CIccTagSpectralViewingConditions::operator=.
Purpose: Copy Operator
Args: specViewCondTag = The CIccTagSpectralViewingConditions object to be copied
Definition at line 10851 of file IccTagBasic.cpp.
References icSpectralRange::end, m_colorTemperature, m_illuminant, m_illuminantRange, m_observer, m_observerRange, m_stdIlluminant, m_stdObserver, icSpectralRange::start, and icSpectralRange::steps.
|
virtual |
Name: CIccTagSpectralViewingConditions::Read.
Purpose: Read in the tag contents into a data block
Args: size - # of bytes in tag, pIO - IO object to read tag from
Return: true = successful, false = failure
Reimplemented from CIccTag.
Definition at line 10929 of file IccTagBasic.cpp.
References CIccIO::Read16(), CIccIO::Read32(), CIccIO::ReadFloat32Float(), and sig.
bool CIccTagSpectralViewingConditions::setIlluminant | ( | icFloatNumber * | pWhiteXYZ | ) |
Definition at line 11388 of file IccTagBasic.cpp.
References icD50XYZ, icIlluminantD50, icIlluminantD65, icIlluminantUnknown, icIsNear(), icNotZero, and icStdObs1931TwoDegrees.
bool CIccTagSpectralViewingConditions::setIlluminant | ( | icIlluminant | illumId, |
const icSpectralRange & | illumRange, | ||
const icFloatNumber * | illum, | ||
icFloatNumber | illumCCT = 0.0f ) |
Definition at line 11357 of file IccTagBasic.cpp.
References icSpectralRange::steps.
Referenced by CIccCombinedConnectionConditions::CIccCombinedConnectionConditions(), and CIccDefaultEncProfileConverter::ConvertFromParams().
bool CIccTagSpectralViewingConditions::setObserver | ( | icStandardObserver | observerId, |
const icSpectralRange & | observerRange, | ||
const icFloatNumber * | observer ) |
Definition at line 11521 of file IccTagBasic.cpp.
References icSpectralRange::steps.
|
virtual |
Name: CIccTagSpectralViewingConditions::Validate.
Purpose: Check tag data validity.
Args: sig = signature of tag being validated, sReport = String to add report information to
Return: icValidateStatusOK if valid, or other error status.
Reimplemented from CIccTag.
Definition at line 11183 of file IccTagBasic.cpp.
References CIccInfo::CheckData(), CIccInfo::CheckLuminance(), CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateNonCompliant, icValidateCriticalError, icValidateNonCompliant, icVersionNumberV5_1, and CIccTag::Validate().
|
virtual |
Name: CIccTagSpectralViewingConditions::Write.
Purpose: Write the tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
Reimplemented from CIccTag.
Definition at line 11043 of file IccTagBasic.cpp.
References sig, CIccIO::Write16(), CIccIO::Write32(), and CIccIO::WriteFloat32Float().
|
protected |
Definition at line 1736 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
|
protected |
Definition at line 1739 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
|
protected |
Definition at line 1738 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
icFloatXYZNumber CIccTagSpectralViewingConditions::m_illuminantXYZ |
Definition at line 1723 of file IccTagBasic.h.
Referenced by CIccCombinedConnectionConditions::CIccCombinedConnectionConditions(), and CIccDefaultEncProfileConverter::ConvertFromParams().
|
protected |
Definition at line 1733 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
|
protected |
Definition at line 1732 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
icUInt16Number CIccTagSpectralViewingConditions::m_reserved2 |
Definition at line 1726 of file IccTagBasic.h.
icUInt16Number CIccTagSpectralViewingConditions::m_reserved3 |
Definition at line 1727 of file IccTagBasic.h.
|
protected |
Definition at line 1735 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
|
protected |
Definition at line 1730 of file IccTagBasic.h.
Referenced by CIccTagSpectralViewingConditions(), and operator=().
icFloatXYZNumber CIccTagSpectralViewingConditions::m_surroundXYZ |
Definition at line 1724 of file IccTagBasic.h.
Referenced by CIccDefaultEncProfileConverter::ConvertFromParams().