Template Read-Write Sparse Matrix Iterator Class.
More...
#include <opencv2/core/mat.hpp>
template<typename _Tp>
class cv::SparseMatIterator_< _Tp >
Template Read-Write Sparse Matrix Iterator Class.
This is the derived from cv::SparseMatConstIterator_ class that introduces more convenient operator *() for accessing the current element.
◆ iterator_category
◆ SparseMatIterator_() [1/4]
◆ SparseMatIterator_() [2/4]
the full constructor setting the iterator to the first sparse matrix element
◆ SparseMatIterator_() [3/4]
◆ SparseMatIterator_() [4/4]
◆ node()
returns the current node of the sparse matrix. it.node->idx is the current element index
◆ operator*()
returns the reference to the current element
◆ operator++() [1/2]
moves the iterator to the next element
◆ operator++() [2/2]
moves the iterator to the next element
◆ operator--() [1/2]
moves iterator to the previous element
◆ operator--() [2/2]
moves iterator to the previous element
◆ operator=()
◆ seekEnd()
| void cv::SparseMatConstIterator::seekEnd |
( |
| ) |
|
|
inherited |
moves iterator to the element after the last element
◆ value()
template<typename _Tp >
| const _Tp& cv::SparseMatConstIterator::value |
( |
| ) |
const |
|
inherited |
template method returning the current matrix element
◆ hashidx
| size_t cv::SparseMatConstIterator::hashidx |
|
inherited |
| const SparseMat* cv::SparseMatConstIterator::m |
|
inherited |
◆ ptr
| uchar* cv::SparseMatConstIterator::ptr |
|
inherited |
The documentation for this class was generated from the following file: