cv::SparseMatIterator Class Reference

#include <core.hpp>

Inheritance diagram for cv::SparseMatIterator:
cv::SparseMatConstIterator

List of all members.

Public Member Functions

SparseMat::Nodenode () const
 returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)
SparseMatIterator operator++ (int)
 moves iterator to the next element
SparseMatIteratoroperator++ ()
 moves iterator to the next element
SparseMatIteratoroperator= (const SparseMatIterator &it)
 the assignment operator
 SparseMatIterator (const SparseMatIterator &it)
 the copy constructor
 SparseMatIterator (SparseMat *_m, const int *idx)
 the full constructor setting the iterator to the specified sparse matrix element
 SparseMatIterator (SparseMat *_m)
 the full constructor setting the iterator to the first sparse matrix element
 SparseMatIterator ()
 the default constructor
template<typename _Tp >
_Tp & value () const
 returns read-write reference to the current sparse matrix element

Detailed Description

Read-write Sparse Matrix Iterator

The class is similar to cv::SparseMatConstIterator, but can be used for in-place modification of the matrix elements.


Constructor & Destructor Documentation

cv::SparseMatIterator::SparseMatIterator (  )  [inline]

the default constructor

cv::SparseMatIterator::SparseMatIterator ( SparseMat _m  )  [inline]

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

cv::SparseMatIterator::SparseMatIterator ( SparseMat _m,
const int *  idx 
)

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

cv::SparseMatIterator::SparseMatIterator ( const SparseMatIterator it  )  [inline]

the copy constructor


Member Function Documentation

SparseMat::Node * cv::SparseMatIterator::node (  )  const [inline]

returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)

Reimplemented from cv::SparseMatConstIterator.

SparseMatIterator cv::SparseMatIterator::operator++ ( int   )  [inline]

moves iterator to the next element

Reimplemented from cv::SparseMatConstIterator.

SparseMatIterator & cv::SparseMatIterator::operator++ (  )  [inline]

moves iterator to the next element

Reimplemented from cv::SparseMatConstIterator.

SparseMatIterator & cv::SparseMatIterator::operator= ( const SparseMatIterator it  )  [inline]

the assignment operator

template<typename _Tp >
_Tp & cv::SparseMatIterator::value (  )  const [inline]

returns read-write reference to the current sparse matrix element

Reimplemented from cv::SparseMatConstIterator.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Dec 23 11:40:55 2010 for opencv by  doxygen 1.6.3