MIRA
Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
ImgIteratorBase Class Reference

#include <image/ImgIterator.h>

Inheritance diagram for ImgIteratorBase:
Inheritance graph
[legend]

Public Member Functions

 ImgIteratorBase ()
 
 ImgIteratorBase (const cv::Mat *iMat)
 
 ImgIteratorBase (const cv::Mat *iMat, int iRow, int iCol=0)
 
ImgIteratorBaseoperator+= (ptrdiff_t ofs)
 shifts the iterator forward by the specified number of elements More...
 
ImgIteratorBaseoperator-= (ptrdiff_t ofs)
 shifts the iterator backward by the specified number of elements More...
 
ImgIteratorBaseoperator-- ()
 move backward one element More...
 
ImgIteratorBaseoperator++ ()
 move forward one element More...
 
Point2i pos () const
 returns the current iterator position More...
 
ptrdiff_t lpos () const
 
void seek (ptrdiff_t ofs, bool relative=false)
 

Public Attributes

const cv::Matm
 
const uchar * ptr
 
const uchar * sliceStart
 
const uchar * sliceEnd
 

Static Protected Member Functions

static std::size_t total (const cv::Mat *m)
 
static std::size_t step (const cv::Mat *m)
 

Constructor & Destructor Documentation

◆ ImgIteratorBase() [1/3]

ImgIteratorBase ( )
inline

◆ ImgIteratorBase() [2/3]

ImgIteratorBase ( const cv::Mat iMat)
inline

◆ ImgIteratorBase() [3/3]

ImgIteratorBase ( const cv::Mat iMat,
int  iRow,
int  iCol = 0 
)
inline

Member Function Documentation

◆ operator+=()

ImgIteratorBase& operator+= ( ptrdiff_t  ofs)
inline

shifts the iterator forward by the specified number of elements

◆ operator-=()

ImgIteratorBase& operator-= ( ptrdiff_t  ofs)
inline

shifts the iterator backward by the specified number of elements

◆ operator--()

ImgIteratorBase& operator-- ( )
inline

move backward one element

◆ operator++()

ImgIteratorBase& operator++ ( )
inline

move forward one element

◆ pos()

Point2i pos ( ) const
inline

returns the current iterator position

◆ lpos()

ptrdiff_t lpos ( ) const
inline

◆ seek()

void seek ( ptrdiff_t  ofs,
bool  relative = false 
)
inline

◆ total()

static std::size_t total ( const cv::Mat m)
inlinestaticprotected

◆ step()

static std::size_t step ( const cv::Mat m)
inlinestaticprotected

Member Data Documentation

◆ m

const cv::Mat* m

◆ ptr

const uchar* ptr

◆ sliceStart

const uchar* sliceStart

◆ sliceEnd

const uchar* sliceEnd

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