Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccTagLut.h>
Public Member Functions | |
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. | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
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. | |
virtual void | SetColorSpaces (icColorSpaceSignature csInput, icColorSpaceSignature csOutput) |
Name: CIccMBB::SetColorSpaces. | |
bool | SwapMBCurves () |
virtual bool | UseLegacyPCS () const |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) |
Name: CIccMBB::Validate. | |
virtual | ~CIccMBB () |
Name: CIccMBB::~CIccMBB. | |
Public Member Functions inherited from CIccTag | |
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 icTagTypeSignature | GetType () const |
Function: GetType() | |
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) |
Function: Read(size, pIO) - Read tag from file. | |
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 bool | Write (CIccIO *pIO) |
Function: Write(pIO) Each derived tag will implement it's own Write() function. | |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Protected Attributes | |
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 |
Friends | |
class | CIccXform3DLut |
class | CIccXform4DLut |
class | CIccXformNDLut |
Additional Inherited Members | |
Static Public Member Functions inherited from CIccTag | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
Public Attributes inherited from CIccTag | |
icUInt32Number | m_nReserved |
Class: CIccMBB.
Purpose: The Multi-dimensional Black Box (MBB) base class for lut8, lut16, lutA2B and lutB2A tag types
Definition at line 427 of file IccTagLut.h.
CIccMBB::CIccMBB | ( | ) |
Name: CIccMBB::CIccMBB.
Purpose: Constructor
Definition at line 3135 of file IccTagLut.cpp.
References icSigUnknownData.
CIccMBB::CIccMBB | ( | const CIccMBB & | IMBB | ) |
Name: CIccMBB::CIccMBB.
Purpose: Copy Constructor
Args: IMBB = The CIccMBB object to be copied
Definition at line 3164 of file IccTagLut.cpp.
References m_bInputMatrix, m_bUseMCurvesAsBCurves, m_CLUT, m_csInput, m_csOutput, m_CurvesA, m_CurvesB, m_CurvesM, m_Matrix, m_nInput, m_nOutput, and CIccCurve::NewCopy().
|
virtual |
Name: CIccMBB::~CIccMBB.
Purpose: Destructor
Definition at line 3309 of file IccTagLut.cpp.
void CIccMBB::Cleanup | ( | ) |
Name: CIccMBB::Cleanup.
Purpose: Frees the memory allocated to the object
Definition at line 3322 of file IccTagLut.cpp.
|
virtual |
Name: CIccMBB::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 3441 of file IccTagLut.cpp.
References icColorIndexName(), icSigLut16Type, and icSigLut8Type.
|
inline |
Definition at line 469 of file IccTagLut.h.
Referenced by CIccEvalCompare::EvaluateProfile(), icMBBFromXml(), and icMBBToXml().
|
inline |
Definition at line 458 of file IccTagLut.h.
|
inline |
Definition at line 459 of file IccTagLut.h.
|
inline |
Definition at line 470 of file IccTagLut.h.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inline |
Definition at line 471 of file IccTagLut.h.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inline |
Definition at line 472 of file IccTagLut.h.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inline |
Definition at line 468 of file IccTagLut.h.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inlinevirtual |
void CIccMBB::Init | ( | icUInt8Number | nInputChannels, |
icUInt8Number | nOutputChannels ) |
Name: CIccMBB::Init.
Purpose: Cleans up any prior memory and Initializes the object.
Args: nInputChannels = number of input channels, nOutputChannels = number of output channels
Definition at line 3407 of file IccTagLut.cpp.
Referenced by CDevLinkWriter::begin(), and icMBBFromXml().
|
inline |
Definition at line 451 of file IccTagLut.h.
Referenced by icMBBToXml().
|
inline |
Definition at line 445 of file IccTagLut.h.
Referenced by icMBBFromXml(), CIccTagLutAtoB::Read(), and CIccTagLutAtoB::Write().
|
inlinevirtual |
Definition at line 442 of file IccTagLut.h.
Referenced by icMBBFromXml(), icMBBToXml(), CIccTagLutAtoB::Read(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), and CIccTagLutAtoB::Write().
|
inlinevirtual |
CIccCLUT * CIccMBB::NewCLUT | ( | icUInt8Number * | pGridPoints, |
icUInt8Number | nPrecision = 2 ) |
Name: CIccMBB::NewCLUT.
Purpose: Allocates memory for a new CLUT and initializes it
Args: pGridPoints = number of grid points in the CLUT
Return: Pointer to the CIccCLUT object
Definition at line 3759 of file IccTagLut.cpp.
CIccCLUT * CIccMBB::NewCLUT | ( | icUInt8Number | nGridPoints, |
icUInt8Number | nPrecision = 2 ) |
Name: CIccMBB::NewCLUT.
Purpose: Allocates memory for a new CLUT and initializes it
Args: nGridPoints = number of grid points in the CLUT
Return: Pointer to the CIccCLUT object
Definition at line 3812 of file IccTagLut.cpp.
Referenced by CDevLinkWriter::begin().
|
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.
Reimplemented in CIccTagLut16, CIccTagLut8, CIccTagLutAtoB, and CIccTagLutBtoA.
Definition at line 436 of file IccTagLut.h.
LPIccCurve * CIccMBB::NewCurvesA | ( | ) |
Name: CIccMBB::NewCurvesA.
Purpose: Allocates memory for a new set of A-curves
Return: Pointer to the LPIccCurve object
Definition at line 3670 of file IccTagLut.cpp.
Referenced by CDevLinkWriter::begin(), icMBBFromXml(), CIccTagLut16::Read(), CIccTagLut8::Read(), and CIccTagLutAtoB::Read().
LPIccCurve * CIccMBB::NewCurvesB | ( | ) |
Name: CIccMBB::NewCurvesB.
Purpose: Allocates memory for a new set of B-curves
Return: Pointer to the LPIccCurve object
Definition at line 3715 of file IccTagLut.cpp.
Referenced by CDevLinkWriter::begin(), icMBBFromXml(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagLut16::SetColorSpaces(), and CIccTagLut8::SetColorSpaces().
LPIccCurve * CIccMBB::NewCurvesM | ( | ) |
Name: CIccMBB::NewCurvesM.
Purpose: Allocates memory for a new set of M-curves
Return: Pointer to the LPIccCurve object
Definition at line 3693 of file IccTagLut.cpp.
Referenced by icMBBFromXml(), and CIccTagLutAtoB::Read().
CIccMatrix * CIccMBB::NewMatrix | ( | ) |
Name: CIccMBB::NewMatrix.
Purpose: Allocates memory for a new matrix
Return: Pointer to the CIccMatrix object
Definition at line 3737 of file IccTagLut.cpp.
Referenced by icMBBFromXml(), CIccTagLut16::SetColorSpaces(), and CIccTagLut8::SetColorSpaces().
Name: CIccMBB::operator=.
Purpose: Copy Operator
Args: IMBB = The CIccMBB object to be copied
Definition at line 3234 of file IccTagLut.cpp.
References m_bInputMatrix, m_bUseMCurvesAsBCurves, m_CLUT, m_csInput, m_csOutput, m_CurvesA, m_CurvesB, m_CurvesM, m_Matrix, m_nInput, m_nOutput, and CIccCurve::NewCopy().
Referenced by CIccTagLut16::operator=(), CIccTagLut8::operator=(), CIccTagLutAtoB::operator=(), and CIccTagLutBtoA::operator=().
|
inline |
Definition at line 452 of file IccTagLut.h.
Referenced by icMBBToXml().
Name: CIccMBB::SetCLUT.
Purpose: Assignes CLUT connection to an initialized new CLUT
Args: clut = pointer to a previously allocated CLUT (Onwership is transfered to CIccMBB object).
Return: Pointer to the CIccCLUT object or NULL if clut is incompatible with CIccMBB object. If the clut is incompatible it is deleted.
Definition at line 3785 of file IccTagLut.cpp.
References CIccCLUT::GetInputDim(), and CIccCLUT::GetOutputChannels().
Referenced by icMBBFromXml().
|
virtual |
Name: CIccMBB::SetColorSpaces.
Purpose: Sets the input and output color spaces
Args: csInput = input color space signature, csOutput = output color space signature
Reimplemented in CIccTagLut16, and CIccTagLut8.
Definition at line 3425 of file IccTagLut.cpp.
Referenced by CIccTagLut16::SetColorSpaces(), and CIccTagLut8::SetColorSpaces().
|
inline |
Definition at line 446 of file IccTagLut.h.
Referenced by icMBBToXml().
|
inlinevirtual |
Reimplemented in CIccTagLut16.
Definition at line 443 of file IccTagLut.h.
|
virtual |
Name: CIccMBB::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 in CIccTagLut16, CIccTagLut8, CIccTagLutAtoB, and CIccTagLutBtoA.
Definition at line 3529 of file IccTagLut.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icGetSpaceSamples(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigAToB3Tag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigBToA3Tag, icSigGamutTag, icSigHToS0Tag, icSigHToS1Tag, icSigHToS2Tag, icSigHToS3Tag, icValidateCriticalError, icValidateWarning, sig, and CIccTag::Validate().
Referenced by CIccTagLut16::Validate(), CIccTagLut8::Validate(), CIccTagLutAtoB::Validate(), and CIccTagLutBtoA::Validate().
|
friend |
Definition at line 429 of file IccTagLut.h.
|
friend |
Definition at line 430 of file IccTagLut.h.
|
friend |
Definition at line 431 of file IccTagLut.h.
|
protected |
Definition at line 477 of file IccTagLut.h.
Referenced by CIccMBB(), CIccTagLutBtoA::CIccTagLutBtoA(), and operator=().
|
protected |
Definition at line 478 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::Write(), and CIccTagLut8::Write().
|
protected |
Definition at line 487 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 483 of file IccTagLut.h.
Referenced by CIccMBB(), and operator=().
|
protected |
Definition at line 484 of file IccTagLut.h.
Referenced by CIccMBB(), and operator=().
|
protected |
Definition at line 486 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::Validate(), CIccTagLut8::Validate(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 490 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::Validate(), CIccTagLut8::Validate(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 489 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 488 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLutAtoB::Read(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::Validate(), CIccTagLut8::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 480 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().
|
protected |
Definition at line 481 of file IccTagLut.h.
Referenced by CIccMBB(), operator=(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagLutBtoA::Validate(), CIccTagLut16::Write(), CIccTagLut8::Write(), and CIccTagLutAtoB::Write().