Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagLut16. More...
#include <IccTagLut.h>
Public Member Functions | |
CIccTagLut16 () | |
Name: CIccTagLut16::CIccTagLut16. | |
CIccTagLut16 (const CIccTagLut16 &ITL) | |
Name: CIccTagLut16::CIccTagLut16. | |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagLut16 & | operator= (const CIccTagLut16 &ITL) |
Name: CIccTagLut16::operator=. | |
bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagLut16::Read. | |
virtual void | SetColorSpaces (icColorSpaceSignature csInput, icColorSpaceSignature csOutput) |
Name: CIccTagLut16::SetColorSpaces. | |
virtual bool | UseLegacyPCS () const |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) |
Name: CIccTagLut16::Validate. | |
bool | Write (CIccIO *pIO) |
Name: CIccTagLut16::Write. | |
virtual | ~CIccTagLut16 () |
Name: CIccTagLut16::~CIccTagLut16. | |
![]() | |
CIccMBB () | |
Name: CIccMBB::CIccMBB. | |
CIccMBB (const CIccMBB &IMBB) | |
Name: CIccMBB::CIccMBB. | |
void | Cleanup () |
Name: CIccMBB::Cleanup. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccMBB::Describe. | |
CIccCLUT * | GetCLUT () const |
icColorSpaceSignature | GetCsInput () |
icColorSpaceSignature | GetCsOutput () |
LPIccCurve * | GetCurvesA () const |
LPIccCurve * | GetCurvesB () const |
LPIccCurve * | GetCurvesM () const |
CIccMatrix * | GetMatrix () const |
virtual icUInt8Number | GetPrecision () |
void | Init (icUInt8Number nInputChannels, icUInt8Number nOutputChannels) |
Name: CIccMBB::Init. | |
icUInt8Number | InputChannels () const |
bool | IsInputB () |
virtual bool | IsInputMatrix () |
virtual bool | IsMBBType () |
CIccCLUT * | NewCLUT (icUInt8Number *pGridPoints, icUInt8Number nPrecision=2) |
Name: CIccMBB::NewCLUT. | |
CIccCLUT * | NewCLUT (icUInt8Number nGridPoints, icUInt8Number nPrecision=2) |
Name: CIccMBB::NewCLUT. | |
LPIccCurve * | NewCurvesA () |
Name: CIccMBB::NewCurvesA. | |
LPIccCurve * | NewCurvesB () |
Name: CIccMBB::NewCurvesB. | |
LPIccCurve * | NewCurvesM () |
Name: CIccMBB::NewCurvesM. | |
CIccMatrix * | NewMatrix () |
Name: CIccMBB::NewMatrix. | |
CIccMBB & | operator= (const CIccMBB &IMBB) |
Name: CIccMBB::operator=. | |
icUInt8Number | OutputChannels () const |
CIccCLUT * | SetCLUT (CIccCLUT *clut) |
Name: CIccMBB::SetCLUT. | |
bool | SwapMBCurves () |
virtual | ~CIccMBB () |
Name: CIccMBB::~CIccMBB. | |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual const icChar * | GetClassName () const |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsArrayType () |
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 icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Function: Validate Each derived tag will implement it's own IsValid() function. | |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Protected Attributes | |
icUInt8Number | m_nReservedByte |
icS15Fixed16Number | m_XYZMatrix [9] |
![]() | |
bool | m_bInputMatrix |
bool | m_bUseMCurvesAsBCurves |
CIccCLUT * | m_CLUT |
icColorSpaceSignature | m_csInput |
icColorSpaceSignature | m_csOutput |
LPIccCurve * | m_CurvesA |
LPIccCurve * | m_CurvesB |
LPIccCurve * | m_CurvesM |
CIccMatrix * | m_Matrix |
icUInt8Number | m_nInput |
icUInt8Number | m_nOutput |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
CIccTagLut16::CIccTagLut16 | ( | ) |
Name: CIccTagLut16::CIccTagLut16.
Purpose: Constructor
Definition at line 4897 of file IccTagLut.cpp.
References icDtoF(), m_nReservedByte, and m_XYZMatrix.
CIccTagLut16::CIccTagLut16 | ( | const CIccTagLut16 & | ITL | ) |
Name: CIccTagLut16::CIccTagLut16.
Purpose: Copy Constructor
Args: ITL = The CIccTagUnknown object to be copied
Definition at line 4915 of file IccTagLut.cpp.
References m_nReservedByte, and m_XYZMatrix.
|
virtual |
Name: CIccTagLut16::~CIccTagLut16.
Purpose: Destructor
Definition at line 4952 of file IccTagLut.cpp.
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 586 of file IccTagLut.h.
References icSigLut16Type.
Referenced by Read(), Validate(), and Write().
|
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 CIccMBB.
Definition at line 583 of file IccTagLut.h.
CIccTagLut16 & CIccTagLut16::operator= | ( | const CIccTagLut16 & | ITL | ) |
Name: CIccTagLut16::operator=.
Purpose: Copy Operator
Args: ITL = The CIccTagLut16 object to be copied
Definition at line 4932 of file IccTagLut.cpp.
References m_XYZMatrix, and CIccMBB::operator=().
|
virtual |
Name: CIccTagLut16::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 4971 of file IccTagLut.cpp.
References CIccTag::Create(), GetType(), icSigCurveType, CIccCLUT::Init(), CIccMBB::m_CLUT, CIccMBB::m_nInput, CIccMBB::m_nOutput, CIccTag::m_nReserved, m_nReservedByte, m_XYZMatrix, CIccMBB::NewCurvesA(), CIccMBB::NewCurvesB(), CIccIO::Read16(), CIccIO::Read32(), CIccIO::Read8(), CIccCLUT::ReadData(), CIccIO::ReadUInt16Float(), CIccTagCurve::SetSize(), sig, and CIccIO::Tell().
|
virtual |
Name: CIccTagLut16::SetColorSpaces.
Purpose: Sets the input and output color spaces
Args: csInput = input color space signature, csOutput = output color space signature
Reimplemented from CIccMBB.
Definition at line 5058 of file IccTagLut.cpp.
References CIccTag::Create(), icDtoF(), icFtoD(), icSigCurveType, icSigXYZData, CIccMBB::IsInputMatrix(), CIccMatrix::m_bUseConstants, CIccMBB::m_bUseMCurvesAsBCurves, CIccMBB::m_CurvesB, CIccMBB::m_CurvesM, CIccMatrix::m_e, CIccMBB::m_Matrix, CIccMBB::m_nInput, m_XYZMatrix, CIccMBB::NewCurvesB(), CIccMBB::NewMatrix(), CIccMBB::SetColorSpaces(), and CIccTagCurve::SetSize().
|
inlinevirtual |
Reimplemented from CIccMBB.
Definition at line 587 of file IccTagLut.h.
|
virtual |
Name: CIccTagLut16::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 CIccMBB.
Definition at line 5201 of file IccTagLut.cpp.
References CIccInfo::GetSigPathName(), CIccTagCurve::GetSize(), GetType(), icGetFirstSigPathSig(), icGetSigPath(), icGetSpaceSamples(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigCurveType, icSigGamutTag, icValidateCriticalError, icValidateWarning, CIccMBB::m_CurvesA, CIccMBB::m_CurvesB, CIccMBB::m_Matrix, m_XYZMatrix, sig, CIccMatrix::Validate(), CIccMBB::Validate(), and Validate().
Referenced by Validate().
|
virtual |
Name: CIccTagLut16::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 5109 of file IccTagLut.cpp.
References GetType(), CIccCLUT::GridPoints(), icDtoF(), icSigCurveType, CIccMBB::m_bUseMCurvesAsBCurves, CIccMBB::m_CLUT, CIccMBB::m_CurvesA, CIccMBB::m_CurvesB, CIccMBB::m_CurvesM, CIccMatrix::m_e, CIccMBB::m_Matrix, CIccMBB::m_nInput, CIccMBB::m_nOutput, CIccTag::m_nReserved, m_nReservedByte, sig, CIccIO::Write16(), CIccIO::Write32(), CIccIO::Write8(), CIccCLUT::WriteData(), and CIccIO::WriteUInt16Float().
|
protected |
Definition at line 596 of file IccTagLut.h.
Referenced by CIccTagLut16(), CIccTagLut16(), Read(), and Write().
|
protected |
Definition at line 597 of file IccTagLut.h.
Referenced by CIccTagLut16(), CIccTagLut16(), operator=(), Read(), SetColorSpaces(), and Validate().