Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagParametricCurve. More...
#include <IccTagLut.h>
Public Member Functions | |
virtual icFloatNumber | Apply (icFloatNumber v) const |
Name: CIccTagParametricCurve::Apply. | |
CIccTagParametricCurve () | |
Name: CIccTagParametricCurve::CIccTagParametricCurve. | |
CIccTagParametricCurve (const CIccTagParametricCurve &ITPC) | |
Name: CIccTagParametricCurve::CIccTagParametricCurve. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagParametricCurve::Describe. | |
virtual void | DumpLut (std::string &sDescription, const icChar *szName, icColorSpaceSignature csSig, int nIndex, int nVerboseness) |
Name: CIccTagParametricCurve::DumpLut. | |
virtual const icChar * | GetClassName () const |
icUInt16Number | GetFunctionType () const |
icUInt16Number | GetNumParam () const |
icFloatNumber * | GetParams () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual bool | IsIdentity () |
Name: CIccTagParametricCurve::IsIdentity. | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagParametricCurve & | operator= (const CIccTagParametricCurve &ParamCurveTag) |
Name: CIccTagParametricCurve::operator=. | |
icFloatNumber & | operator[] (int index) |
icFloatNumber | Param (int index) const |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagParametricCurve::Read. | |
bool | SetFunctionType (icUInt16Number nFunctionType) |
Name: CIccTagParametricCurve::SetFunctionType. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagParametricCurve::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagParametricCurve::Write. | |
virtual | ~CIccTagParametricCurve () |
Name: CIccTagParametricCurve::~CIccTagParametricCurve. | |
![]() | |
virtual void | Begin () |
CIccCurve () | |
icFloatNumber | Find (icFloatNumber v) |
virtual | ~CIccCurve () |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
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 | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Public Attributes | |
icUInt16Number | m_nReserved2 |
![]() | |
icUInt32Number | m_nReserved |
Protected Attributes | |
icFloatNumber * | m_dParam |
icUInt16Number | m_nFunctionType |
icUInt16Number | m_nNumParam |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icFloatNumber | Find (icFloatNumber v, icFloatNumber p0, icFloatNumber v0, icFloatNumber p1, icFloatNumber v1) |
Name: CIccCurve::Find. | |
Class: CIccTagParametricCurve.
Purpose: The parametric curve type tag
Definition at line 170 of file IccTagLut.h.
CIccTagParametricCurve::CIccTagParametricCurve | ( | ) |
Name: CIccTagParametricCurve::CIccTagParametricCurve.
Purpose: Constructor
Definition at line 646 of file IccTagLut.cpp.
CIccTagParametricCurve::CIccTagParametricCurve | ( | const CIccTagParametricCurve & | ITPC | ) |
Name: CIccTagParametricCurve::CIccTagParametricCurve.
Purpose: Copy Constructor
Args: ITPC = The CIccTagParametricCurve object to be copied
Definition at line 665 of file IccTagLut.cpp.
References m_dParam, m_nFunctionType, and m_nNumParam.
|
virtual |
Name: CIccTagParametricCurve::~CIccTagParametricCurve.
Purpose: Destructor
Definition at line 711 of file IccTagLut.cpp.
|
virtual |
Name: CIccTagParametricCurve::Apply.
Purpose: Applies the curve to the value passed.
Args: x = value to be passed through the curve.
Return: The value modified by the curve.
Reimplemented from CIccCurve.
Definition at line 1024 of file IccTagLut.cpp.
|
virtual |
Name: CIccTagParametricCurve::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 833 of file IccTagLut.cpp.
|
virtual |
Name: CIccTagParametricCurve::DumpLut.
Purpose: Dump data associated with the tag to a string. Basically has the same function as Describe()
Args: sDescription = string to concatenate tag dump to, szName = name of the curve to be printed, csSig = color space signature of the curve data, nIndex = the channel number of color space
Reimplemented from CIccCurve.
Definition at line 917 of file IccTagLut.cpp.
References szName.
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlParametricCurve.
Definition at line 180 of file IccTagLut.h.
|
inline |
Definition at line 191 of file IccTagLut.h.
|
inline |
Definition at line 193 of file IccTagLut.h.
|
inline |
Definition at line 194 of file IccTagLut.h.
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 179 of file IccTagLut.h.
References icSigParametricCurveType.
|
virtual |
Name: CIccTagParametricCurve::IsIdentity.
Purpose: Checks if this is an identity curve.
Return: true if the curve is an identity
Reimplemented from CIccCurve.
Definition at line 994 of file IccTagLut.cpp.
References IsUnity().
|
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 CIccCurve.
Definition at line 176 of file IccTagLut.h.
CIccTagParametricCurve & CIccTagParametricCurve::operator= | ( | const CIccTagParametricCurve & | ParamCurveTag | ) |
Name: CIccTagParametricCurve::operator=.
Purpose: Copy Operator
Args: ParamCurveTag = The CIccTagParametricCurve object to be copied
Definition at line 686 of file IccTagLut.cpp.
References m_dParam, m_nFunctionType, and m_nNumParam.
|
inline |
Definition at line 196 of file IccTagLut.h.
|
inline |
Definition at line 195 of file IccTagLut.h.
|
virtual |
Name: CIccTagParametricCurve::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 732 of file IccTagLut.cpp.
References icFtoD(), CIccIO::Read16(), CIccIO::Read32(), and sig.
bool CIccTagParametricCurve::SetFunctionType | ( | icUInt16Number | nFunctionType | ) |
Name: CIccTagParametricCurve::SetFunctionType.
Purpose: Sets the type of the function the Parametric curve represents
Args: nFunctionType = the type of the function encoded as 0-4
Return: always true!!
Definition at line 941 of file IccTagLut.cpp.
|
virtual |
Name: CIccTagParametricCurve::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.
Definition at line 1090 of file IccTagLut.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateNonCompliant, icMsgValidateWarning, icSigBlueTRCTag, icSigGrayTRCTag, icSigGreenTRCTag, icSigRedTRCTag, icValidateCriticalError, icValidateNonCompliant, icValidateWarning, sig, and CIccTag::Validate().
|
virtual |
Name: CIccTagParametricCurve::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 791 of file IccTagLut.cpp.
References CIccIO::Align32(), icDtoF(), sig, CIccIO::Write16(), and CIccIO::Write32().
|
protected |
Definition at line 208 of file IccTagLut.h.
Referenced by CIccTagParametricCurve(), and operator=().
|
protected |
Definition at line 204 of file IccTagLut.h.
Referenced by CIccTagParametricCurve(), and operator=().
|
protected |
Definition at line 205 of file IccTagLut.h.
Referenced by CIccTagParametricCurve(), and operator=().
icUInt16Number CIccTagParametricCurve::m_nReserved2 |
Definition at line 202 of file IccTagLut.h.