Class cv::SparseMatIterator_#

Template Read-Write Sparse Matrix Iterator Class. View details

Collaboration diagram for cv::SparseMatIterator_:

cv::SparseMatIterator_< _Tp > Node1 cv::SparseMatIterator _< _Tp >   + SparseMatIterator_() + SparseMatIterator_() + SparseMatIterator_() + SparseMatIterator_() + operator*() + operator++() + operator++() + operator=() Node2 cv::SparseMatConstIterator _< _Tp >   + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + operator*() + operator++() + operator++() + operator=() Node2->Node1 Node3 cv::SparseMatConstIterator   + SparseMatConstIterator() + SparseMatConstIterator() + SparseMatConstIterator() + node() + operator++() + operator++() + operator--() + operator--() + operator=() + seekEnd() + value() Node3->Node2 Node4 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() Node4->Node3 +m Node5 int     Node5->Node4 +flags Node6 cv::SparseMat::Hdr   + Hdr() + clear() Node5->Node6 +dims +refcount +size +valueOffset Node6->Node4 +hdr Node7 size_t     Node7->Node3 +hashidx Node7->Node6 +freeList +nodeCount +nodeSize Node12 std::vector< size_t >     Node7->Node12 +elements Node8 std::vector< uchar >     Node8->Node6 +pool Node9 uint8_t     Node9->Node3 +ptr Node9->Node8 +elements Node10 std::vector< T >     Node10->Node8 < uchar > Node10->Node12 < size_t > Node11 T     Node11->Node10 +elements Node12->Node6 +hashtab

cv::SparseMatIterator_< _Tp > Node1 cv::SparseMatIterator _< _Tp >   + SparseMatIterator_() + SparseMatIterator_() + SparseMatIterator_() + SparseMatIterator_() + operator*() + operator++() + operator++() + operator=() Node2 cv::SparseMatConstIterator _< _Tp >   + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + SparseMatConstIterator_() + operator*() + operator++() + operator++() + operator=() Node2->Node1 Node3 cv::SparseMatConstIterator   + SparseMatConstIterator() + SparseMatConstIterator() + SparseMatConstIterator() + node() + operator++() + operator++() + operator--() + operator--() + operator=() + seekEnd() + value() Node3->Node2 Node4 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() Node4->Node3 +m Node5 int     Node5->Node4 +flags Node6 cv::SparseMat::Hdr   + Hdr() + clear() Node5->Node6 +dims +refcount +size +valueOffset Node6->Node4 +hdr Node7 size_t     Node7->Node3 +hashidx Node7->Node6 +freeList +nodeCount +nodeSize Node12 std::vector< size_t >     Node7->Node12 +elements Node8 std::vector< uchar >     Node8->Node6 +pool Node9 uint8_t     Node9->Node3 +ptr Node9->Node8 +elements Node10 std::vector< T >     Node10->Node8 < uchar > Node10->Node12 < size_t > Node11 T     Node11->Node10 +elements Node12->Node6 +hashtab

Public Types#

Public Types inherited from cv::SparseMatConstIterator_

Return

Name

Description

std::forward_iterator_tag

iterator_category

Public Member Functions#

Public Member Functions inherited from cv::SparseMatConstIterator_

Return

Name

Description

SparseMatConstIterator_()

the default constructor

SparseMatConstIterator_(const SparseMat * _m)

SparseMatConstIterator_(const SparseMat_< _Tp > * _m)

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

SparseMatConstIterator_(const SparseMatConstIterator_ & it)

the copy constructor

const _Tp &

operator*()

the element access operator

SparseMatConstIterator_ &

operator++()

moves iterator to the next element

SparseMatConstIterator_

operator++(int)

moves iterator to the next element

SparseMatConstIterator_ &

operator=(const SparseMatConstIterator_ & it)

the assignment operator

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-Write Sparse Matrix Iterator Class.

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

Member Typedef Documentation#

iterator_category#

typedef std::forward_iterator_tag cv::SparseMatIterator_::iterator_category

Constructor & Destructor Documentation#

SparseMatIterator_()#

cv::SparseMatIterator_::SparseMatIterator_()

the default constructor

SparseMatIterator_()#

cv::SparseMatIterator_::SparseMatIterator_(const SparseMatIterator_ & it)

the copy constructor

SparseMatIterator_()#

cv::SparseMatIterator_::SparseMatIterator_(SparseMat * _m)

SparseMatIterator_()#

cv::SparseMatIterator_::SparseMatIterator_(SparseMat_< _Tp > * _m)

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

Member Function Documentation#

operator*()#

Tp & cv::SparseMatIterator::operator*()

returns the reference to the current element

operator++()#

SparseMatIterator_ & cv::SparseMatIterator_::operator++()

moves the iterator to the next element

operator++()#

SparseMatIterator_ cv::SparseMatIterator_::operator++(int)

moves the iterator to the next element

operator=()#

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

the assignment operator

Source file#

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