Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagCurve. More...
#include <IccTagLut.h>
Public Member Functions | |
virtual icFloatNumber | Apply (icFloatNumber v) const |
Name: CIccTagCurve::Apply. | |
virtual void | Begin () |
CIccTagCurve (const CIccTagCurve &ITCurve) | |
Name: CIccTagCurve::CIccTagCurve. | |
CIccTagCurve (int nSize=0) | |
Name: CIccTagCurve::CIccTagCurve. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagCurve::Describe. | |
virtual void | DumpLut (std::string &sDescription, const icChar *szName, icColorSpaceSignature csSig, int nIndex, int nVerboseness) |
Name: CIccTagCurve::DumpLut. | |
virtual const icChar * | GetClassName () const |
icFloatNumber * | GetData (icUInt32Number index) |
icUInt32Number | GetSize () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual bool | IsIdentity () |
Name: CIccTagCurve::IsIdentity. | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagCurve & | operator= (const CIccTagCurve &CurveTag) |
Name: CIccTagCurve::operator=. | |
icFloatNumber & | operator[] (icUInt32Number index) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagCurve::Read. | |
bool | SetGamma (icFloatNumber gamma) |
Name: refIccMAX::CIccTagCurve::SetGamma. | |
bool | SetSize (icUInt32Number nSize, icTagCurveSizeInit nSizeOpt=icInitZero) |
Name: CIccTagCurve::SetSize. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagCurve::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagCurve::Write. | |
virtual | ~CIccTagCurve () |
Name: CIccTagCurve::~CIccTagCurve. | |
![]() | |
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. | |
Protected Attributes | |
icFloatNumber * | m_Curve |
icUInt16Number | m_nMaxIndex |
icUInt32Number | m_nSize |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
![]() | |
icFloatNumber | Find (icFloatNumber v, icFloatNumber p0, icFloatNumber v0, icFloatNumber p1, icFloatNumber v1) |
Name: CIccCurve::Find. | |
CIccTagCurve::CIccTagCurve | ( | int | nSize = 0 | ) |
Name: CIccTagCurve::CIccTagCurve.
Purpose: Constructor
Definition at line 143 of file IccTagLut.cpp.
CIccTagCurve::CIccTagCurve | ( | const CIccTagCurve & | ITCurve | ) |
Name: CIccTagCurve::CIccTagCurve.
Purpose: Copy Constructor
Args: ITCurve = The CIccTagCurve object to be copied
Definition at line 163 of file IccTagLut.cpp.
References m_Curve, m_nMaxIndex, and m_nSize.
|
virtual |
Name: CIccTagCurve::~CIccTagCurve.
Purpose: Destructor
Definition at line 208 of file IccTagLut.cpp.
|
virtual |
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.
Definition at line 568 of file IccTagLut.cpp.
Referenced by CIccTagLut8::Write().
|
inlinevirtual |
|
virtual |
Name: CIccTagCurve::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 318 of file IccTagLut.cpp.
References icColorValue(), and icSigMCH1Data.
|
virtual |
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.
Definition at line 378 of file IccTagLut.cpp.
References icColorValue(), and szName.
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlCurve.
Definition at line 137 of file IccTagLut.h.
|
inline |
Definition at line 147 of file IccTagLut.h.
|
inline |
Definition at line 148 of file IccTagLut.h.
Referenced by CIccTagLut16::Validate(), CIccTagLut8::Validate(), and CIccTagLut8::Write().
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 136 of file IccTagLut.h.
References icSigCurveType.
|
virtual |
Name: CIccTagCurve::IsIdentity.
Purpose: Checks if this is an identity curve.
Return: true if the curve is an identity
Reimplemented from CIccCurve.
Definition at line 535 of file IccTagLut.cpp.
References IsUnity(), and VERYSMALLNUM.
|
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 133 of file IccTagLut.h.
CIccTagCurve & CIccTagCurve::operator= | ( | const CIccTagCurve & | CurveTag | ) |
Name: CIccTagCurve::operator=.
Purpose: Copy Operator
Args: CurveTag = The CIccTagCurve object to be copied
Definition at line 183 of file IccTagLut.cpp.
References m_Curve, m_nMaxIndex, and m_nSize.
|
inline |
Definition at line 146 of file IccTagLut.h.
|
virtual |
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.
Definition at line 229 of file IccTagLut.cpp.
References icInitNone, CIccIO::Read32(), CIccIO::ReadUInt16Float(), and sig.
bool CIccTagCurve::SetGamma | ( | icFloatNumber | gamma | ) |
Name: refIccMAX::CIccTagCurve::SetGamma.
Purpose: Set the curve with a single gamma value.
Args: gamma - gamma value to use
Definition at line 502 of file IccTagLut.cpp.
References icInitNone.
bool CIccTagCurve::SetSize | ( | icUInt32Number | nSize, |
icTagCurveSizeInit | nSizeOpt = icInitZero ) |
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
Definition at line 439 of file IccTagLut.cpp.
References icInitIdentity, icInitNone, icInitZero, and icRealloc().
Referenced by CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLut16::SetColorSpaces(), and CIccTagLut8::SetColorSpaces().
|
virtual |
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.
Definition at line 613 of file IccTagLut.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMaxStatus(), icMsgValidateWarning, icSigBlueTRCTag, icSigGrayTRCTag, icSigGreenTRCTag, icSigRedTRCTag, icValidateWarning, sig, and CIccTag::Validate().
|
virtual |
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.
Definition at line 282 of file IccTagLut.cpp.
References CIccIO::Align32(), sig, CIccIO::Write32(), and CIccIO::WriteUInt16Float().
|
protected |
Definition at line 158 of file IccTagLut.h.
Referenced by CIccTagCurve(), and operator=().
|
protected |
Definition at line 160 of file IccTagLut.h.
Referenced by CIccTagCurve(), and operator=().
|
protected |
Definition at line 159 of file IccTagLut.h.
Referenced by CIccTagCurve(), and operator=().