opencv 2.2.0
|
#include <core.hpp>
Public Member Functions | |
SparseMat::Node * | node () const |
returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!) | |
SparseMatIterator & | operator++ () |
moves iterator to the next element | |
SparseMatIterator | operator++ (int) |
moves iterator to the next element | |
SparseMatIterator & | operator= (const SparseMatIterator &it) |
the assignment operator | |
SparseMatIterator (const SparseMatIterator &it) | |
the copy constructor | |
SparseMatIterator (SparseMat *_m) | |
the full constructor setting the iterator to the first sparse matrix element | |
SparseMatIterator () | |
the default constructor | |
SparseMatIterator (SparseMat *_m, const int *idx) | |
the full constructor setting the iterator to the specified sparse matrix element | |
template<typename _Tp > | |
_Tp & | value () const |
returns read-write reference to the current sparse matrix element |
Read-write Sparse Matrix Iterator
The class is similar to cv::SparseMatConstIterator, but can be used for in-place modification of the matrix elements.
cv::SparseMatIterator::SparseMatIterator | ( | ) | [inline] |
the default constructor
cv::SparseMatIterator::SparseMatIterator | ( | SparseMat * | _m | ) | [inline] |
the full constructor setting the iterator to the first sparse matrix element
cv::SparseMatIterator::SparseMatIterator | ( | SparseMat * | _m, |
const int * | idx | ||
) |
the full constructor setting the iterator to the specified sparse matrix element
cv::SparseMatIterator::SparseMatIterator | ( | const SparseMatIterator & | it | ) | [inline] |
the copy constructor
SparseMat::Node * cv::SparseMatIterator::node | ( | ) | const [inline] |
returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)
Reimplemented from cv::SparseMatConstIterator.
SparseMatIterator cv::SparseMatIterator::operator++ | ( | int | ) | [inline] |
moves iterator to the next element
Reimplemented from cv::SparseMatConstIterator.
SparseMatIterator & cv::SparseMatIterator::operator++ | ( | ) | [inline] |
moves iterator to the next element
Reimplemented from cv::SparseMatConstIterator.
SparseMatIterator & cv::SparseMatIterator::operator= | ( | const SparseMatIterator & | it | ) | [inline] |
the assignment operator
_Tp & cv::SparseMatIterator::value | ( | ) | const [inline] |
returns read-write reference to the current sparse matrix element
Reimplemented from cv::SparseMatConstIterator.