Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagLut8. More...
#include <IccTagLut.h>
Public Member Functions | |
CIccTagLut8 () | |
Name: CIccTagLut8::CIccTagLut8. | |
CIccTagLut8 (const CIccTagLut8 &ITL) | |
Name: CIccTagLut8::CIccTagLut8. | |
virtual icUInt8Number | GetPrecision () |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagLut8 & | operator= (const CIccTagLut8 &ITL) |
Name: CIccTagLut8::operator=. | |
bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagLut8::Read. | |
virtual void | SetColorSpaces (icColorSpaceSignature csInput, icColorSpaceSignature csOutput) |
Name: CIccTagLut8::SetColorSpaces. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) |
Name: CIccTagLut8::Validate. | |
bool | Write (CIccIO *pIO) |
Name: CIccTagLut8::Write. | |
virtual | ~CIccTagLut8 () |
Name: CIccTagLut8::~CIccTagLut8. | |
![]() | |
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 |
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 bool | UseLegacyPCS () const |
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 |
CIccTagLut8::CIccTagLut8 | ( | ) |
Name: CIccTagLut8::CIccTagLut8.
Purpose: Constructor
Definition at line 4450 of file IccTagLut.cpp.
References icDtoF(), m_nReservedByte, and m_XYZMatrix.
CIccTagLut8::CIccTagLut8 | ( | const CIccTagLut8 & | ITL | ) |
Name: CIccTagLut8::CIccTagLut8.
Purpose: Copy Constructor
Args: ITL = The CIccTagLut8 object to be copied
Definition at line 4468 of file IccTagLut.cpp.
References m_nReservedByte, and m_XYZMatrix.
|
virtual |
Name: CIccTagLut8::~CIccTagLut8.
Purpose: Destructor
Definition at line 4505 of file IccTagLut.cpp.
|
inlinevirtual |
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 556 of file IccTagLut.h.
References icSigLut8Type.
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 553 of file IccTagLut.h.
CIccTagLut8 & CIccTagLut8::operator= | ( | const CIccTagLut8 & | ITL | ) |
Name: CIccTagLut8::operator=.
Purpose: Copy Operator
Args: ITL = The CIccTagLut8 object to be copied
Definition at line 4485 of file IccTagLut.cpp.
References m_XYZMatrix, and CIccMBB::operator=().
|
virtual |
Name: CIccTagLut8::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 4524 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::Read32(), CIccIO::Read8(), CIccCLUT::ReadData(), CIccIO::ReadUInt8Float(), CIccTagCurve::SetSize(), sig, and CIccIO::Tell().
|
virtual |
Name: CIccTagLut8::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 4611 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().
|
virtual |
Name: CIccTagLut8::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 4777 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: CIccTagLut8::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 4662 of file IccTagLut.cpp.
References CIccTagCurve::Apply(), CIccTagCurve::GetSize(), 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::Write32(), CIccIO::Write8(), CIccCLUT::WriteData(), and CIccIO::WriteUInt8Float().
|
protected |
Definition at line 566 of file IccTagLut.h.
Referenced by CIccTagLut8(), CIccTagLut8(), Read(), and Write().
|
protected |
Definition at line 567 of file IccTagLut.h.
Referenced by CIccTagLut8(), CIccTagLut8(), operator=(), Read(), SetColorSpaces(), and Validate().