Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccSparseMatrix.h>
Static Public Member Functions | |
static icUInt8Number | EntrySize (icSparseMatrixType nType) |
static icUInt32Number | MaxEntries (icUInt32Number nMemSize, icUInt16Number nRows, icSparseMatrixType nType) |
static icUInt32Number | MaxEntries (icUInt32Number nMemSize, icUInt16Number nRows, icUInt8Number nTypeSize) |
static icUInt32Number | MemSize (icUInt32Number nMaxEntries, icUInt16Number nRows, icSparseMatrixType nType) |
static icUInt32Number | MemSize (icUInt32Number nMaxEntries, icUInt16Number nRows, icUInt8Number nTypeSize) |
Definition at line 153 of file IccSparseMatrix.h.
CIccSparseMatrix::CIccSparseMatrix | ( | void * | pMatrix = NULL, |
icUInt32Number | nSize = 0, | ||
icSparseMatrixType | nType = ((icSparseMatrixType)0x0000), | ||
bool | bInitFromData = false ) |
Definition at line 5 of file IccSparseMatrix.cpp.
References Init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRawSize, m_nRows, m_nType, m_pMatrix, and m_RowStart.
CIccSparseMatrix::CIccSparseMatrix | ( | const CIccSparseMatrix & | mtx | ) |
Definition at line 26 of file IccSparseMatrix.cpp.
References icSparseMatrixFloat16, icSparseMatrixFloat32, icSparseMatrixFloatNum, icSparseMatrixUInt16, icSparseMatrixUInt8, Init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRawSize, m_nRows, m_nType, m_pMatrix, and m_RowStart.
|
virtual |
Definition at line 65 of file IccSparseMatrix.cpp.
References m_Data.
void CIccSparseMatrix::Clear | ( | ) |
Definition at line 213 of file IccSparseMatrix.cpp.
References m_nRawSize, and m_pMatrix.
Referenced by FillFromFullMatrix().
|
inline |
Definition at line 164 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Interpolate(), CIccTagXmlSparseMatrixArray::ToXml(), and CIccTagSparseMatrixArray::Validate().
bool CIccSparseMatrix::Copy | ( | const CIccSparseMatrix & | mtx | ) |
Definition at line 218 of file IccSparseMatrix.cpp.
References IIccSparseMatrixEntry::get(), Init(), m_Data, m_nCols, m_nRows, m_pMatrix, m_RowStart, and IIccSparseMatrixEntry::set().
|
static |
Definition at line 511 of file IccSparseMatrix.cpp.
References icSparseMatrixFloat16, icSparseMatrixFloat32, icSparseMatrixFloatNum, icSparseMatrixUInt16, and icSparseMatrixUInt8.
bool CIccSparseMatrix::FillFromFullMatrix | ( | icFloatNumber * | pData | ) |
Definition at line 237 of file IccSparseMatrix.cpp.
References Clear(), icNotZero, m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRows, m_RowStart, and IIccSparseMatrixEntry::set().
Referenced by CIccTagXmlSparseMatrixArray::ParseXml().
|
inline |
Definition at line 182 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Describe(), CIccTagXmlSparseMatrixArray::ParseXml(), CIccTagSparseMatrixArray::Read(), and CIccTagXmlSparseMatrixArray::ToXml().
|
inline |
Definition at line 184 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Describe(), CIccTagXmlSparseMatrixArray::ParseXml(), CIccTagSparseMatrixArray::Read(), and CIccTagXmlSparseMatrixArray::ToXml().
|
inline |
Definition at line 186 of file IccSparseMatrix.h.
Referenced by CIccTagXmlSparseMatrixArray::ParseXml().
|
inline |
Definition at line 178 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Read(), and CIccTagSparseMatrixArray::Validate().
|
inline |
Definition at line 183 of file IccSparseMatrix.h.
Referenced by CIccTagXmlSparseMatrixArray::ToXml().
|
inline |
Definition at line 180 of file IccSparseMatrix.h.
Referenced by CIccTagXmlSparseMatrixArray::ToXml().
|
inline |
Definition at line 179 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Describe(), and CIccTagXmlSparseMatrixArray::ParseXml().
bool CIccSparseMatrix::Init | ( | icUInt16Number | nRows, |
icUInt16Number | nCols, | ||
bool | bSetData = false ) |
Definition at line 138 of file IccSparseMatrix.cpp.
References icSparseMatrixFloat16, icSparseMatrixFloat32, icSparseMatrixFloatNum, icSparseMatrixUInt16, icSparseMatrixUInt8, IIccSparseMatrixEntry::init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRawSize, m_nRows, m_nType, m_pMatrix, m_RowStart, and IIccSparseMatrixEntry::size().
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Copy(), Interp(), operator=(), CIccTagXmlSparseMatrixArray::ParseXml(), Reset(), Union(), and CIccTagSparseMatrixArray::Validate().
bool CIccSparseMatrix::Interp | ( | icFloatNumber | d1, |
const CIccSparseMatrix & | mtx1, | ||
icFloatNumber | d2, | ||
const CIccSparseMatrix & | mtx2 ) |
Definition at line 288 of file IccSparseMatrix.cpp.
References IIccSparseMatrixEntry::get(), Init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRows, m_RowStart, and IIccSparseMatrixEntry::set().
Referenced by CIccTagSparseMatrixArray::Interpolate().
bool CIccSparseMatrix::IsValid | ( | ) |
Definition at line 480 of file IccSparseMatrix.cpp.
References m_ColumnIndices, m_Data, m_nCols, m_nRows, and m_RowStart.
Referenced by CIccTagSparseMatrixArray::Validate().
|
inlinestatic |
Definition at line 189 of file IccSparseMatrix.h.
References MaxEntries().
Referenced by MaxEntries().
|
static |
Definition at line 500 of file IccSparseMatrix.cpp.
Referenced by CIccTagSparseMatrixArray::Read(), and CIccTagSparseMatrixArray::Validate().
|
inlinestatic |
Definition at line 191 of file IccSparseMatrix.h.
References MemSize().
Referenced by MemSize().
|
static |
Definition at line 505 of file IccSparseMatrix.cpp.
bool CIccSparseMatrix::MultiplyVector | ( | icFloatNumber * | pResult, |
const icFloatNumber * | pVector ) const |
Definition at line 265 of file IccSparseMatrix.cpp.
References IIccSparseMatrixEntry::get(), m_ColumnIndices, m_Data, m_nRows, and m_RowStart.
CIccSparseMatrix & CIccSparseMatrix::operator= | ( | const CIccSparseMatrix & | mtx | ) |
Definition at line 71 of file IccSparseMatrix.cpp.
References icSparseMatrixFloat16, icSparseMatrixFloat32, icSparseMatrixFloatNum, icSparseMatrixUInt16, icSparseMatrixUInt8, Init(), m_Data, m_nCols, m_nMaxEntries, m_nRawSize, m_nRows, m_nType, and m_pMatrix.
void CIccSparseMatrix::Reset | ( | void * | pMatrix, |
icUInt32Number | nSize, | ||
icSparseMatrixType | nType, | ||
bool | bInitFromData = true ) |
Definition at line 113 of file IccSparseMatrix.cpp.
References Init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRawSize, m_nRows, m_nType, m_pMatrix, and m_RowStart.
Referenced by CIccTagSparseMatrixArray::GetSparseMatrix(), CIccTagXmlSparseMatrixArray::ParseXml(), CIccTagSparseMatrixArray::Read(), CIccTagXmlSparseMatrixArray::ToXml(), CIccTagSparseMatrixArray::Validate(), and CIccTagSparseMatrixArray::Write().
|
inline |
Definition at line 163 of file IccSparseMatrix.h.
Referenced by CIccTagSparseMatrixArray::Describe(), CIccTagSparseMatrixArray::Interpolate(), CIccTagSparseMatrixArray::Read(), CIccTagXmlSparseMatrixArray::ToXml(), and CIccTagSparseMatrixArray::Validate().
bool CIccSparseMatrix::Union | ( | const CIccSparseMatrix & | mtx1, |
const CIccSparseMatrix & | mtx2 ) |
Definition at line 384 of file IccSparseMatrix.cpp.
References Init(), m_ColumnIndices, m_Data, m_nCols, m_nMaxEntries, m_nRows, m_RowStart, and IIccSparseMatrixEntry::set().
Referenced by CIccTagSparseMatrixArray::Validate().
|
protected |
Definition at line 203 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), FillFromFullMatrix(), Init(), Interp(), IsValid(), MultiplyVector(), Reset(), and Union().
|
protected |
Definition at line 205 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Copy(), FillFromFullMatrix(), Init(), Interp(), IsValid(), MultiplyVector(), operator=(), Reset(), Union(), and ~CIccSparseMatrix().
|
protected |
Definition at line 200 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Copy(), FillFromFullMatrix(), Init(), Interp(), IsValid(), operator=(), Reset(), and Union().
|
protected |
Definition at line 207 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), FillFromFullMatrix(), Init(), Interp(), operator=(), Reset(), and Union().
|
protected |
Definition at line 196 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Clear(), Init(), operator=(), and Reset().
|
protected |
Definition at line 199 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Copy(), FillFromFullMatrix(), Init(), Interp(), IsValid(), MultiplyVector(), operator=(), Reset(), and Union().
|
protected |
Definition at line 197 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Init(), operator=(), and Reset().
|
protected |
Definition at line 195 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Clear(), Copy(), Init(), operator=(), and Reset().
|
protected |
Definition at line 202 of file IccSparseMatrix.h.
Referenced by CIccSparseMatrix(), CIccSparseMatrix(), Copy(), FillFromFullMatrix(), Init(), Interp(), IsValid(), MultiplyVector(), Reset(), and Union().