#include <core.hpp>
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 ptrdiff_t cv::MatConstIterator::difference_type |
typedef std::random_access_iterator_tag cv::MatConstIterator::iterator_category |
typedef const uchar** cv::MatConstIterator::pointer |
typedef uchar* cv::MatConstIterator::reference |
typedef uchar* cv::MatConstIterator::value_type |
|
inline |
default constructor
|
inline |
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
|
inline |
copy constructor
ptrdiff_t cv::MatConstIterator::lpos | ( | ) | const |
|
inline |
returns the current matrix element
|
inline |
increments the iterator
|
inline |
increments the iterator
|
inline |
shifts the iterator forward by the specified number of elements
|
inline |
decrements the iterator
|
inline |
decrements the iterator
|
inline |
shifts the iterator backward by the specified number of elements
|
inline |
copy operator
|
inline |
returns the i-th matrix element, relative to the current
Point cv::MatConstIterator::pos | ( | ) | const |
returns the current iterator position
void cv::MatConstIterator::seek | ( | ptrdiff_t | ofs, |
bool | relative = false |
||
) |
size_t cv::MatConstIterator::elemSize |
const Mat* cv::MatConstIterator::m |
uchar* cv::MatConstIterator::ptr |
uchar* cv::MatConstIterator::sliceEnd |
uchar* cv::MatConstIterator::sliceStart |