#include <core.hpp>
Public Types | |
typedef std::random_access_iterator_tag | iterator_category |
typedef _Tp * | pointer |
typedef _Tp & | reference |
Public Member Functions | |
MatIterator_ (const MatIterator_ &it) | |
copy constructor | |
MatIterator_ (const Mat_< _Tp > *_m, const int *_idx) | |
constructor that sets the iterator to the specified element of the matrix | |
MatIterator_ (const Mat_< _Tp > *_m, Point _pt) | |
constructor that sets the iterator to the specified element of the matrix | |
MatIterator_ (Mat_< _Tp > *_m, int _row, int _col=0) | |
constructor that sets the iterator to the specified element of the matrix | |
MatIterator_ (Mat_< _Tp > *_m) | |
constructor that sets the iterator to the beginning of the matrix | |
MatIterator_ () | |
the default constructor | |
_Tp & | operator* () const |
returns the current matrix element | |
MatIterator_ | operator++ (int) |
increments the iterator | |
MatIterator_ & | operator++ () |
increments the iterator | |
MatIterator_ & | operator+= (ptrdiff_t ofs) |
shifts the iterator forward by the specified number of elements | |
MatIterator_ | operator-- (int) |
decrements the iterator | |
MatIterator_ & | operator-- () |
decrements the iterator | |
MatIterator_ & | operator-= (ptrdiff_t ofs) |
shifts the iterator backward by the specified number of elements | |
MatIterator_ & | operator= (const MatIterator_< _Tp > &it) |
copy operator | |
_Tp & | operator[] (ptrdiff_t i) const |
returns the i-th matrix element, relative to the current |
Matrix read-write iterator
typedef std::random_access_iterator_tag cv::MatIterator_< _Tp >::iterator_category |
Reimplemented from cv::MatConstIterator_< _Tp >.
typedef _Tp* cv::MatIterator_< _Tp >::pointer |
Reimplemented from cv::MatConstIterator_< _Tp >.
typedef _Tp& cv::MatIterator_< _Tp >::reference |
Reimplemented from cv::MatConstIterator_< _Tp >.
cv::MatIterator_< _Tp >::MatIterator_ | ( | ) | [inline] |
the default constructor
cv::MatIterator_< _Tp >::MatIterator_ | ( | Mat_< _Tp > * | _m | ) | [inline] |
constructor that sets the iterator to the beginning of the matrix
cv::MatIterator_< _Tp >::MatIterator_ | ( | Mat_< _Tp > * | _m, | |
int | _row, | |||
int | _col = 0 | |||
) | [inline] |
constructor that sets the iterator to the specified element of the matrix
cv::MatIterator_< _Tp >::MatIterator_ | ( | const Mat_< _Tp > * | _m, | |
Point | _pt | |||
) | [inline] |
constructor that sets the iterator to the specified element of the matrix
cv::MatIterator_< _Tp >::MatIterator_ | ( | const Mat_< _Tp > * | _m, | |
const int * | _idx | |||
) | [inline] |
constructor that sets the iterator to the specified element of the matrix
cv::MatIterator_< _Tp >::MatIterator_ | ( | const MatIterator_< _Tp > & | it | ) | [inline] |
copy constructor
_Tp & cv::MatIterator_< _Tp >::operator* | ( | ) | const [inline] |
returns the current matrix element
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > cv::MatIterator_< _Tp >::operator++ | ( | int | ) | [inline] |
increments the iterator
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > & cv::MatIterator_< _Tp >::operator++ | ( | ) | [inline] |
increments the iterator
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > & cv::MatIterator_< _Tp >::operator+= | ( | ptrdiff_t | ofs | ) | [inline] |
shifts the iterator forward by the specified number of elements
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > cv::MatIterator_< _Tp >::operator-- | ( | int | ) | [inline] |
decrements the iterator
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > & cv::MatIterator_< _Tp >::operator-- | ( | ) | [inline] |
decrements the iterator
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > & cv::MatIterator_< _Tp >::operator-= | ( | ptrdiff_t | ofs | ) | [inline] |
shifts the iterator backward by the specified number of elements
Reimplemented from cv::MatConstIterator_< _Tp >.
MatIterator_< _Tp > & cv::MatIterator_< _Tp >::operator= | ( | const MatIterator_< _Tp > & | it | ) | [inline] |
copy operator
_Tp & cv::MatIterator_< _Tp >::operator[] | ( | ptrdiff_t | i | ) | const [inline] |
returns the i-th matrix element, relative to the current
Reimplemented from cv::MatConstIterator_< _Tp >.