IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagLut.h>
Public Member Functions | |
CIccMBB () | |
CIccMBB (const CIccMBB &IMBB) | |
virtual | ~CIccMBB () |
void | Cleanup () |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
virtual void | DetachIO () |
virtual const icChar * | GetClassName () const |
CIccCLUT * | GetCLUT () const |
icColorSpaceSignature | GetCsInput () |
icColorSpaceSignature | GetCsOutput () |
LPIccCurve * | GetCurvesA () const |
LPIccCurve * | GetCurvesB () const |
LPIccCurve * | GetCurvesM () const |
virtual IIccExtensionTag * | GetExtension () |
CIccMatrix * | GetMatrix () const |
virtual icUInt8Number | GetPrecision () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual icTagTypeSignature | GetType () const |
void | Init (icUInt8Number nInputChannels, icUInt8Number nOutputChannels) |
icUInt8Number | InputChannels () const |
virtual bool | IsArrayType () |
bool | IsInputB () |
virtual bool | IsInputMatrix () |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual bool | IsSupported () |
CIccCLUT * | NewCLUT (icUInt8Number *pGridPoints, icUInt8Number nPrecision=2) |
CIccCLUT * | NewCLUT (icUInt8Number nGridPoints, icUInt8Number nPrecision=2) |
virtual CIccTag * | NewCopy () const |
LPIccCurve * | NewCurvesA () |
LPIccCurve * | NewCurvesB () |
LPIccCurve * | NewCurvesM () |
CIccMatrix * | NewMatrix () |
CIccMBB & | operator= (const CIccMBB &IMBB) |
icUInt8Number | OutputChannels () const |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
virtual bool | ReadAll () |
CIccCLUT * | SetCLUT (CIccCLUT *clut) |
virtual void | SetColorSpaces (icColorSpaceSignature csInput, icColorSpaceSignature csOutput) |
bool | SwapMBCurves () |
virtual bool | UseLegacyPCS () const |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
virtual bool | Write (CIccIO *pIO) |
Static Public Member Functions | |
static CIccTag * | Create (icTagTypeSignature sig) |
Data Fields | |
icUInt32Number | m_nReserved |
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 |
Class: CIccMBB
Purpose: The Multi-dimensional Black Box (MBB) base class for lut8, lut16, lutA2B and lutB2A tag types
CIccMBB::CIccMBB | ( | ) |
Name: CIccMBB::CIccMBB
Purpose: Constructor
References m_bInputMatrix, m_bUseMCurvesAsBCurves, m_CLUT, m_csInput, m_csOutput, m_CurvesA, m_CurvesB, m_CurvesM, m_Matrix, m_nInput, and m_nOutput.
CIccMBB::CIccMBB | ( | const CIccMBB & | IMBB | ) |
Name: CIccMBB::CIccMBB
Purpose: Copy Constructor
Args: IMBB = The CIccMBB object to be copied
References CIccCLUT::CIccCLUT(), CIccMatrix::CIccMatrix(), IsInputB(), IsInputMatrix(), 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::CIccTagLut16(), CIccTagLut8::CIccTagLut8(), CIccTagLutAtoB::CIccTagLutAtoB(), and NewCopy().
|
virtual |
Name: CIccMBB::~CIccMBB
Purpose: Destructor
References Cleanup().
void CIccMBB::Cleanup | ( | ) |
Name: CIccMBB::Cleanup
Purpose: Frees the memory allocated to the object
References IsInputMatrix(), m_CLUT, m_CurvesA, m_CurvesB, m_CurvesM, m_Matrix, m_nInput, and m_nOutput.
Referenced by ~CIccMBB(), Init(), and operator=().
|
staticinherited |
Name: CIccTag::Create
Purpose: This is a static tag creator based upon tag signature type
Args: sig = tag type signature
Return: Pointer to Allocated tag
References CIccTagCreator::CreateTag().
Referenced by CIccDefaultEncProfileConverter::ConvertFromParams(), CIccTagStruct::LoadElem(), CIccProfileXml::ParseTag(), CIccTagXmlStruct::ParseTag(), CIccMpeXmlTintArray::ParseXml(), CIccTagXmlArray::ParseXml(), CIccMpeTintArray::Read(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::SetColorSpaces(), and CIccProfileDescText::SetType().
|
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.
References CIccCLUT::DumpLut(), CIccCurve::DumpLut(), CIccMatrix::DumpLut(), CIccTag::GetType(), icColorIndexName(), icSigLut16Type, icSigLut8Type, IsInputMatrix(), m_bUseMCurvesAsBCurves, m_CLUT, m_csInput, m_csOutput, m_CurvesA, m_CurvesB, m_CurvesM, m_Matrix, m_nInput, and m_nOutput.
|
inlinevirtualinherited |
Function: ReadAll() - Read All sub data for tag from file. Called by CIccProfile::ReadAll() to read all sub data for tag
Returns true if ReadAll is successful.
|
inlinevirtualinherited |
Reimplemented in CIccTagUnknown, CIccTagText, CIccTagUtf8Text, CIccTagZipUtf8Text, CIccTagZipXml, CIccTagUtf16Text, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagCicp, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagSpectralDataInfo, CIccTagSpectralViewingConditions, CIccTagEmbeddedHeightImage, CIccTagEmbeddedNormalImage, CIccTagStruct, CIccTagArray, CIccTagDict, CIccTagEmbeddedProfile, CIccTagCurve, CIccTagParametricCurve, CIccTagSegmentedCurve, CIccTagGamutBoundaryDesc, CIccTagMultiProcessElement, CIccTagProfileSequenceId, CIccTagXmlUnknown, CIccTagXmlText, CIccTagXmlUtf8Text, CIccTagXmlZipUtf8Text, CIccTagXmlZipXml, CIccTagXmlUtf16Text, CIccTagXmlTextDescription, CIccTagXmlSignature, CIccTagXmlNamedColor2, CIccTagXmlXYZ, CIccTagXmlChromaticity, CIccTagXmlCicp, CIccTagXmlSparseMatrixArray, CIccTagXmlFixedNum< T, Tsig >, CIccTagXmlNum< T, A, Tsig >, CIccTagXmlFloatNum< T, A, Tsig >, CIccTagXmlMeasurement, CIccTagXmlMultiLocalizedUnicode, CIccTagXmlTagData, CIccTagXmlDateTime, CIccTagXmlColorantOrder, CIccTagXmlColorantTable, CIccTagXmlViewingConditions, CIccTagXmlSpectralDataInfo, CIccTagXmlSpectralViewingConditions, CIccTagXmlProfileSeqDesc, CIccTagXmlResponseCurveSet16, CIccTagXmlCurve, CIccTagXmlParametricCurve, CIccTagXmlSegmentedCurve, CIccTagXmlLutAtoB, CIccTagXmlLutBtoA, CIccTagXmlLut8, CIccTagXmlLut16, CIccTagXmlMultiProcessElement, CIccTagXmlProfileSequenceId, CIccTagXmlDict, CIccTagXmlStruct, and CIccTagXmlArray.
|
inline |
References m_CLUT.
Referenced by CIccEvalCompare::EvaluateProfile(), icMBBFromXml(), and icMBBToXml().
|
inline |
|
inline |
References m_csOutput.
|
inline |
References m_CurvesA.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inline |
References m_CurvesB.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inline |
References m_CurvesM.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inlinevirtualinherited |
Reimplemented in CIccTagXmlUnknown, CIccTagXmlText, CIccTagXmlUtf8Text, CIccTagXmlZipUtf8Text, CIccTagXmlZipXml, CIccTagXmlUtf16Text, CIccTagXmlTextDescription, CIccTagXmlSignature, CIccTagXmlNamedColor2, CIccTagXmlXYZ, CIccTagXmlChromaticity, CIccTagXmlCicp, CIccTagXmlSparseMatrixArray, CIccTagXmlFixedNum< T, Tsig >, CIccTagXmlNum< T, A, Tsig >, CIccTagXmlFloatNum< T, A, Tsig >, CIccTagXmlMeasurement, CIccTagXmlMultiLocalizedUnicode, CIccTagXmlTagData, CIccTagXmlDateTime, CIccTagXmlColorantOrder, CIccTagXmlColorantTable, CIccTagXmlViewingConditions, CIccTagXmlSpectralDataInfo, CIccTagXmlSpectralViewingConditions, CIccTagXmlProfileSeqDesc, CIccTagXmlResponseCurveSet16, CIccTagXmlCurve, CIccTagXmlParametricCurve, CIccTagXmlSegmentedCurve, CIccTagXmlLutAtoB, CIccTagXmlLutBtoA, CIccTagXmlLut8, CIccTagXmlLut16, CIccTagXmlMultiProcessElement, CIccTagXmlProfileSequenceId, CIccTagXmlDict, CIccTagXmlStruct, CIccTagXmlArray, CIccTagXmlGamutBoundaryDesc, CIccTagXmlEmbeddedHeightImage, CIccTagXmlEmbeddedNormalImage, and CIccTagXmlEmbeddedProfile.
Referenced by icCurvesFromXml(), icCurvesToXml(), icProfDescToXml(), icXmlParseProfDesc(), CIccProfileXml::ParseTag(), CIccTagXmlStruct::ParseTag(), CIccMpeXmlTintArray::ParseXml(), CIccTagXmlArray::ParseXml(), CIccMpeXmlTintArray::ToXml(), CIccTagXmlStruct::ToXml(), CIccTagXmlArray::ToXml(), and CIccProfileXml::ToXmlWithBlanks().
|
inline |
References m_Matrix.
Referenced by icMBBFromXml(), and icMBBToXml().
|
inlinevirtual |
Reimplemented in CIccTagLut8.
|
inlinevirtualinherited |
Reimplemented in CIccTagArray.
References icSigUndefinedArray.
Referenced by icGetTagArrayHandlerOfType(), and CIccProfileXml::ParseTag().
|
inlinevirtualinherited |
Reimplemented in CIccTagStruct.
References icSigUndefinedStruct.
Referenced by icGetTagStructHandlerOfType(), CIccArrayColorantInfo::Validate(), and CIccArrayNamedColor::Validate().
|
inlinevirtualinherited |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented in CIccTagUnknown, CIccTagText, CIccTagUtf8Text, CIccTagZipUtf8Text, CIccTagZipXml, CIccTagUtf16Text, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagCicp, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagSpectralDataInfo, CIccTagSpectralViewingConditions, CIccTagEmbeddedHeightImage, CIccTagEmbeddedNormalImage, CIccTagStruct, CIccTagArray, CIccTagDict, CIccTagEmbeddedProfile, CIccTagCurve, CIccTagParametricCurve, CIccTagSegmentedCurve, CIccTagLutAtoB, CIccTagLutBtoA, CIccTagLut8, CIccTagLut16, CIccTagGamutBoundaryDesc, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.
Referenced by CIccProfileIdDesc::CIccProfileIdDesc(), MyTagDialog::MyTagDialog(), CIccTagArray::AreAllOfType(), Describe(), DumpTag(), CIccPRMG::EvaluateProfile(), CIccTagStruct::FindElemOfType(), CIccStructBRDF::GetBRDFFunction(), CIccStructBRDF::GetBRDFType(), CIccStructNamedColor::getName(), CIccProfileDescText::GetType(), icGetTagArrayHandler(), icGetTagStructHandler(), icGetTagText(), icProfDescToXml(), CDevLinkWriter::iterate(), main(), CIccProfileXml::ParseTag(), CIccProfileDescText::SetType(), CIccMpeXmlTintArray::ToXml(), CIccTagXmlStruct::ToXml(), CIccTagXmlArray::ToXml(), CIccProfileXml::ToXmlWithBlanks(), CIccTagLut8::Validate(), CIccTagLut16::Validate(), CIccArrayUnknown::Validate(), CIccArrayColorantInfo::Validate(), CIccProfileDescText::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
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
References Cleanup(), m_nInput, and m_nOutput.
Referenced by CDevLinkWriter::begin(), and icMBBFromXml().
|
inline |
|
inlinevirtualinherited |
Reimplemented in CIccTagXYZ, CIccTagChromaticity, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, and CIccTagData.
Referenced by MyTagDialog::MyTagDialog(), and DumpTag().
|
inline |
References IsInputMatrix().
Referenced by CIccMBB(), icMBBFromXml(), NewCurvesA(), NewCurvesB(), operator=(), CIccTagLutAtoB::Read(), and CIccTagLutAtoB::Write().
|
inlinevirtual |
References m_bInputMatrix.
Referenced by CIccMBB(), Cleanup(), Describe(), icMBBFromXml(), icMBBToXml(), IsInputB(), NewCurvesM(), operator=(), CIccTagLutAtoB::Read(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::SetColorSpaces(), and CIccTagLutAtoB::Write().
|
inlinevirtual |
Reimplemented from CIccTag.
|
inlinevirtualinherited |
Reimplemented in CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, and CIccTagFloatNum< T, Tsig >.
Referenced by CIccArrayNamedColor::FindDeviceColor(), CIccArrayNamedColor::FindPcsColor(), CIccArrayNamedColor::FindSpectralColor(), CIccTagStruct::GetElemNumberValue(), CIccStructNamedColor::GetNumArray(), CIccMpeXmlTintArray::ParseXml(), and CIccMpeTintArray::Read().
|
inlinevirtualinherited |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. By Default inherited classes are supported. Unknown tag types are not supported.
Returns true if tag type is supported.
Reimplemented in CIccTagUnknown, CIccTagEmbeddedProfile, and CIccTagMultiProcessElement.
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
References CIccCLUT::CIccCLUT(), CIccCLUT::Init(), m_CLUT, m_nInput, and m_nOutput.
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
References CIccCLUT::CIccCLUT(), CIccCLUT::Init(), m_CLUT, m_nInput, and m_nOutput.
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 CIccTagLutAtoB, CIccTagLutBtoA, CIccTagLut8, and CIccTagLut16.
References CIccMBB().
LPIccCurve * CIccMBB::NewCurvesA | ( | ) |
Name: CIccMBB::NewCurvesA
Purpose: Allocates memory for a new set of A-curves
Return: Pointer to the LPIccCurve object
References IsInputB(), m_CurvesA, m_nInput, and m_nOutput.
Referenced by CDevLinkWriter::begin(), icMBBFromXml(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), and CIccTagLut16::Read().
LPIccCurve * CIccMBB::NewCurvesB | ( | ) |
Name: CIccMBB::NewCurvesB
Purpose: Allocates memory for a new set of B-curves
Return: Pointer to the LPIccCurve object
References IsInputB(), m_CurvesB, m_nInput, and m_nOutput.
Referenced by CDevLinkWriter::begin(), icMBBFromXml(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), CIccTagLut8::SetColorSpaces(), and CIccTagLut16::SetColorSpaces().
LPIccCurve * CIccMBB::NewCurvesM | ( | ) |
Name: CIccMBB::NewCurvesM
Purpose: Allocates memory for a new set of M-curves
Return: Pointer to the LPIccCurve object
References IsInputMatrix(), m_CurvesM, m_nInput, and m_nOutput.
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
References m_Matrix.
Referenced by icMBBFromXml(), CIccTagLut8::SetColorSpaces(), and CIccTagLut16::SetColorSpaces().
Name: CIccMBB::operator=
Purpose: Copy Operator
Args: IMBB = The CIccMBB object to be copied
References CIccCLUT::CIccCLUT(), CIccMatrix::CIccMatrix(), Cleanup(), IsInputB(), IsInputMatrix(), 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 |
|
inlinevirtualinherited |
Function: Read(size, pIO) - Read tag from file. Each derived tag will implement it's own Read() function.
Parameter(s): size - number of bytes in tag including the type signature. pIO - IO object used to read in tag. The IO object should already be initialized to point to the begining of the tag.
Returns true if Read is successful.
Reimplemented in CIccTagUnknown, CIccTagText, CIccTagUtf8Text, CIccTagZipUtf8Text, CIccTagUtf16Text, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagCicp, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagSpectralDataInfo, CIccTagSpectralViewingConditions, CIccTagEmbeddedHeightImage, CIccTagEmbeddedNormalImage, CIccTagStruct, CIccTagArray, CIccTagDict, CIccTagEmbeddedProfile, CIccTagCurve, CIccTagParametricCurve, CIccTagSegmentedCurve, CIccTagLutAtoB, CIccTagLut8, CIccTagLut16, CIccTagGamutBoundaryDesc, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.
Referenced by CIccTagStruct::LoadElem(), CIccMpeTintArray::Read(), CIccProfileDescText::Read(), CIccTagArray::Read(), CIccTagLutAtoB::Read(), and CIccTag::Read().
|
inlinevirtualinherited |
Function: Read(size, pIO) - Read tag from file. Each derived tag will implement it's own Read() function.
Parameter(s): size - number of bytes in tag including the type signature. pIO - IO object used to read in tag. The IO object should already be initialized to point to the begining of the tag.
Returns true if Read is successful.
Reimplemented in CIccTagEmbeddedProfile.
References CIccTag::Read().
|
inlinevirtualinherited |
Function: ReadAll() - Read All sub data for tag from file. Called by CIccProfile::ReadAll() to read all sub data for tag
Returns true if ReadAll is successful.
Reimplemented in CIccTagEmbeddedProfile.
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.
References CIccCLUT::GetInputDim(), CIccCLUT::GetOutputChannels(), m_CLUT, m_nInput, and m_nOutput.
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 CIccTagLut8, and CIccTagLut16.
References m_csInput, and m_csOutput.
Referenced by CIccProfileXml::ParseTag(), CIccTagLut8::SetColorSpaces(), and CIccTagLut16::SetColorSpaces().
|
inline |
References m_bUseMCurvesAsBCurves.
Referenced by icMBBToXml().
|
inlinevirtual |
Reimplemented in CIccTagLut16.
|
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 CIccTagLutAtoB, CIccTagLutBtoA, CIccTagLut8, and CIccTagLut16.
References icHeader::colorSpace, CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icGetSpaceSamples(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigAToB3Tag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigBToA3Tag, icSigGamutTag, icSigHToS0Tag, icSigHToS1Tag, icSigHToS2Tag, icSigHToS3Tag, icValidateCriticalError, icValidateWarning, m_CLUT, m_nInput, m_nOutput, icHeader::pcs, CIccTag::Validate(), and CIccCLUT::Validate().
Referenced by CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut8::Validate(), and CIccTagLut16::Validate().
|
virtualinherited |
Function: Validate Each derived tag will implement it's own IsValid() function
Parameter(s): sig - signature of tag being validated, sDescription - A string to put tag validation report.
Name: CIccTag::Validate
Purpose: Check tag data validity. In base class we only look at the tag's reserved data value
Args: sig = signature of tag being validated, sReport = String to add report information to
Return: icValidateStatusOK if valid, or other error status.
Reimplemented in CIccTagGamutBoundaryDesc, CIccTagText, CIccTagUtf8Text, CIccTagZipUtf8Text, CIccTagUtf16Text, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagCicp, CIccTagSparseMatrixArray, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagSpectralDataInfo, CIccTagSpectralViewingConditions, CIccTagEmbeddedHeightImage, CIccTagEmbeddedNormalImage, CIccTagStruct, CIccTagArray, CIccTagDict, CIccTagEmbeddedProfile, CIccTagCurve, CIccTagParametricCurve, CIccTagSegmentedCurve, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.
References CIccInfo::GetSigPathName(), icMsgValidateNonCompliant, icValidateNonCompliant, icValidateOK, and CIccTag::m_nReserved.
Referenced by CIccTagGamutBoundaryDesc::Validate(), Validate(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut8::Validate(), CIccTagLut16::Validate(), CIccArrayUnknown::Validate(), CIccArrayColorantInfo::Validate(), CIccArrayNamedColor::Validate(), CIccStructUnknown::Validate(), CIccTagText::Validate(), CIccTagUtf8Text::Validate(), CIccTagZipUtf8Text::Validate(), CIccTagUtf16Text::Validate(), CIccTagTextDescription::Validate(), CIccTagSignature::Validate(), CIccTagNamedColor2::Validate(), CIccTagXYZ::Validate(), CIccTagChromaticity::Validate(), CIccTagCicp::Validate(), CIccTagNum< T, Tsig >::Validate(), CIccTagFloatNum< T, Tsig >::Validate(), CIccTagMeasurement::Validate(), CIccTagMultiLocalizedUnicode::Validate(), CIccTagData::Validate(), CIccTagDateTime::Validate(), CIccTagColorantOrder::Validate(), CIccTagColorantTable::Validate(), CIccTagViewingConditions::Validate(), CIccTagProfileSeqDesc::Validate(), CIccTagResponseCurveSet16::Validate(), CIccTagSpectralDataInfo::Validate(), CIccTagSpectralViewingConditions::Validate(), CIccTagEmbeddedHeightImage::Validate(), CIccTagEmbeddedNormalImage::Validate(), CIccTagStruct::Validate(), CIccTagArray::Validate(), CIccTagDict::Validate(), CIccTagEmbeddedProfile::Validate(), CIccTagCurve::Validate(), CIccTagParametricCurve::Validate(), and CIccTagProfileSequenceId::Validate().
|
inlinevirtualinherited |
Function: Write(pIO) Each derived tag will implement it's own Write() function.
Parameter(s): pIO - IO object used to write a tag. The IO object should already be initialized to point to the begining of the tag.
Returns true if Write is successful.
Reimplemented in CIccTagUnknown, CIccTagText, CIccTagUtf8Text, CIccTagZipUtf8Text, CIccTagUtf16Text, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagCicp, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagSpectralDataInfo, CIccTagSpectralViewingConditions, CIccTagEmbeddedHeightImage, CIccTagEmbeddedNormalImage, CIccTagStruct, CIccTagArray, CIccTagDict, CIccTagEmbeddedProfile, CIccTagCurve, CIccTagParametricCurve, CIccTagSegmentedCurve, CIccTagLutAtoB, CIccTagLut8, CIccTagLut16, CIccTagGamutBoundaryDesc, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.
Referenced by CIccMpeTintArray::Write(), CIccProfileDescText::Write(), CIccTagStruct::Write(), CIccTagArray::Write(), and CIccTagLutAtoB::Write().
|
protected |
Referenced by CIccMBB(), CIccMBB(), CIccTagLutAtoB::CIccTagLutAtoB(), CIccTagLutBtoA::CIccTagLutBtoA(), IsInputMatrix(), and operator=().
|
protected |
|
protected |
Referenced by CIccMBB(), CIccMBB(), Cleanup(), Describe(), GetCLUT(), NewCLUT(), NewCLUT(), operator=(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), SetCLUT(), Validate(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
|
protected |
Referenced by CIccMBB(), CIccMBB(), Describe(), GetCsInput(), operator=(), and SetColorSpaces().
|
protected |
Referenced by CIccMBB(), CIccMBB(), Describe(), GetCsOutput(), operator=(), and SetColorSpaces().
|
protected |
|
protected |
Referenced by CIccMBB(), CIccMBB(), Cleanup(), Describe(), GetCurvesB(), NewCurvesB(), operator=(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::SetColorSpaces(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagLut8::Validate(), CIccTagLut16::Validate(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
|
protected |
|
protected |
Referenced by CIccMBB(), CIccMBB(), Cleanup(), Describe(), GetMatrix(), NewMatrix(), operator=(), CIccTagLutAtoB::Read(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::SetColorSpaces(), CIccTagLut8::Validate(), CIccTagLut16::Validate(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
|
protected |
Referenced by CIccMBB(), CIccMBB(), Cleanup(), Describe(), Init(), InputChannels(), NewCLUT(), NewCLUT(), NewCurvesA(), NewCurvesB(), NewCurvesM(), operator=(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), SetCLUT(), CIccTagLut8::SetColorSpaces(), CIccTagLut16::SetColorSpaces(), Validate(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
|
protected |
Referenced by CIccMBB(), CIccMBB(), Cleanup(), Describe(), Init(), NewCLUT(), NewCLUT(), NewCurvesA(), NewCurvesB(), NewCurvesM(), operator=(), OutputChannels(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), SetCLUT(), Validate(), CIccTagLutBtoA::Validate(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), and CIccTagLut16::Write().
|
inherited |
Referenced by CIccTag::CIccTag(), CIccTagMultiProcessElement::CIccTagMultiProcessElement(), CIccTagMultiProcessElement::CIccTagMultiProcessElement(), CIccTagMultiProcessElement::operator=(), CIccProfileXml::ParseTag(), CIccTagXmlStruct::ParseTag(), CIccMpeXmlTintArray::ParseXml(), CIccTagXmlArray::ParseXml(), CIccTagText::Read(), CIccTagUtf8Text::Read(), CIccTagZipUtf8Text::Read(), CIccTagUtf16Text::Read(), CIccTagTextDescription::Read(), CIccTagSignature::Read(), CIccTagNamedColor2::Read(), CIccTagXYZ::Read(), CIccTagChromaticity::Read(), CIccTagCicp::Read(), CIccTagSparseMatrixArray::Read(), CIccTagFixedNum< T, Tsig >::Read(), CIccTagNum< T, Tsig >::Read(), CIccTagFloatNum< T, Tsig >::Read(), CIccTagMeasurement::Read(), CIccTagMultiLocalizedUnicode::Read(), CIccTagData::Read(), CIccTagDateTime::Read(), CIccTagColorantOrder::Read(), CIccTagColorantTable::Read(), CIccTagViewingConditions::Read(), CIccTagProfileSeqDesc::Read(), CIccTagResponseCurveSet16::Read(), CIccTagSpectralDataInfo::Read(), CIccTagSpectralViewingConditions::Read(), CIccTagEmbeddedHeightImage::Read(), CIccTagEmbeddedNormalImage::Read(), CIccTagStruct::Read(), CIccTagArray::Read(), CIccTagDict::Read(), CIccTagCurve::Read(), CIccTagParametricCurve::Read(), CIccTagLutAtoB::Read(), CIccTagLut8::Read(), CIccTagLut16::Read(), CIccTagGamutBoundaryDesc::Read(), CIccTagMultiProcessElement::Read(), CIccTagProfileSequenceId::Read(), CIccTagEmbeddedProfile::Read(), CIccTag::Validate(), CIccTagText::Write(), CIccTagUtf8Text::Write(), CIccTagZipUtf8Text::Write(), CIccTagUtf16Text::Write(), CIccTagTextDescription::Write(), CIccTagSignature::Write(), CIccTagNamedColor2::Write(), CIccTagXYZ::Write(), CIccTagChromaticity::Write(), CIccTagCicp::Write(), CIccTagSparseMatrixArray::Write(), CIccTagFixedNum< T, Tsig >::Write(), CIccTagNum< T, Tsig >::Write(), CIccTagFloatNum< T, Tsig >::Write(), CIccTagMeasurement::Write(), CIccTagMultiLocalizedUnicode::Write(), CIccTagData::Write(), CIccTagDateTime::Write(), CIccTagColorantOrder::Write(), CIccTagColorantTable::Write(), CIccTagViewingConditions::Write(), CIccTagProfileSeqDesc::Write(), CIccTagResponseCurveSet16::Write(), CIccTagSpectralDataInfo::Write(), CIccTagSpectralViewingConditions::Write(), CIccTagEmbeddedHeightImage::Write(), CIccTagEmbeddedNormalImage::Write(), CIccTagStruct::Write(), CIccTagArray::Write(), CIccTagDict::Write(), CIccTagEmbeddedProfile::Write(), CIccTagCurve::Write(), CIccTagParametricCurve::Write(), CIccTagLutAtoB::Write(), CIccTagLut8::Write(), CIccTagLut16::Write(), CIccTagGamutBoundaryDesc::Write(), CIccTagMultiProcessElement::Write(), and CIccTagProfileSequenceId::Write().