Class cv::MatIterator_#
Matrix read-write iterator.
#include <opencv2/core/mat.hpp>Collaboration diagram for cv::MatIterator_:
Public Types#
Public Types inherited from cv::MatConstIterator_
Return |
Name |
Description |
|---|---|---|
|
||
|
||
|
||
|
||
|
Public Types inherited from cv::MatConstIterator
Public Member Functions#
Public Member Functions inherited from cv::MatConstIterator_
Return |
Name |
Description |
|---|---|---|
default constructor |
||
constructor that sets the iterator to the beginning of the matrix |
||
|
constructor that sets the iterator to the specified element of the matrix |
|
|
constructor that sets the iterator to the specified element of the matrix |
|
constructor that sets the iterator to the specified element of the matrix |
||
copy constructor |
||
|
returns the current matrix element |
|
increments the iterator |
||
increments the iterator |
||
shifts the iterator forward by the specified number of elements |
||
decrements the iterator |
||
decrements the iterator |
||
shifts the iterator backward by the specified number of elements |
||
copy operator |
||
|
returns the i-th matrix element, relative to the current |
|
returns the current iterator position |
Public Member Functions inherited from cv::MatConstIterator
Return |
Name |
Description |
|---|---|---|
default constructor |
||
constructor that sets the iterator to the beginning of the matrix |
||
constructor that sets the iterator to the specified element of the matrix |
||
constructor that sets the iterator to the specified element of the matrix |
||
constructor that sets the iterator to the specified element of the matrix |
||
copy constructor |
||
|
||
|
returns the current matrix element |
|
increments the iterator |
||
increments the iterator |
||
shifts the iterator forward by the specified number of elements |
||
decrements the iterator |
||
decrements the iterator |
||
shifts the iterator backward by the specified number of elements |
||
copy operator |
||
|
returns the i-th matrix element, relative to the current |
|
returns the current iterator position |
||
|
returns the current iterator position |
|
|
||
|
Public Attributes#
Public Attributes inherited from cv::MatConstIterator
Detailed Description#
Matrix read-write iterator.
Member Typedef Documentation#
iterator_category#
typedef std::random_access_iterator_tag cv::MatIterator_::iterator_category
pointer#
typedef Tp * cv::MatIterator::pointer
reference#
typedef Tp & cv::MatIterator::reference
Constructor & Destructor Documentation#
MatIterator_()#
cv::MatIterator_::MatIterator_()
the default constructor
MatIterator_()#
cv::MatIterator_::MatIterator_(const MatIterator_ & it)
copy constructor
MatIterator_()#
cv::MatIterator_::MatIterator_(Mat_< _Tp > * _m)
constructor that sets the iterator to the beginning of the matrix
MatIterator_()#
cv::MatIterator_::MatIterator_(
Mat_< _Tp > * _m,
const int * _idx )
constructor that sets the iterator to the specified element of the matrix
MatIterator_()#
cv::MatIterator_::MatIterator_(
Mat_< _Tp > * _m,
int _row,
int _col = 0 )
constructor that sets the iterator to the specified element of the matrix
MatIterator_()#
cv::MatIterator_::MatIterator_(
Mat_< _Tp > * _m,
Point _pt )
constructor that sets the iterator to the specified element of the matrix
Member Function Documentation#
operator*()#
Tp & cv::MatIterator::operator*()
returns the current matrix element
operator++()#
MatIterator_ & cv::MatIterator_::operator++()
increments the iterator
operator++()#
MatIterator_ cv::MatIterator_::operator++(int)
increments the iterator
operator+=()#
MatIterator_ & cv::MatIterator_::operator+=(ptrdiff_t ofs)
shifts the iterator forward by the specified number of elements
operator–()#
MatIterator_ & cv::MatIterator_::operator–()
decrements the iterator
operator–()#
MatIterator_ cv::MatIterator_::operator–(int)
decrements the iterator
operator-=()#
MatIterator_ & cv::MatIterator_::operator-=(ptrdiff_t ofs)
shifts the iterator backward by the specified number of elements
operator=()#
MatIterator_ & cv::MatIterator_::operator=(const MatIterator_< _Tp > & it)
copy operator
operator#
Tp & cv::MatIterator::operator[](ptrdiff_t i)
returns the i-th matrix element, relative to the current
Source file#
The documentation for this class was generated from the following file:
opencv2/core/mat.hpp