IccMAX 2.1.27
Color Profile Tools
|
Public Member Functions | |
CIccSampledCurveSegmentXml (icFloatNumber start, icFloatNumber end) | |
virtual icFloatNumber | Apply (icFloatNumber v) const |
virtual bool | Begin (CIccCurveSegment *pPrevSeg) |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
icFloatNumber | EndPoint () |
virtual const icChar * | GetClassName () const |
virtual icFloatNumber * | GetSamples () |
virtual icUInt32Number | GetSize () |
virtual icCurveSegSignature | GetType () const |
virtual CIccCurveSegment * | NewCopy () const |
bool | ParseXml (xmlNode *pNode, std::string &parseStr) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | SetSize (icUInt32Number nSize, bool bZeroAlloc=true) |
icFloatNumber | StartPoint () |
bool | ToXml (std::string &xml, std::string blanks) |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL, const CIccProfile *pProfile=NULL) const |
virtual bool | Write (CIccIO *pIO) |
Static Public Member Functions | |
static CIccCurveSegment * | Create (icCurveSegSignature sig, icFloatNumber start, icFloatNumber end) |
Protected Attributes | |
icFloatNumber | m_endPoint |
icFloatNumber | m_last |
icUInt32Number | m_nCount |
icUInt32Number | m_nReserved |
icFloatNumber * | m_pSamples |
icFloatNumber | m_range |
icFloatNumber | m_startPoint |
|
inline |
References CIccSampledCurveSegment::CIccSampledCurveSegment().
Referenced by CIccSegmentedCurveXml::ParseXml().
|
virtualinherited |
Name: CIccSampledCurveSegment::Apply
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccCurveSegment::m_endPoint, CIccSampledCurveSegment::m_last, CIccSampledCurveSegment::m_pSamples, CIccSampledCurveSegment::m_range, and CIccCurveSegment::m_startPoint.
|
virtualinherited |
Name: CIccSampledCurveSegment::Begin
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccCurveSegment::Apply(), CIccCurveSegment::m_endPoint, CIccSampledCurveSegment::m_last, CIccSampledCurveSegment::m_nCount, CIccSampledCurveSegment::m_pSamples, CIccSampledCurveSegment::m_range, and CIccCurveSegment::m_startPoint.
|
staticinherited |
Name: CIccCurveSegment::Create
Purpose:
Args:
Return:
References CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), icSigFormulaCurveSeg, and icSigSampledCurveSeg.
Referenced by CIccSegmentedCurve::Read().
|
virtualinherited |
Name: CIccSampledCurveSegment::Describe
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccCurveSegment::m_endPoint, CIccSampledCurveSegment::m_nCount, CIccSampledCurveSegment::m_pSamples, and CIccCurveSegment::m_startPoint.
|
inlineinherited |
References CIccCurveSegment::m_endPoint.
Referenced by CIccSegmentedCurve::Apply(), and CIccSegmentedCurve::Insert().
|
inlinevirtualinherited |
Implements CIccCurveSegment.
|
inlinevirtualinherited |
References CIccSampledCurveSegment::m_pSamples.
|
inlinevirtualinherited |
References CIccSampledCurveSegment::m_nCount.
|
inlinevirtualinherited |
Implements CIccCurveSegment.
References icSigSampledCurveSeg.
Referenced by CIccSampledCurveSegment::Write().
|
inlinevirtualinherited |
Implements CIccCurveSegment.
References CIccSampledCurveSegment::CIccSampledCurveSegment().
bool CIccSampledCurveSegmentXml::ParseXml | ( | xmlNode * | pNode, |
std::string & | parseStr | ||
) |
References CIccXmlArrayType< T, Tsig >::GetBuf(), CIccIO::GetLength(), CIccXmlArrayType< T, Tsig >::GetSize(), IccOpenFileIO(), icF16toF(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, icXmlAttrValue(), icXmlAttrValue(), icXmlFindAttr(), CIccSampledCurveSegment::m_pSamples, CIccXmlArrayType< T, Tsig >::ParseArray(), CIccXmlArrayType< T, Tsig >::ParseTextArrayNum(), CIccIO::Read16(), CIccIO::Read8(), CIccIO::ReadFloat32Float(), and CIccSampledCurveSegment::SetSize().
Referenced by CIccSegmentedCurveXml::ParseXml().
|
virtualinherited |
Name: CIccSampledCurveSegment::Read
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccSampledCurveSegment::m_nCount, CIccCurveSegment::m_nReserved, CIccSampledCurveSegment::m_pSamples, CIccIO::Read32(), CIccIO::ReadFloat32Float(), and CIccSampledCurveSegment::SetSize().
|
virtualinherited |
Name: CIccSampledCurveSegment::SetSize
Purpose: Sets size of sampled lookup table. Previous data (if exists) is lost.
Args: nCount = number of elements in lut (must be >= 2). Note: the m_pSample[0] is initialized from the the previous segment. It is not saved as part of Write(), or loaded as part of Read(). It will be initialized during the call to Begin(), The actual count of elements written to the file will be nCount-1 bZeroAlloc = flag to decide if memory should be set to zero.
Return: true if allocation successful.
References CIccSampledCurveSegment::m_nCount, and CIccSampledCurveSegment::m_pSamples.
Referenced by ParseXml(), and CIccSampledCurveSegment::Read().
|
inlineinherited |
References CIccCurveSegment::m_startPoint.
Referenced by CIccSegmentedCurve::Insert(), and CIccSegmentedCurve::Write().
bool CIccSampledCurveSegmentXml::ToXml | ( | std::string & | xml, |
std::string | blanks | ||
) |
References CIccXmlArrayType< T, Tsig >::DumpArray(), icConvertFloat, icSegPos(), CIccCurveSegment::m_endPoint, CIccSampledCurveSegment::m_nCount, CIccSampledCurveSegment::m_pSamples, and CIccCurveSegment::m_startPoint.
Referenced by CIccSegmentedCurveXml::ToXml().
|
virtualinherited |
Name: CIccSampledCurveSegment::Validate
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, CIccCurveSegment::m_endPoint, CIccSampledCurveSegment::m_nCount, CIccCurveSegment::m_nReserved, and CIccCurveSegment::m_startPoint.
|
virtualinherited |
Name: CIccSampledCurveSegment::Write
Purpose:
Args:
Return:
Implements CIccCurveSegment.
References CIccSampledCurveSegment::GetType(), CIccSampledCurveSegment::m_nCount, CIccCurveSegment::m_nReserved, CIccSampledCurveSegment::m_pSamples, CIccIO::Write32(), and CIccIO::WriteFloat32Float().
|
protectedinherited |
Referenced by CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::Apply(), CIccSampledCurveSegment::Begin(), CIccFormulaCurveSegment::Describe(), CIccSampledCurveSegment::Describe(), CIccCurveSegment::EndPoint(), CIccFormulaCurveSegment::operator=(), CIccSampledCurveSegment::operator=(), CIccFormulaCurveSegmentXml::ToXml(), ToXml(), and CIccSampledCurveSegment::Validate().
|
protectedinherited |
|
protectedinherited |
Referenced by CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::Begin(), CIccSampledCurveSegment::Describe(), CIccSampledCurveSegment::GetSize(), CIccSampledCurveSegment::operator=(), CIccSampledCurveSegment::Read(), CIccSampledCurveSegment::SetSize(), ToXml(), CIccSampledCurveSegment::Validate(), and CIccSampledCurveSegment::Write().
|
protectedinherited |
Referenced by CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccFormulaCurveSegment::operator=(), CIccSampledCurveSegment::operator=(), CIccFormulaCurveSegment::Read(), CIccSampledCurveSegment::Read(), CIccFormulaCurveSegmentXml::ToXml(), CIccFormulaCurveSegment::Validate(), CIccSampledCurveSegment::Validate(), CIccFormulaCurveSegment::Write(), and CIccSampledCurveSegment::Write().
|
protectedinherited |
Referenced by CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::~CIccSampledCurveSegment(), CIccSampledCurveSegment::Apply(), CIccSampledCurveSegment::Begin(), CIccSampledCurveSegment::Describe(), CIccSampledCurveSegment::GetSamples(), CIccSampledCurveSegment::operator=(), ParseXml(), CIccSampledCurveSegment::Read(), CIccSampledCurveSegment::SetSize(), ToXml(), and CIccSampledCurveSegment::Write().
|
protectedinherited |
|
protectedinherited |
Referenced by CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccFormulaCurveSegment::CIccFormulaCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::CIccSampledCurveSegment(), CIccSampledCurveSegment::Apply(), CIccSampledCurveSegment::Begin(), CIccFormulaCurveSegment::Describe(), CIccSampledCurveSegment::Describe(), CIccFormulaCurveSegment::operator=(), CIccSampledCurveSegment::operator=(), CIccCurveSegment::StartPoint(), CIccFormulaCurveSegmentXml::ToXml(), ToXml(), and CIccSampledCurveSegment::Validate().