Class cv::MatConstIterator#

Collaboration diagram for cv::MatConstIterator:

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 uchar ** cv::MatConstIterator::pointer

reference#

typedef uchar * cv::MatConstIterator::reference

value_type#

typedef uchar * cv::MatConstIterator::value_type

Constructor & Destructor Documentation#

MatConstIterator()#

cv::MatConstIterator::MatConstIterator()

default constructor

MatConstIterator()#

cv::MatConstIterator::MatConstIterator(const Mat * _m)

constructor that sets the iterator to the beginning of the matrix

MatConstIterator()#

cv::MatConstIterator::MatConstIterator(
const Mat * _m,
const int * _idx )

constructor that sets the iterator to the specified element of the matrix

MatConstIterator()#

cv::MatConstIterator::MatConstIterator(
const Mat * _m,
int _row,
int _col = 0 )

constructor that sets the iterator to the specified element of the matrix

MatConstIterator()#

cv::MatConstIterator::MatConstIterator(
const Mat * _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#

lpos()#

ptrdiff_t cv::MatConstIterator::lpos()

operator*()#

const uchar * 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 uchar * 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

pos()#

void cv::MatConstIterator::pos(int * _idx)

returns the current iterator position

seek()#

void cv::MatConstIterator::seek(
const int * _idx,
bool relative = false )

seek()#

void cv::MatConstIterator::seek(
ptrdiff_t ofs,
bool relative = false )

Member Data Documentation#

elemSize#

size_t cv::MatConstIterator::elemSize

m#

const Mat * cv::MatConstIterator::m

ptr#

const uchar * cv::MatConstIterator::ptr

sliceEnd#

const uchar * cv::MatConstIterator::sliceEnd

sliceStart#

const uchar * cv::MatConstIterator::sliceStart

Source file#

The documentation for this class was generated from the following file: