|
OpenCV453
|
Matrix read-only iterator [詳解]
#include <mat.hpp>
cv::MatConstIteratorを継承しています。
cv::MatIterator_< _Tp >に継承されています。
公開型 | |
| typedef _Tp | value_type |
| typedef ptrdiff_t | difference_type |
| typedef const _Tp * | pointer |
| typedef const _Tp & | reference |
| typedef std::random_access_iterator_tag | iterator_category |
基底クラス cv::MatConstIterator に属する継承公開型 | |
| typedef uchar * | value_type |
| typedef ptrdiff_t | difference_type |
| typedef const uchar ** | pointer |
| typedef uchar * | reference |
| typedef std::random_access_iterator_tag | iterator_category |
公開メンバ関数 | |
| MatConstIterator_ () | |
| default constructor | |
| MatConstIterator_ (const Mat_< _Tp > *_m) | |
| constructor that sets the iterator to the beginning of the matrix | |
| MatConstIterator_ (const Mat_< _Tp > *_m, int _row, int _col=0) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator_ (const Mat_< _Tp > *_m, Point _pt) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator_ (const Mat_< _Tp > *_m, const int *_idx) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator_ (const MatConstIterator_ &it) | |
| copy constructor | |
| MatConstIterator_ & | operator= (const MatConstIterator_ &it) |
| copy operator | |
| const _Tp & | operator* () const |
| returns the current matrix element | |
| const _Tp & | operator[] (ptrdiff_t i) const |
| returns the i-th matrix element, relative to the current | |
| MatConstIterator_ & | operator+= (ptrdiff_t ofs) |
| shifts the iterator forward by the specified number of elements | |
| MatConstIterator_ & | operator-= (ptrdiff_t ofs) |
| shifts the iterator backward by the specified number of elements | |
| MatConstIterator_ & | operator-- () |
| decrements the iterator | |
| MatConstIterator_ | operator-- (int) |
| decrements the iterator | |
| MatConstIterator_ & | operator++ () |
| increments the iterator | |
| MatConstIterator_ | operator++ (int) |
| increments the iterator | |
| Point | pos () const |
| returns the current iterator position | |
基底クラス cv::MatConstIterator に属する継承公開メンバ関数 | |
| MatConstIterator () | |
| default constructor | |
| MatConstIterator (const Mat *_m) | |
| constructor that sets the iterator to the beginning of the matrix | |
| MatConstIterator (const Mat *_m, int _row, int _col=0) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator (const Mat *_m, Point _pt) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator (const Mat *_m, const int *_idx) | |
| constructor that sets the iterator to the specified element of the matrix | |
| MatConstIterator (const MatConstIterator &it) | |
| copy constructor | |
| MatConstIterator & | operator= (const MatConstIterator &it) |
| copy operator | |
| const uchar * | operator* () const |
| returns the current matrix element | |
| const uchar * | operator[] (ptrdiff_t i) const |
| returns the i-th matrix element, relative to the current | |
| MatConstIterator & | operator+= (ptrdiff_t ofs) |
| shifts the iterator forward by the specified number of elements | |
| MatConstIterator & | operator-= (ptrdiff_t ofs) |
| shifts the iterator backward by the specified number of elements | |
| MatConstIterator & | operator-- () |
| decrements the iterator | |
| MatConstIterator | operator-- (int) |
| decrements the iterator | |
| MatConstIterator & | operator++ () |
| increments the iterator | |
| MatConstIterator | operator++ (int) |
| increments the iterator | |
| Point | pos () const |
| returns the current iterator position | |
| void | pos (int *_idx) const |
| returns the current iterator position | |
| ptrdiff_t | lpos () const |
| void | seek (ptrdiff_t ofs, bool relative=false) |
| void | seek (const int *_idx, bool relative=false) |
その他の継承メンバ | |
基底クラス cv::MatConstIterator に属する継承公開変数類 | |
| const Mat * | m |
| size_t | elemSize |
| const uchar * | ptr |
| const uchar * | sliceStart |
| const uchar * | sliceEnd |
Matrix read-only iterator