#include <IccTagLut.h>
Inheritance diagram for CIccTagCurve:
Public Member Functions | |
CIccTagCurve (int nSize=0) | |
CIccTagCurve (const CIccTagCurve &ITCurve) | |
CIccTagCurve & | operator= (const CIccTagCurve &CurveTag) |
virtual CIccTag * | NewCopy () const |
virtual | ~CIccTagCurve () |
virtual icTagTypeSignature | GetType () |
virtual const icChar * | GetClassName () |
virtual void | Describe (std::string &sDescription) |
virtual void | DumpLut (std::string &sDescription, const icChar *szName, icColorSpaceSignature csSig, int nIndex) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Write (CIccIO *pIO) |
icFloatNumber & | operator[] (icUInt32Number index) |
icFloatNumber * | GetData (icUInt32Number index) |
icUInt32Number | GetSize () const |
void | SetSize (icUInt32Number nSize, icTagCurveSizeInit nSizeOpt=icInitZero) |
void | SetGamma (icFloatNumber gamma) |
virtual void | Begin () |
virtual icFloatNumber | Apply (icFloatNumber v) |
virtual icValidateStatus | Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const |
virtual bool | IsIdentity () |
Protected Attributes | |
icFloatNumber * | m_Curve |
icUInt32Number | m_nSize |
icUInt16Number | m_nMaxIndex |
Purpose: The curveType tag
|
Name: CIccTagCurve::CIccTagCurve Purpose: Constructor |
|
Name: CIccTagCurve::CIccTagCurve Purpose: Copy Constructor Args: ITCurve = The CIccTagCurve object to be copied |
|
Name: CIccTagCurve::~CIccTagCurve Purpose: Destructor |
|
Name: CIccTagCurve::Apply Purpose: Applies the curve to the value passed. Args: v = value to be passed through the curve. Return: The value modified by the curve. Reimplemented from CIccCurve. |
|
Reimplemented from CIccCurve. |
|
Name: CIccTagCurve::Describe Purpose: Dump data associated with the tag to a string Args: sDescription - string to concatenate tag dump to Reimplemented from CIccTag. |
|
Name: CIccTagCurve::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 LUT data, nIndex = the channel number of color space Reimplemented from CIccCurve. |
|
Reimplemented from CIccTag. |
|
|
|
|
|
Function: GetType() Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function. Reimplemented from CIccTag. |
|
Name: CIccTagCurve::IsIdentity Purpose: Checks if this is an identity curve. Return: true if the curve is an identity Reimplemented from CIccCurve. |
|
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. |
|
Name: CIccTagCurve::operator= Purpose: Copy Operator Args: CurveTag = The CIccTagCurve object to be copied |
|
|
|
Name: CIccTagCurve::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. |
|
Name: sampleICC::CIccTagCurve::SetGamma Purpose: Set the curve with a single gamma value. Args: gamma - gamma value to use |
|
Name: CIccTagCurve::SetSize Purpose: Sets the size of the curve array. Args: nSize - number of entries in the curve, nSizeOpt - flag to zero newly formed values |
|
Name: CIccTagCurve::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. |
|
Name: CIccTagCurve::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. |
|
|
|
|
|
|