![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Sparse matrix iterator. More...
#include <mdsSparseMatrixAltIterator.h>

Public Types | |
| enum | { TEMPLATE_PARAMETER_IS_NOT_SPARSE_MATRIX = M::CLASS_SPARSEMATRIX } |
| Check that M is a matrix. More... | |
| typedef mds::SSelect < mds::CTypeTraits< M > ::isConst, typename tMatrix::tColConstIterator, typename tMatrix::tColIterator > ::RESULT | tColumnIterator |
| Column iterator. | |
| typedef CSparseMatrixAltIterator< M, T > | tDerived |
| Iterator type. | |
| typedef T | tElement |
| Element type. | |
| typedef CIteratorTraits < CSparseMatrixAltIterator< M, T > >::tItem | tItem |
| Value (or item) type. | |
| typedef M | tMatrix |
| Matrix type. | |
Public Member Functions | |
| void | advance () |
| Moves iterator to the next element. | |
| bool | atEnd () const |
| Returns true if the iterator points after the end. | |
| tSize | col () const |
| CSparseMatrixAltIterator (tMatrix &Matrix) | |
| Constructor. | |
| tDerived & | getImpl () |
| Returns reference to the iterator implementation. | |
| const tDerived & | getImpl () const |
| tSize | getSize () const |
| Returns size of the volume in voxels. | |
| operator bool () const | |
| Returns true if the iterator is valid, i.e. not pointing after the end. | |
| tItem & | operator* () const |
| Returns reference to the current item. | |
| CIteratorBase & | operator++ () |
| CIteratorBase | operator++ (int) |
| tItem * | operator-> () const |
| Returns pointer to the current item. | |
| tSize | row () const |
| Returns the current iterator position. | |
| const tElement & | value () const |
| Returns the current item. | |
| tElement * | valuePtr () const |
| Returns pointer to the current item. | |
| tElement & | valueRef () const |
| Returns reference to the current item. | |
| ~CSparseMatrixAltIterator () | |
| Destructor. | |
Protected Attributes | |
| tSize | m_Col |
| tColumnIterator | m_ColIt |
| Iterator true position in sparse column. | |
| tMatrix & | m_Matrix |
| Reference to the matrix;. | |
| tSize | m_Row |
| Iterator position. | |
Sparse matrix iterator.
| typedef mds::SSelect<mds::CTypeTraits<M>::isConst, typename tMatrix::tColConstIterator, typename tMatrix::tColIterator>::RESULT mds::math::CSparseMatrixAltIterator< M, T >::tColumnIterator |
Column iterator.
typedef CSparseMatrixAltIterator< M, T > mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::tDerived [inherited] |
Iterator type.
| typedef T mds::math::CSparseMatrixAltIterator< M, T >::tElement |
Element type.
typedef CIteratorTraits<CSparseMatrixAltIterator< M, T > >::tItem mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::tItem [inherited] |
Value (or item) type.
| typedef M mds::math::CSparseMatrixAltIterator< M, T >::tMatrix |
Matrix type.
| anonymous enum |
| mds::math::CSparseMatrixAltIterator< M, T >::CSparseMatrixAltIterator | ( | tMatrix & | Matrix | ) |
Constructor.
| mds::math::CSparseMatrixAltIterator< M, T >::~CSparseMatrixAltIterator | ( | ) |
Destructor.
| void mds::math::CSparseMatrixAltIterator< M, T >::advance | ( | ) |
Moves iterator to the next element.
| bool mds::math::CSparseMatrixAltIterator< M, T >::atEnd | ( | ) | const |
Returns true if the iterator points after the end.
| tSize mds::math::CSparseMatrixAltIterator< M, T >::col | ( | ) | const |
| tDerived& mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::getImpl | ( | ) | [inherited] |
Returns reference to the iterator implementation.
| const tDerived& mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::getImpl | ( | ) | const [inherited] |
| tSize mds::math::CSparseMatrixAltIterator< M, T >::getSize | ( | ) | const |
Returns size of the volume in voxels.
Reimplemented from mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >.
| mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::operator bool | ( | ) | const [inherited] |
Returns true if the iterator is valid, i.e. not pointing after the end.
| tItem& mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::operator* | ( | ) | const [inherited] |
Returns reference to the current item.
| CIteratorBase& mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::operator++ | ( | ) | [inherited] |
| CIteratorBase mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::operator++ | ( | int | ) | [inherited] |
| tItem* mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >::operator-> | ( | ) | const [inherited] |
Returns pointer to the current item.
| tSize mds::math::CSparseMatrixAltIterator< M, T >::row | ( | ) | const |
Returns the current iterator position.
| const tElement& mds::math::CSparseMatrixAltIterator< M, T >::value | ( | ) | const |
Returns the current item.
Reimplemented from mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >.
| tElement* mds::math::CSparseMatrixAltIterator< M, T >::valuePtr | ( | ) | const |
Returns pointer to the current item.
Reimplemented from mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >.
| tElement& mds::math::CSparseMatrixAltIterator< M, T >::valueRef | ( | ) | const |
Returns reference to the current item.
Reimplemented from mds::base::CIteratorBase< CSparseMatrixAltIterator< M, T > >.
tSize mds::math::CSparseMatrixAltIterator< M, T >::m_Col [protected] |
tColumnIterator mds::math::CSparseMatrixAltIterator< M, T >::m_ColIt [protected] |
Iterator true position in sparse column.
tMatrix& mds::math::CSparseMatrixAltIterator< M, T >::m_Matrix [protected] |
Reference to the matrix;.
tSize mds::math::CSparseMatrixAltIterator< M, T >::m_Row [protected] |
Iterator position.
1.7.6.1