Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Type: Class. More...
#include <IccMatrixMath.h>
Static Public Member Functions | |
static CIccMatrixMath * | rangeMap (const icSpectralRange &from, const icSpectralRange &to) |
Name: CIccMatrixMath::rangeMap. | |
Protected Attributes | |
icUInt16Number | m_nCols |
icUInt16Number | m_nRows |
icFloatNumber * | m_vals |
Type: Class.
Purpose: Object for performing matrix/vector math
Definition at line 93 of file IccMatrixMath.h.
CIccMatrixMath::CIccMatrixMath | ( | icUInt16Number | nRows, |
icUInt16Number | nCols, | ||
bool | bInitIdentity = false ) |
Name: CIccMatrixMath::CIccMatrixMath.
Purpose: Constructor
Definition at line 94 of file IccMatrixMath.cpp.
CIccMatrixMath::CIccMatrixMath | ( | const CIccMatrixMath & | matrix | ) |
Name: CIccMatrixMath::CIccMatrixMath.
Purpose: Copy Constructor
Definition at line 121 of file IccMatrixMath.cpp.
|
virtual |
Name: CIccMatrixMath::~CIccMatrixMath.
Purpose: Destructor
Definition at line 139 of file IccMatrixMath.cpp.
|
virtual |
Name: CIccMatrixMath::dump.
Purpose: dumps the context of the step
Definition at line 177 of file IccMatrixMath.cpp.
References ICCMTXSTEPDUMPFMT.
|
inline |
Definition at line 111 of file IccMatrixMath.h.
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeEmissionMatrix::Begin(), CIccMpeEmissionObserver::Begin(), CIccMpeInvEmissionMatrix::Begin(), CIccMpeReflectanceCLUT::Begin(), CIccMpeReflectanceObserver::Begin(), IIccProfileConnectionConditions::getEmissiveObserver(), CIccTagSpectralViewingConditions::getObserverMatrix(), and Mult().
|
inline |
Definition at line 112 of file IccMatrixMath.h.
|
inlinevirtual |
Definition at line 101 of file IccMatrixMath.h.
|
inlinevirtual |
Definition at line 102 of file IccMatrixMath.h.
bool CIccMatrixMath::Invert | ( | ) |
Name: CIccMatrixMath::Invert.
Purpose: Inverts the matrix
Definition at line 276 of file IccMatrixMath.cpp.
References icMatrixInvert3x3().
|
virtual |
Name: CIccMatrixMath::isIdentityMtx.
Purpose: Determines if applying this step will result in negligible change in data
Definition at line 320 of file IccMatrixMath.cpp.
References icNearRange.
CIccMatrixMath * CIccMatrixMath::Mult | ( | const CIccMatrixMath * | matrix | ) | const |
Name: CIccMatrixMath::Mult.
Purpose: Creates a new CIccMatrixMath that is the result of concatentating another matrix with this matrix. (IE result = matrix * this).
Definition at line 202 of file IccMatrixMath.cpp.
References entry(), m_nCols, and m_nRows.
Referenced by CIccMpeReflectanceCLUT::Begin(), CIccMpeReflectanceObserver::Begin(), and IIccProfileConnectionConditions::getReflectanceObserver().
|
static |
Name: CIccMatrixMath::rangeMap.
Purpose: This helper function generates a matrix math object that can be used to convert spectral vectors from one spectral range to another using linear interpolation.
Definition at line 409 of file IccMatrixMath.cpp.
References icSpectralRange::end, SetRange(), icSpectralRange::start, and icSpectralRange::steps.
Referenced by CIccTagSpectralViewingConditions::applyRangeToObserver(), CIccMpeReflectanceCLUT::Begin(), CIccMpeReflectanceObserver::Begin(), IIccProfileConnectionConditions::getEmissiveObserver(), IIccProfileConnectionConditions::getObserverIlluminantScaleFactor(), IIccProfileConnectionConditions::getObserverWhiteScaleFactor(), and IIccProfileConnectionConditions::getReflectanceObserver().
icFloatNumber CIccMatrixMath::RowSum | ( | icUInt16Number | nRow | ) | const |
Name: CIccMatrixMath::RowSum.
Purpose: Creates a new CIccMatrixMath step that is the result of multiplying the matrix of this object to the scale of another object.
Definition at line 297 of file IccMatrixMath.cpp.
Referenced by IIccProfileConnectionConditions::getReflectanceObserver().
void CIccMatrixMath::Scale | ( | icFloatNumber | v | ) |
Name: CIccMatrixMath::Scale.
Purpose: Multiplies all values in matrix by a single scale factor
Definition at line 257 of file IccMatrixMath.cpp.
Referenced by IIccProfileConnectionConditions::getReflectanceObserver().
bool CIccMatrixMath::SetRange | ( | const icSpectralRange & | srcRange, |
const icSpectralRange & | dstRange ) |
Name: CIccMatrixMath::SetRange.
Purpose: Fills a matrix math object that can be used to convert spectral vectors from one spectral range to another using linear interpolation.
Definition at line 353 of file IccMatrixMath.cpp.
References icSpectralRange::end, icF16toF(), icSpectralRange::start, and icSpectralRange::steps.
Referenced by rangeMap().
|
virtual |
Name: CIccMatrixMath::VectorMult.
Purpose: Multiplies pSrc vector passed by a matrix resulting in a pDst vector
Definition at line 154 of file IccMatrixMath.cpp.
Referenced by CIccMpeSpectralObserver::Apply(), CIccTagSpectralViewingConditions::applyRangeToObserver(), CIccMpeEmissionCLUT::Begin(), CIccMpeEmissionMatrix::Begin(), CIccMpeEmissionObserver::Begin(), CIccMpeInvEmissionMatrix::Begin(), CIccMpeReflectanceCLUT::Begin(), CIccMpeReflectanceObserver::Begin(), IIccProfileConnectionConditions::getEmissiveObserver(), IIccProfileConnectionConditions::getObserverIlluminantScaleFactor(), CIccTagSpectralViewingConditions::getObserverMatrix(), and IIccProfileConnectionConditions::getObserverWhiteScaleFactor().
void CIccMatrixMath::VectorScale | ( | const icFloatNumber * | vec | ) |
Name: CIccMatrixMath::VectorScale.
Purpose: Multiplies each row by values of vector passed in
Definition at line 238 of file IccMatrixMath.cpp.
Referenced by IIccProfileConnectionConditions::getReflectanceObserver().
|
protected |
Definition at line 125 of file IccMatrixMath.h.
Referenced by CIccMatrixMath(), and Mult().
|
protected |
Definition at line 125 of file IccMatrixMath.h.
Referenced by CIccMatrixMath(), and Mult().
|
protected |
Definition at line 126 of file IccMatrixMath.h.
Referenced by CIccMatrixMath().