#include <core.hpp>
Inherited by cv::MatConstIterator_< _Tp >.
Public Types | |
typedef uchar * | value_type |
typedef ptrdiff_t | difference_type |
typedef const uchar ** | pointer |
typedef uchar * | reference |
typedef std::random_access_iterator_tag | iterator_category |
Public Member Functions | |
MatConstIterator () | |
default constructor More... | |
MatConstIterator (const Mat *_m) | |
constructor that sets the iterator to the beginning of the matrix More... | |
MatConstIterator (const Mat *_m, int _row, int _col=0) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const Mat *_m, Point _pt) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const Mat *_m, const int *_idx) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const MatConstIterator &it) | |
copy constructor More... | |
MatConstIterator & | operator= (const MatConstIterator &it) |
copy operator More... | |
uchar * | operator* () const |
returns the current matrix element More... | |
uchar * | operator[] (ptrdiff_t i) const |
returns the i-th matrix element, relative to the current More... | |
MatConstIterator & | operator+= (ptrdiff_t ofs) |
shifts the iterator forward by the specified number of elements More... | |
MatConstIterator & | operator-= (ptrdiff_t ofs) |
shifts the iterator backward by the specified number of elements More... | |
MatConstIterator & | operator-- () |
decrements the iterator More... | |
MatConstIterator | operator-- (int) |
decrements the iterator More... | |
MatConstIterator & | operator++ () |
increments the iterator More... | |
MatConstIterator | operator++ (int) |
increments the iterator More... | |
Point | pos () const |
returns the current iterator position More... | |
void | pos (int *_idx) const |
returns the current iterator position More... | |
ptrdiff_t | lpos () const |
void | seek (ptrdiff_t ofs, bool relative=false) |
void | seek (const int *_idx, bool relative=false) |
Public Attributes | |
const Mat * | m |
size_t | elemSize |
uchar * | ptr |
uchar * | sliceStart |
uchar * | sliceEnd |
typedef uchar* cv::MatConstIterator::value_type |
typedef ptrdiff_t cv::MatConstIterator::difference_type |
typedef const uchar** cv::MatConstIterator::pointer |
typedef uchar* cv::MatConstIterator::reference |
typedef std::random_access_iterator_tag cv::MatConstIterator::iterator_category |
cv::MatConstIterator::MatConstIterator | ( | ) |
default constructor
cv::MatConstIterator::MatConstIterator | ( | const Mat * | _m | ) |
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
cv::MatConstIterator::MatConstIterator | ( | const MatConstIterator & | it | ) |
copy constructor
MatConstIterator & cv::MatConstIterator::operator= | ( | const MatConstIterator & | it | ) |
copy operator
uchar * cv::MatConstIterator::operator* | ( | ) | const |
returns the current matrix element
uchar * cv::MatConstIterator::operator[] | ( | ptrdiff_t | i | ) | const |
returns the i-th matrix element, relative to the current
MatConstIterator & cv::MatConstIterator::operator+= | ( | ptrdiff_t | ofs | ) |
shifts the iterator forward by the specified number of elements
MatConstIterator & cv::MatConstIterator::operator-= | ( | ptrdiff_t | ofs | ) |
shifts the iterator backward by the specified number of elements
MatConstIterator & cv::MatConstIterator::operator-- | ( | ) |
decrements the iterator
MatConstIterator cv::MatConstIterator::operator-- | ( | int | ) |
decrements the iterator
MatConstIterator & cv::MatConstIterator::operator++ | ( | ) |
increments the iterator
MatConstIterator cv::MatConstIterator::operator++ | ( | int | ) |
increments the iterator
Point cv::MatConstIterator::pos | ( | ) | const |
returns the current iterator position
ptrdiff_t cv::MatConstIterator::lpos | ( | ) | const |
void cv::MatConstIterator::seek | ( | ptrdiff_t | ofs, |
bool | relative = false |
||
) |
const Mat* cv::MatConstIterator::m |
size_t cv::MatConstIterator::elemSize |
uchar* cv::MatConstIterator::ptr |
uchar* cv::MatConstIterator::sliceStart |
uchar* cv::MatConstIterator::sliceEnd |