Public Types | Public Member Functions | Private Attributes

cmtk::RegionIndexIterator< NDIM, T > Class Template Reference

Class for n-dimensional image index. More...

#include <cmtkRegionIndexIterator.h>

Collaboration diagram for cmtk::RegionIndexIterator< NDIM, T >:
Collaboration graph
[legend]

List of all members.

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< SelfSmartPtr
 Smart pointer to this class.
typedef SmartConstPointer< SelfSmartConstPtr
 Smart pointer-to-const to this class.

Public Member Functions

 RegionIndexIterator (const typename Self::RegionType &region)
 Constructor from two index, from and to.
Selfoperator++ ()
 Increment operator.
const Self::IndexTypeIndex () const
 Get index.
Selfoperator= (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.

Detailed Description

template<size_t NDIM, typename T = int>
class cmtk::RegionIndexIterator< NDIM, T >

Class for n-dimensional image index.

Definition at line 49 of file cmtkRegionIndexIterator.h.


Member Typedef Documentation

template<size_t NDIM, typename T = int>
typedef FixedVector<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::IndexType

Index type.

Definition at line 59 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
typedef Region<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::RegionType

Region type.

Definition at line 56 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
typedef RegionIndexIterator<NDIM,T> cmtk::RegionIndexIterator< NDIM, T >::Self

This class.

Definition at line 53 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
typedef SmartConstPointer<Self> cmtk::RegionIndexIterator< NDIM, T >::SmartConstPtr

Smart pointer-to-const to this class.

Definition at line 65 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
typedef SmartPointer<Self> cmtk::RegionIndexIterator< NDIM, T >::SmartPtr

Smart pointer to this class.

Definition at line 62 of file cmtkRegionIndexIterator.h.


Constructor & Destructor Documentation

template<size_t NDIM, typename T = int>
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.


Member Function Documentation

template<size_t NDIM, typename T = int>
const Self::IndexType& cmtk::RegionIndexIterator< NDIM, T >::Index (  ) const [inline]

Get index.

Definition at line 89 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
bool cmtk::RegionIndexIterator< NDIM, T >::operator!= ( const typename Self::IndexType index ) [inline]

Index inequality.

Definition at line 108 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
Self& cmtk::RegionIndexIterator< NDIM, T >::operator++ (  ) [inline]

Increment operator.

Definition at line 74 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
Self& cmtk::RegionIndexIterator< NDIM, T >::operator= ( const typename Self::IndexType index ) [inline]

Assign index.

Definition at line 95 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
bool cmtk::RegionIndexIterator< NDIM, T >::operator== ( const typename Self::IndexType index ) [inline]

Index equality.

Definition at line 102 of file cmtkRegionIndexIterator.h.


Member Data Documentation

template<size_t NDIM, typename T = int>
Self::IndexType cmtk::RegionIndexIterator< NDIM, T >::m_Index [private]

End index.

Definition at line 118 of file cmtkRegionIndexIterator.h.

template<size_t NDIM, typename T = int>
Self::RegionType cmtk::RegionIndexIterator< NDIM, T >::m_Region [private]

Beginning index.

Definition at line 115 of file cmtkRegionIndexIterator.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines