Class for n-dimensional image index. More...
#include <cmtkRegionIndexIterator.h>
Public Types | |
typedef RegionIndexIterator < NDIM, T > | Self |
This class. | |
typedef Region< NDIM, T > | RegionType |
Region type. | |
typedef FixedVector< NDIM, T > | IndexType |
Index type. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to this class. | |
typedef SmartConstPointer< Self > | SmartConstPtr |
Smart pointer-to-const to this class. | |
Public Member Functions | |
RegionIndexIterator (const typename Self::RegionType ®ion) | |
Constructor from two index, from and to. | |
Self & | operator++ () |
Increment operator. | |
const Self::IndexType & | Index () const |
Get index. | |
Self & | operator= (const typename Self::IndexType &index) |
Assign index. | |
bool | operator== (const typename Self::IndexType &index) |
Index equality. | |
bool | operator!= (const typename Self::IndexType &index) |
Index inequality. | |
Private Attributes | |
Self::RegionType | m_Region |
Beginning index. | |
Self::IndexType | m_Index |
End index. |
Class for n-dimensional image index.
Definition at line 49 of file cmtkRegionIndexIterator.h.
typedef FixedVector<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::IndexType |
Index type.
Definition at line 59 of file cmtkRegionIndexIterator.h.
typedef Region<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::RegionType |
Region type.
Definition at line 56 of file cmtkRegionIndexIterator.h.
typedef RegionIndexIterator<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::Self |
This class.
Definition at line 53 of file cmtkRegionIndexIterator.h.
typedef SmartConstPointer<Self> cmtk::RegionIndexIterator< NDIM, T >::SmartConstPtr |
Smart pointer-to-const to this class.
Definition at line 65 of file cmtkRegionIndexIterator.h.
typedef SmartPointer<Self> cmtk::RegionIndexIterator< NDIM, T >::SmartPtr |
Smart pointer to this class.
Definition at line 62 of file cmtkRegionIndexIterator.h.
cmtk::RegionIndexIterator< NDIM, T >::RegionIndexIterator | ( | const typename Self::RegionType & | region ) | [inline] |
Constructor from two index, from and to.
Definition at line 68 of file cmtkRegionIndexIterator.h.
const Self::IndexType& cmtk::RegionIndexIterator< NDIM, T >::Index | ( | ) | const [inline] |
Get index.
Definition at line 89 of file cmtkRegionIndexIterator.h.
bool cmtk::RegionIndexIterator< NDIM, T >::operator!= | ( | const typename Self::IndexType & | index ) | [inline] |
Index inequality.
Definition at line 108 of file cmtkRegionIndexIterator.h.
Self& cmtk::RegionIndexIterator< NDIM, T >::operator++ | ( | ) | [inline] |
Increment operator.
Definition at line 74 of file cmtkRegionIndexIterator.h.
Self& cmtk::RegionIndexIterator< NDIM, T >::operator= | ( | const typename Self::IndexType & | index ) | [inline] |
Assign index.
Definition at line 95 of file cmtkRegionIndexIterator.h.
bool cmtk::RegionIndexIterator< NDIM, T >::operator== | ( | const typename Self::IndexType & | index ) | [inline] |
Index equality.
Definition at line 102 of file cmtkRegionIndexIterator.h.
Self::IndexType cmtk::RegionIndexIterator< NDIM, T >::m_Index [private] |
End index.
Definition at line 118 of file cmtkRegionIndexIterator.h.
Self::RegionType cmtk::RegionIndexIterator< NDIM, T >::m_Region [private] |
Beginning index.
Definition at line 115 of file cmtkRegionIndexIterator.h.