![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Iterator used to traverse volume by lines. More...
#include <mdsVolumeIterator.h>

Public Types | |
| enum | { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME } |
| Check that type V is a volume. More... | |
| typedef CVolumeIterator< V, T > | tDerived |
| Iterator type. | |
| typedef CIteratorTraits < CVolumeIterator< V, T > >::tItem | tItem |
| Value (or item) type. | |
| typedef V | tVolume |
| Volume type. | |
| typedef T | tVoxel |
| Voxel type. | |
Public Member Functions | |
| void | advance () |
| Moves iterator to the next voxel. | |
| bool | atEnd () const |
| Returns true if the iterator points after the end. | |
| CVolumeIterator (tVolume &Volume) | |
| Constructor. | |
| tDerived & | getImpl () |
| Returns reference to the iterator implementation. | |
| const tDerived & | getImpl () const |
| tSize | getSize () const |
| Returns size of the volume in voxels. | |
| operator bool () const | |
| Returns true if the iterator is valid, i.e. not pointing after the end. | |
| tItem & | operator* () const |
| Returns reference to the current item. | |
| CIteratorBase & | operator++ () |
| CIteratorBase | operator++ (int) |
| tItem * | operator-> () const |
| Returns pointer to the current item. | |
| const tVoxel & | value () const |
| Returns the current voxel. | |
| tVoxel * | valuePtr () const |
| Returns pointer to the current voxel. | |
| tVoxel & | valueRef () const |
| Returns reference to the current voxel. | |
| tSize | x () const |
| Returns the current iterator position. | |
| tSize | y () const |
| tSize | z () const |
| ~CVolumeIterator () | |
| Destructor. | |
Protected Attributes | |
| tVolume & | m_Volume |
| Reference to the volume. | |
| tSize | m_x |
| Iterator position. | |
| tSize | m_y |
| tSize | m_z |
Iterator used to traverse volume by lines.
typedef CVolumeIterator< V, T > mds::base::CIteratorBase< CVolumeIterator< V, T > >::tDerived [inherited] |
Iterator type.
typedef CIteratorTraits<CVolumeIterator< V, T > >::tItem mds::base::CIteratorBase< CVolumeIterator< V, T > >::tItem [inherited] |
Value (or item) type.
| typedef V mds::img::CVolumeIterator< V, T >::tVolume |
Volume type.
| typedef T mds::img::CVolumeIterator< V, T >::tVoxel |
Voxel type.
| anonymous enum |
| mds::img::CVolumeIterator< V, T >::CVolumeIterator | ( | tVolume & | Volume | ) |
Constructor.
| mds::img::CVolumeIterator< V, T >::~CVolumeIterator | ( | ) |
Destructor.
| void mds::img::CVolumeIterator< V, T >::advance | ( | ) |
Moves iterator to the next voxel.
| bool mds::img::CVolumeIterator< V, T >::atEnd | ( | ) | const |
Returns true if the iterator points after the end.
| tDerived& mds::base::CIteratorBase< CVolumeIterator< V, T > >::getImpl | ( | ) | [inherited] |
Returns reference to the iterator implementation.
| const tDerived& mds::base::CIteratorBase< CVolumeIterator< V, T > >::getImpl | ( | ) | const [inherited] |
| tSize mds::img::CVolumeIterator< V, T >::getSize | ( | ) | const |
Returns size of the volume in voxels.
Reimplemented from mds::base::CIteratorBase< CVolumeIterator< V, T > >.
| mds::base::CIteratorBase< CVolumeIterator< V, T > >::operator bool | ( | ) | const [inherited] |
Returns true if the iterator is valid, i.e. not pointing after the end.
| tItem& mds::base::CIteratorBase< CVolumeIterator< V, T > >::operator* | ( | ) | const [inherited] |
Returns reference to the current item.
| CIteratorBase& mds::base::CIteratorBase< CVolumeIterator< V, T > >::operator++ | ( | ) | [inherited] |
| CIteratorBase mds::base::CIteratorBase< CVolumeIterator< V, T > >::operator++ | ( | int | ) | [inherited] |
| tItem* mds::base::CIteratorBase< CVolumeIterator< V, T > >::operator-> | ( | ) | const [inherited] |
Returns pointer to the current item.
| const tVoxel& mds::img::CVolumeIterator< V, T >::value | ( | ) | const |
Returns the current voxel.
Reimplemented from mds::base::CIteratorBase< CVolumeIterator< V, T > >.
| tVoxel* mds::img::CVolumeIterator< V, T >::valuePtr | ( | ) | const |
Returns pointer to the current voxel.
Reimplemented from mds::base::CIteratorBase< CVolumeIterator< V, T > >.
| tVoxel& mds::img::CVolumeIterator< V, T >::valueRef | ( | ) | const |
Returns reference to the current voxel.
Reimplemented from mds::base::CIteratorBase< CVolumeIterator< V, T > >.
| tSize mds::img::CVolumeIterator< V, T >::x | ( | ) | const |
Returns the current iterator position.
| tSize mds::img::CVolumeIterator< V, T >::y | ( | ) | const |
| tSize mds::img::CVolumeIterator< V, T >::z | ( | ) | const |
tVolume& mds::img::CVolumeIterator< V, T >::m_Volume [protected] |
Reference to the volume.
tSize mds::img::CVolumeIterator< V, T >::m_x [protected] |
Iterator position.
tSize mds::img::CVolumeIterator< V, T >::m_y [protected] |
tSize mds::img::CVolumeIterator< V, T >::m_z [protected] |
1.7.6.1