OpenCV453
公開メンバ関数 | 全メンバ一覧
cv::SparseMatIterator クラス

Read-write Sparse Matrix Iterator [詳解]

#include <mat.hpp>

cv::SparseMatConstIteratorを継承しています。

公開メンバ関数

 SparseMatIterator ()
 the default constructor
 
 SparseMatIterator (SparseMat *_m)
 the full constructor setting the iterator to the first sparse matrix element
 
 SparseMatIterator (SparseMat *_m, const int *idx)
 the full constructor setting the iterator to the specified sparse matrix element
 
 SparseMatIterator (const SparseMatIterator &it)
 the copy constructor
 
SparseMatIteratoroperator= (const SparseMatIterator &it)
 the assignment operator
 
template<typename _Tp >
_Tp & value () const
 returns read-write reference to the current sparse matrix element
 
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!)
 
SparseMatIteratoroperator++ ()
 moves iterator to the next element
 
SparseMatIterator operator++ (int)
 moves iterator to the next element
 
- 基底クラス cv::SparseMatConstIterator に属する継承公開メンバ関数
 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
 
SparseMatConstIteratoroperator= (const SparseMatConstIterator &it)
 the assignment operator
 
template<typename _Tp >
const _Tp & value () const
 template method returning the current matrix element
 
const SparseMat::Nodenode () const
 returns the current node of the sparse matrix. it.node->idx is the current element index
 
SparseMatConstIteratoroperator-- ()
 moves iterator to the previous element
 
SparseMatConstIterator operator-- (int)
 moves iterator to the previous element
 
SparseMatConstIteratoroperator++ ()
 moves iterator to the next element
 
SparseMatConstIterator operator++ (int)
 moves iterator to the next element
 
void seekEnd ()
 moves iterator to the element after the last element
 

その他の継承メンバ

- 基底クラス cv::SparseMatConstIterator に属する継承公開変数類
const SparseMatm
 
size_t hashidx
 
uchar * ptr
 

詳解

Read-write Sparse Matrix Iterator

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


このクラス詳解は次のファイルから抽出されました: