Class cv::SparseMatIterator_#
Template Read-Write Sparse Matrix Iterator Class. View details
#include <opencv2/core/mat.hpp>Collaboration diagram for cv::SparseMatIterator_:
Public Types#
Public Types inherited from cv::SparseMatConstIterator_
Return |
Name |
Description |
|---|---|---|
|
Public Member Functions#
Public Member Functions inherited from cv::SparseMatConstIterator_
Return |
Name |
Description |
|---|---|---|
the default constructor |
||
the full constructor setting the iterator to the first sparse matrix element |
||
the copy constructor |
||
|
the element access operator |
|
moves iterator to the next element |
||
moves iterator to the next element |
||
the assignment operator |
Public Member Functions inherited from cv::SparseMatConstIterator
Return |
Name |
Description |
|---|---|---|
the default constructor |
||
the full constructor setting the iterator to the first sparse matrix element |
||
the copy constructor |
||
returns the current node of the sparse matrix. it.node->idx is the current element index |
||
moves iterator to the next element |
||
moves iterator to the next element |
||
moves iterator to the previous element |
||
moves iterator to the previous element |
||
the assignment operator |
||
|
moves iterator to the element after the last element |
|
|
template method returning the current matrix element |
Public Attributes#
Detailed Description#
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.
Member Typedef Documentation#
iterator_category#
typedef std::forward_iterator_tag cv::SparseMatIterator_::iterator_category
Constructor & Destructor Documentation#
SparseMatIterator_()#
cv::SparseMatIterator_::SparseMatIterator_()
the default constructor
SparseMatIterator_()#
cv::SparseMatIterator_::SparseMatIterator_(const SparseMatIterator_ & it)
the copy constructor
SparseMatIterator_()#
SparseMatIterator_()#
cv::SparseMatIterator_::SparseMatIterator_(SparseMat_< _Tp > * _m)
the full constructor setting the iterator to the first sparse matrix element
Member Function Documentation#
operator*()#
Tp & cv::SparseMatIterator::operator*()
returns the reference to the current element
operator++()#
SparseMatIterator_ & cv::SparseMatIterator_::operator++()
moves the iterator to the next element
operator++()#
SparseMatIterator_ cv::SparseMatIterator_::operator++(int)
moves the iterator to the next element
operator=()#
SparseMatIterator_ & cv::SparseMatIterator_::operator=(const SparseMatIterator_ & it)
the assignment operator
Source file#
The documentation for this class was generated from the following file:
opencv2/core/mat.hpp