Class cv::SparseMatConstIterator_#

Template Read-Only Sparse Matrix Iterator Class. View details

Collaboration diagram for cv::SparseMatConstIterator_:

cv::SparseMatConstIterator_< _Tp > Node1 cv::SparseMatConstIterator _< _Tp >   + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + operator*() + operator++() + operator++() + operator=() Node2 cv::SparseMatConstIterator   + SparseMatConstIterator() + SparseMatConstIterator() + SparseMatConstIterator() + node() + operator++() + operator++() + operator--() + operator--() + operator=() + seekEnd() + value() Node2->Node1 Node3 cv::SparseMat   + SparseMat() + SparseMat() + SparseMat() + SparseMat() + ~SparseMat() + addref() + assignTo() + channels() + clear() + clone() and 34 more... + ptr() + ptr() + ptr() + ptr() + ref() + ref() + ref() + ref() + value() + value() + value() + value() + find() + find() + find() + find() + begin() + begin() + begin() + begin() * ptr() * ptr() * ptr() * ptr() * ref() * ref() * ref() * ref() * value() * value() * value() * value() * find() * find() * find() * find() * begin() * begin() * begin() * begin() Node3->Node2 +m Node4 int     Node4->Node3 +flags Node5 cv::SparseMat::Hdr   + Hdr() + clear() Node4->Node5 +dims +refcount +size +valueOffset Node5->Node3 +hdr Node6 size_t     Node6->Node2 +hashidx Node6->Node5 +freeList +nodeCount +nodeSize Node11 std::vector< size_t >     Node6->Node11 +elements Node7 std::vector< uchar >     Node7->Node5 +pool Node8 uint8_t     Node8->Node2 +ptr Node8->Node7 +elements Node9 std::vector< T >     Node9->Node7 < uchar > Node9->Node11 < size_t > Node10 T     Node10->Node9 +elements Node11->Node5 +hashtab

cv::SparseMatConstIterator_< _Tp > Node1 cv::SparseMatConstIterator _< _Tp >   + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + operator*() + operator++() + operator++() + operator=() Node2 cv::SparseMatConstIterator   + SparseMatConstIterator() + SparseMatConstIterator() + SparseMatConstIterator() + node() + operator++() + operator++() + operator--() + operator--() + operator=() + seekEnd() + value() Node2->Node1 Node3 cv::SparseMat   + SparseMat() + SparseMat() + SparseMat() + SparseMat() + ~SparseMat() + addref() + assignTo() + channels() + clear() + clone() and 34 more... + ptr() + ptr() + ptr() + ptr() + ref() + ref() + ref() + ref() + value() + value() + value() + value() + find() + find() + find() + find() + begin() + begin() + begin() + begin() * ptr() * ptr() * ptr() * ptr() * ref() * ref() * ref() * ref() * value() * value() * value() * value() * find() * find() * find() * find() * begin() * begin() * begin() * begin() Node3->Node2 +m Node4 int     Node4->Node3 +flags Node5 cv::SparseMat::Hdr   + Hdr() + clear() Node4->Node5 +dims +refcount +size +valueOffset Node5->Node3 +hdr Node6 size_t     Node6->Node2 +hashidx Node6->Node5 +freeList +nodeCount +nodeSize Node11 std::vector< size_t >     Node6->Node11 +elements Node7 std::vector< uchar >     Node7->Node5 +pool Node8 uint8_t     Node8->Node2 +ptr Node8->Node7 +elements Node9 std::vector< T >     Node9->Node7 < uchar > Node9->Node11 < size_t > Node10 T     Node10->Node9 +elements Node11->Node5 +hashtab

Public Member Functions#

Public Member Functions inherited from cv::SparseMatConstIterator

Return

Name

Description

SparseMatConstIterator()

the default constructor

SparseMatConstIterator(const SparseMat * _m)

the full constructor setting the iterator to the first sparse matrix element

SparseMatConstIterator(const SparseMatConstIterator & it)

the copy constructor

const SparseMat::Node *

node()

returns the current node of the sparse matrix. it.node->idx is the current element index

SparseMatConstIterator &

operator++()

moves iterator to the next element

SparseMatConstIterator

operator++(int)

moves iterator to the next element

SparseMatConstIterator &

operator--()

moves iterator to the previous element

SparseMatConstIterator

operator--(int)

moves iterator to the previous element

SparseMatConstIterator &

operator=(const SparseMatConstIterator & it)

the assignment operator

void

seekEnd()

moves iterator to the element after the last element

const _Tp &

value()

template method returning the current matrix element

Public Attributes#

Public Attributes inherited from cv::SparseMatConstIterator

Return

Name

Description

size_t

hashidx

const SparseMat *

m

uchar *

ptr

Detailed Description#

Template Read-Only Sparse Matrix Iterator Class.

This is the derived from SparseMatConstIterator class that introduces more convenient operator *() for accessing the current element.

Member Typedef Documentation#

iterator_category#

typedef std::forward_iterator_tag cv::SparseMatConstIterator_::iterator_category

Constructor & Destructor Documentation#

SparseMatConstIterator_()#

cv::SparseMatConstIterator_::SparseMatConstIterator_()

the default constructor

SparseMatConstIterator_()#

cv::SparseMatConstIterator_::SparseMatConstIterator_(const SparseMat * _m)

SparseMatConstIterator_()#

cv::SparseMatConstIterator_::SparseMatConstIterator_(const SparseMat_< _Tp > * _m)

the full constructor setting the iterator to the first sparse matrix element

SparseMatConstIterator_()#

cv::SparseMatConstIterator_::SparseMatConstIterator_(const SparseMatConstIterator_ & it)

the copy constructor

Member Function Documentation#

operator*()#

const Tp & cv::SparseMatConstIterator::operator*()

the element access operator

operator++()#

SparseMatConstIterator_ & cv::SparseMatConstIterator_::operator++()

moves iterator to the next element

operator++()#

SparseMatConstIterator_ cv::SparseMatConstIterator_::operator++(int)

moves iterator to the next element

operator=()#

SparseMatConstIterator_ & cv::SparseMatConstIterator_::operator=(const SparseMatConstIterator_ & it)

the assignment operator

Source file#

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