Read-write Sparse Matrix Iterator.
More...
#include <opencv2/core/mat.hpp>
Read-write Sparse Matrix Iterator.
The class is similar to cv::SparseMatConstIterator, but can be used for in-place modification of the matrix elements.
◆ SparseMatIterator() [1/4]
cv::SparseMatIterator::SparseMatIterator |
( |
| ) |
|
◆ SparseMatIterator() [2/4]
cv::SparseMatIterator::SparseMatIterator |
( |
SparseMat * |
_m | ) |
|
the full constructor setting the iterator to the first sparse matrix element
◆ SparseMatIterator() [3/4]
cv::SparseMatIterator::SparseMatIterator |
( |
SparseMat * |
_m, |
|
|
const int * |
idx |
|
) |
| |
the full constructor setting the iterator to the specified sparse matrix element
◆ SparseMatIterator() [4/4]
◆ node()
returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)
◆ operator++() [1/2]
moves iterator to the next element
◆ operator++() [2/2]
moves 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 >
_Tp& cv::SparseMatIterator::value |
( |
| ) |
const |
returns read-write reference to the current sparse 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: