IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagXml.h>
Public Member Functions | |
virtual | ~CIccTagXmlGamutBoundaryDesc () |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
virtual void | DetachIO () |
virtual const icChar * | GetClassName () const |
virtual IIccExtensionTag * | GetExtension () |
virtual const char * | GetGlassName () const |
icInt32Number | getNumberOfTriangles () |
icInt32Number | getNumberOfVertices () |
icInt16Number | getNumDeviceChannels () |
icInt16Number | getNumPCSChannels () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
bool | getTriangle (icInt32Number triangleNumber, icGamutBoundaryTriangle &triangle) |
virtual icTagTypeSignature | GetType () const |
icFloatNumber * | getVertexDeviceCoord (icInt32Number vertexNumber) |
icFloatNumber * | getVertexPCSCoord (icInt32Number vertexNumber) |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual bool | IsSupported () |
virtual CIccTag * | NewCopy () const |
virtual bool | ParseXml (xmlNode *pNode, std::string &parseStr) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
virtual bool | ReadAll () |
bool | setTriangle (icInt32Number triangleNumber, icGamutBoundaryTriangle &triangle) |
bool | setVertex (icInt32Number vertexNumber, icFloatNumber *pcsCoords, icFloatNumber *deviceCoords=NULL) |
virtual bool | ToXml (std::string &xml, std::string blanks="") |
icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile) const |
virtual bool | Write (CIccIO *pIO) |
Static Public Member Functions | |
static CIccTag * | Create (icTagTypeSignature sig) |
Data Fields | |
icUInt32Number | m_nReserved |
Private Member Functions | |
virtual const char * | GetExtClassName () const |
virtual const char * | GetExtDerivedClassName () const |
|
inlinevirtual |
|
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().
|
virtualinherited |
Name: CIccTagGamutBoundaryDescription::Describe
Purpose: Dump data associated with gamut boundary tag to a string
Args: sDescription - string to concatenate tag dump to
Reimplemented from CIccTag.
References CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, CIccTagGamutBoundaryDesc::m_PCSValues, CIccTagGamutBoundaryDesc::m_Triangles, and icGamutBoundaryTriangle::m_VertexNumbers.
|
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 from CIccTag.
|
inlinevirtualinherited |
Implements IIccExtensionTag.
Referenced by icProfDescToXml(), and icXmlParseProfDesc().
|
inlinevirtualinherited |
|
inlinevirtual |
Reimplemented from CIccTag.
|
inlinevirtual |
|
inlineinherited |
References CIccTagGamutBoundaryDesc::m_NumberOfTriangles.
|
inlineinherited |
References CIccTagGamutBoundaryDesc::m_NumberOfVertices.
|
inlineinherited |
References CIccTagGamutBoundaryDesc::m_nDeviceChannels.
|
inlineinherited |
References CIccTagGamutBoundaryDesc::m_nPCSChannels.
|
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().
|
inherited |
Name: CIccTagGamutBoundaryDescription::getTriangle
Purpose: Dump data associated with gamut boundary tag to a string
Args: triangleNumber = the number of the triangle to set triangle = the triangle to copy from the gamut boundary
Return: true = succesful, false = failure
References CIccTagGamutBoundaryDesc::m_NumberOfTriangles, and CIccTagGamutBoundaryDesc::m_Triangles.
|
inlinevirtualinherited |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
References icSigGamutBoundaryDescType.
Referenced by CIccTagGamutBoundaryDesc::Write().
|
inherited |
Name: CIccTagGamutBoundaryDescription::getVertexDeviceCoord
Purpose: Dump data associated with gamut boundaty tag to a string
Args: vertexNumber = the number of the vertex to get
Return: NULL = failure, otherwise a pointer to the device coordinate
References CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, and CIccTagGamutBoundaryDesc::m_NumberOfVertices.
|
inherited |
Name: CIccTagGamutBoundaryDescription::getVertexPCSCoord
Purpose: Dump data associated with gamut boundary tag to a string
Args: vertexNumber = the number of the vertex to get
Return: NULL = failure, otherwise a pointer to the PCS coordinate
References CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfVertices, and CIccTagGamutBoundaryDesc::m_PCSValues.
|
inlinevirtualinherited |
Reimplemented in CIccTagXYZ, CIccTagChromaticity, CIccTagSparseMatrixArray, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagFloatNum< T, Tsig >, and CIccTagData.
Referenced by MyTagDialog::MyTagDialog(), and DumpTag().
|
inlinevirtualinherited |
Reimplemented in CIccMBB.
Referenced by CIccProfileXml::ParseTag().
|
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.
|
inlinevirtualinherited |
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.
References CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc().
|
virtual |
Implements CIccTagXml.
References CIccXmlArrayType< T, Tsig >::GetBuf(), CIccXmlArrayType< T, Tsig >::GetSize(), icXmlAttrValue(), icXmlFindNode(), CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, CIccTagGamutBoundaryDesc::m_PCSValues, CIccTagGamutBoundaryDesc::m_Triangles, icGamutBoundaryTriangle::m_VertexNumbers, and CIccXmlArrayType< T, Tsig >::ParseArray().
|
virtualinherited |
Name: CIccTagGamutBoundaryDescription::Read
Purpose: Read in an gamut boundary tag type 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.
References CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTag::m_nReserved, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, CIccTagGamutBoundaryDesc::m_PCSValues, CIccTagGamutBoundaryDesc::m_Triangles, CIccIO::Read16(), CIccIO::Read32(), and CIccIO::ReadFloat32Float().
|
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.
|
inherited |
Name: CIccTagGamutBoundaryDescription::setTriangle
Purpose: Dump data associated with gamut boundary tag to a string
Args: triangleNumber = the number of the triangle to set triangle = the triangle to copy into the gamut boundary
Return: true = succesful, false = failure
References CIccTagGamutBoundaryDesc::m_NumberOfTriangles, and CIccTagGamutBoundaryDesc::m_Triangles.
|
inherited |
Name: CIccTagGamutBoundaryDescription::setVertex
Purpose: Dump data associated with gamut boundary tag to a string
Args: vertexNumber = the number of the vertex to set pcsCoords = the pcs coordinates of the vertex deviceCoords = the device coordinates of the vertex
Return: true = succesful, false = failure
References CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfVertices, and CIccTagGamutBoundaryDesc::m_PCSValues.
|
virtual |
Implements CIccTagXml.
References CIccXmlArrayType< T, Tsig >::DumpArray(), icConvertFloat, CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, CIccTagGamutBoundaryDesc::m_PCSValues, CIccTagGamutBoundaryDesc::m_Triangles, and icGamutBoundaryTriangle::m_VertexNumbers.
|
virtualinherited |
Name: CIccTagGamutBoundaryDescription::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.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateWarning, icValidateWarning, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, and CIccTag::Validate().
|
virtualinherited |
Name: CIccTagGamutBoundaryDescription::Write
Purpose: Write a gamut boundary type tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
Reimplemented from CIccTag.
References CIccIO::GetLength(), CIccTagGamutBoundaryDesc::GetType(), CIccTagGamutBoundaryDesc::m_DeviceValues, CIccTagGamutBoundaryDesc::m_nDeviceChannels, CIccTagGamutBoundaryDesc::m_nPCSChannels, CIccTag::m_nReserved, CIccTagGamutBoundaryDesc::m_NumberOfTriangles, CIccTagGamutBoundaryDesc::m_NumberOfVertices, CIccTagGamutBoundaryDesc::m_PCSValues, CIccTagGamutBoundaryDesc::m_Triangles, CIccIO::Write16(), CIccIO::Write32(), and CIccIO::WriteFloat32Float().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::~CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getVertexDeviceCoord(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setVertex(), ToXml(), and CIccTagGamutBoundaryDesc::Write().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getNumDeviceChannels(), CIccTagGamutBoundaryDesc::getVertexDeviceCoord(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setVertex(), ToXml(), and CIccTagGamutBoundaryDesc::Write().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getNumPCSChannels(), CIccTagGamutBoundaryDesc::getVertexPCSCoord(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setVertex(), ToXml(), CIccTagGamutBoundaryDesc::Validate(), and CIccTagGamutBoundaryDesc::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().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getNumberOfTriangles(), CIccTagGamutBoundaryDesc::getTriangle(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setTriangle(), ToXml(), CIccTagGamutBoundaryDesc::Validate(), and CIccTagGamutBoundaryDesc::Write().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getNumberOfVertices(), CIccTagGamutBoundaryDesc::getVertexDeviceCoord(), CIccTagGamutBoundaryDesc::getVertexPCSCoord(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setVertex(), ToXml(), CIccTagGamutBoundaryDesc::Validate(), and CIccTagGamutBoundaryDesc::Write().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::~CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getVertexPCSCoord(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setVertex(), ToXml(), and CIccTagGamutBoundaryDesc::Write().
|
protectedinherited |
Referenced by CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::~CIccTagGamutBoundaryDesc(), CIccTagGamutBoundaryDesc::Describe(), CIccTagGamutBoundaryDesc::getTriangle(), CIccTagGamutBoundaryDesc::operator=(), ParseXml(), CIccTagGamutBoundaryDesc::Read(), CIccTagGamutBoundaryDesc::setTriangle(), ToXml(), and CIccTagGamutBoundaryDesc::Write().