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