IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagLut.h>
Public Member Functions | |
CIccMatrix (bool bUseConstants=true) | |
CIccMatrix (const CIccMatrix &MatrixClass) | |
virtual | ~CIccMatrix () |
virtual void | Apply (icFloatNumber *Pixel) const |
void | DumpLut (std::string &sDescription, const icChar *szName, int nVerboseness) |
virtual bool | IsIdentity () |
CIccMatrix & | operator= (const CIccMatrix &MatrixClass) |
icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Data Fields | |
bool | m_bUseConstants |
icFloatNumber | m_e [12] |
Class: CIccMatrix
Purpose: The base matrix class
CIccMatrix::CIccMatrix | ( | bool | bUseConstants = true | ) |
Name: CIccMatrix::CIccMatrix
Purpose: Constructor
Args: bUseConstants = true if the matrix contains additional row for constants
References m_bUseConstants, and m_e.
Referenced by CIccTagLutAtoB::Read().
CIccMatrix::CIccMatrix | ( | const CIccMatrix & | MatrixClass | ) |
Name: CIccMatrix::CIccMatrix
Purpose: Copy Constructor
Args: MatrixClass = The CIccMatrix object to be copied
References m_bUseConstants, and m_e.
Referenced by CIccMBB::CIccMBB(), and CIccMBB::operator=().
|
inlinevirtual |
|
virtual |
Name: CIccMatrix::Apply
Purpose: Multiplies the pixel by the matrix.
Args: Pixel = Pixel to be multiplied by the matrix
References m_bUseConstants, and m_e.
void CIccMatrix::DumpLut | ( | std::string & | sDescription, |
const icChar * | szName, | ||
int | nVerboseness | ||
) |
Name: CIccTagParametricCurve::DumpLut
Purpose: Dump the matrix data to a string.
Args: sDescription = string to concatenate tag dump to, szName = name of the curve to be printed
References m_bUseConstants, and m_e.
Referenced by CIccMBB::Describe().
|
virtual |
Name: CIccMatrix::IsIdentity
Purpose: Checks if the matrix is identity
Return: true if matrix is identity and uses no constants, else false
References IsUnity(), m_bUseConstants, and m_e.
CIccMatrix & CIccMatrix::operator= | ( | const CIccMatrix & | MatrixClass | ) |
Name: CIccMatrix::operator=
Purpose: Copy Operator
Args: MatrixClass = The CIccMatrix object to be copied
References m_bUseConstants, and m_e.
icValidateStatus CIccMatrix::Validate | ( | std::string | sigPath, |
std::string & | sReport, | ||
const CIccProfile * | pProfile = NULL |
||
) | const |
Name: CIccMatrix::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.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMsgValidateNonCompliant, icSigLut16Type, icSigLut8Type, icSigXYZData, icValidateNonCompliant, icValidateOK, m_e, and icHeader::pcs.
Referenced by CIccTagLut8::Validate(), and CIccTagLut16::Validate().
bool CIccMatrix::m_bUseConstants |
icFloatNumber CIccMatrix::m_e[12] |