ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage > Class Template Reference

#include <itkConstNeighborhoodIteratorWithOnlyIndex.h>

+ Inheritance diagram for itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >:
+ Collaboration diagram for itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >:

Detailed Description

template<typename TImage>
class itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >

Index-only version of ConstNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of indecies across an itk::Image or itk::ImageBase.

ConstNeighborhoodIteratorWithOnlyIndex implements the index-only methods of NeighborhoodIterator. No image data is accessed, so this iterator can be used with type itk::ImageBase. It serves as a base class from which other iterators can be derived. See NeighborhoodIterator for more complete information.

The parent class itk::Neighborhood is declared with 'char' as its first template parameter, because the pixel type is not used in this class.

Other index-only iterators:

See Also
ImageConstIteratorWithOnlyIndex
ConstNeighborhoodIteratorWithOnlyIndex

Other iterators:

See Also
ImageIterator
NeighborhoodIterator
Neighborhood

Definition at line 60 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Public Types

typedef Superclass::ConstIterator ConstIterator
 
typedef unsigned int DimensionValueType
 
typedef char DummyNeighborhoodPixelType
 
typedef Superclass::Iterator Iterator
 
typedef
NeighborhoodType::NeighborIndexType 
NeighborIndexType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::RadiusType RadiusType
 
typedef
ConstNeighborhoodIteratorWithOnlyIndex 
Self
 
typedef Superclass::SizeType SizeType
 
typedef Neighborhood
< DummyNeighborhoodPixelType,
itkGetStaticConstMacro(Dimension) > 
Superclass
 
typedef TImage ImageType
 
typedef TImage::RegionType RegionType
 
typedef Index
< itkGetStaticConstMacro(Dimension) > 
IndexType
 
typedef Neighborhood
< DummyNeighborhoodPixelType,
itkGetStaticConstMacro(Dimension) > 
NeighborhoodType
 
- Public Types inherited from itk::Neighborhood< char, TImage::ImageDimension >
typedef NeighborhoodAllocator
< char > 
AllocatorType
 
typedef
AllocatorType::const_iterator 
ConstIterator
 
typedef unsigned int DimensionValueType
 
typedef AllocatorType::iterator Iterator
 
typedef SizeValueType NeighborIndexType
 
typedef Offset< VDimension > OffsetType
 
typedef char PixelType
 
typedef Neighborhood Self
 
typedef SizeType::SizeValueType SizeValueType
 
typedef SliceIterator< char, SelfSliceIteratorType
 

Public Member Functions

OffsetType ComputeInternalIndex (NeighborIndexType n) const
 
 ConstNeighborhoodIteratorWithOnlyIndex ()
 
 ConstNeighborhoodIteratorWithOnlyIndex (const ConstNeighborhoodIteratorWithOnlyIndex &)
 
 ConstNeighborhoodIteratorWithOnlyIndex (const SizeType &radius, const ImageType *ptr, const RegionType &region)
 
IndexType GetBeginIndex () const
 
IndexType GetBound () const
 
IndexValueType GetBound (NeighborIndexType n) const
 
RegionType GetBoundingBoxAsImageRegion () const
 
const ImageTypeGetImagePointer (void) const
 
virtual IndexType GetIndex (void) const
 
virtual IndexType GetIndex (const OffsetType &o) const
 
virtual IndexType GetIndex (NeighborIndexType i) const
 
bool GetNeedToUseBoundaryCondition () const
 
RegionType GetRegion () const
 
virtual void GoToBegin ()
 
virtual void GoToEnd ()
 
bool InBounds () const
 
bool IndexInBounds (NeighborIndexType n, OffsetType &internalIndex, OffsetType &offset) const
 
virtual void Initialize (const SizeType &radius, const ImageType *ptr, const RegionType &region)
 
virtual bool IsAtBegin () const
 
virtual bool IsAtEnd () const
 
void NeedToUseBoundaryConditionOff ()
 
void NeedToUseBoundaryConditionOn ()
 
bool operator!= (const Self &it) const
 
Selfoperator++ ()
 
Selfoperator+= (const OffsetType &)
 
OffsetType operator- (const Self &b)
 
Selfoperator-- ()
 
Selfoperator-= (const OffsetType &)
 
bool operator< (const Self &it) const
 
bool operator<= (const Self &it) const
 
Selfoperator= (const Self &orig)
 
bool operator== (const Self &it) const
 
bool operator> (const Self &it) const
 
bool operator>= (const Self &it) const
 
virtual void PrintSelf (std::ostream &, Indent) const
 
void SetLocation (const IndexType &position)
 
void SetNeedToUseBoundaryCondition (bool b)
 
virtual ~ConstNeighborhoodIteratorWithOnlyIndex ()
 
- Public Member Functions inherited from itk::Neighborhood< char, TImage::ImageDimension >
NeighborIndexType GetCenterNeighborhoodIndex () const
 
char GetCenterValue () const
 
virtual NeighborIndexType GetNeighborhoodIndex (const OffsetType &) const
 
OffsetType GetOffset (NeighborIndexType i) const
 
const SizeType GetRadius () const
 
SizeValueType GetRadius (DimensionValueType n) const
 
SizeValueType GetSize (DimensionValueType n) const
 
SizeType GetSize () const
 
std::slice GetSlice (unsigned int) const
 
OffsetValueType GetStride (DimensionValueType axis) const
 
 Neighborhood (const Self &other)
 
bool operator!= (const Self &other) const
 
Selfoperator= (const Self &other)
 
bool operator== (const Self &other) const
 
void Print (std::ostream &os) const
 
void SetRadius (const SizeType &)
 
void SetRadius (const SizeValueType)
 
NeighborIndexType Size () const
 
virtual ~Neighborhood ()
 
 Neighborhood ()
 
Iterator End ()
 
ConstIterator End () const
 
Iterator Begin ()
 
ConstIterator Begin () const
 
char & operator[] (NeighborIndexType i)
 
const char & operator[] (NeighborIndexType i) const
 
char & GetElement (NeighborIndexType i)
 
char & operator[] (const OffsetType &o)
 
const char & operator[] (const OffsetType &o) const
 
void SetRadius (const SizeValueType *rad)
 
AllocatorTypeGetBufferReference ()
 
const AllocatorTypeGetBufferReference () const
 

Static Public Attributes

static const DimensionValueType Dimension = TImage::ImageDimension
 
- Static Public Attributes inherited from itk::Neighborhood< char, TImage::ImageDimension >
static const unsigned int NeighborhoodDimension
 

Protected Member Functions

virtual void SetBeginIndex (const IndexType &start)
 
virtual void SetBound (const SizeType &)
 
virtual void SetEndIndex ()
 
virtual void SetLoop (const IndexType &p)
 
- Protected Member Functions inherited from itk::Neighborhood< char, TImage::ImageDimension >
virtual void Allocate (NeighborIndexType i)
 
virtual void ComputeNeighborhoodOffsetTable ()
 
virtual void ComputeNeighborhoodStrideTable ()
 
void SetSize ()
 

Protected Attributes

IndexType m_BeginIndex
 
IndexType m_Bound
 
ImageType::ConstPointer m_ConstImage
 
IndexType m_EndIndex
 
bool m_InBounds [Dimension]
 
IndexType m_InnerBoundsHigh
 
IndexType m_InnerBoundsLow
 
bool m_IsInBounds
 
bool m_IsInBoundsValid
 
IndexType m_Loop
 
bool m_NeedToUseBoundaryCondition
 
RegionType m_Region
 

Additional Inherited Members

- Public Attributes inherited from itk::Neighborhood< char, TImage::ImageDimension >
typedef::itk::Size< VDimension > RadiusType
 
typedef::itk::Size< VDimension > SizeType
 

Member Typedef Documentation

Definition at line 82 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef unsigned int itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::DimensionValueType

Type used to refer to space dimensions

Definition at line 66 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef char itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::DummyNeighborhoodPixelType

Definition at line 71 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef TImage itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::ImageType

Typedef support for common objects

Definition at line 85 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Index< itkGetStaticConstMacro(Dimension) > itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::IndexType

Typedef support for common objects

Definition at line 87 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Superclass::Iterator itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::Iterator

Definition at line 81 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Neighborhood< DummyNeighborhoodPixelType, itkGetStaticConstMacro(Dimension) > itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::NeighborhoodType

Typedef support for common objects

Definition at line 88 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Type used to refer to the elements in the list of neighbor pixels.

Definition at line 92 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Inherit typedefs from superclass

Definition at line 78 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Superclass::RadiusType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::RadiusType

Definition at line 79 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef TImage::RegionType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::RegionType

Typedef support for common objects

Definition at line 86 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Standard class typedefs.

Definition at line 74 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Superclass::SizeType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SizeType

Definition at line 80 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
typedef Neighborhood< DummyNeighborhoodPixelType, itkGetStaticConstMacro(Dimension) > itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::Superclass

Definition at line 75 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Constructor & Destructor Documentation

Default constructor

template<typename TImage>
virtual itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::~ConstNeighborhoodIteratorWithOnlyIndex ( )
inlinevirtual

Virtual destructor

Definition at line 98 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Copy constructor

template<typename TImage>
itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::ConstNeighborhoodIteratorWithOnlyIndex ( const SizeType radius,
const ImageType ptr,
const RegionType region 
)

Constructor which establishes the region size, neighborhood, and image over which to walk.

Member Function Documentation

template<typename TImage>
OffsetType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::ComputeInternalIndex ( NeighborIndexType  n) const

Computes the internal, N-d offset of a pixel array position n from (0,0, ..., 0) in the "upper-left" corner of the neighborhood.

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetBeginIndex ( ) const
inline

Returns the N-dimensional starting index of the iterator's position on the image.

Definition at line 165 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_BeginIndex.

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetBound ( ) const
inline

Returns the array of upper loop bounds used during iteration.

Definition at line 118 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Bound.

template<typename TImage>
IndexValueType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetBound ( NeighborIndexType  n) const
inline

Returns the loop bound used to define the edge of a single dimension in the itk::Image region.

Definition at line 125 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Bound.

template<typename TImage>
RegionType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetBoundingBoxAsImageRegion ( ) const

Returns a bounding box for the region spanned by this neighborhood represented by an itk::ImageRegion

template<typename TImage>
const ImageType* itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetImagePointer ( void  ) const
inline

Returns a smartpointer to the image on which this iterator operates.

Definition at line 131 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_ConstImage.

template<typename TImage>
virtual IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex ( void  ) const
inlinevirtual
template<typename TImage>
virtual IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex ( const OffsetType o) const
inlinevirtual

Returns the image index for neighbor pixel at offset o from the center of the neighborhood.

Definition at line 145 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex().

template<typename TImage>
virtual IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex ( NeighborIndexType  i) const
inlinevirtual

Returns the image index for neighbor pixel at index i in the neighborhood.

Definition at line 152 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex(), and itk::Neighborhood< char, TImage::ImageDimension >::GetOffset().

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetNeedToUseBoundaryCondition ( ) const
inline
template<typename TImage>
RegionType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetRegion ( ) const
inline

Returns the region of iteration.

Definition at line 158 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Region.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GoToBegin ( )
virtual

Virtual method for rewinding the iterator to its beginning image index. This is useful for writing functions which take neighborhood iterators of arbitrary type and must use virtual functions.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GoToEnd ( )
virtual

Virtual method for sending the iterator to one past the last index in its region.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::InBounds ( ) const

Returns false if the iterator overlaps region boundaries, true otherwise. Also updates an internal boolean array indicating which of the iterator's faces are out of bounds.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::IndexInBounds ( NeighborIndexType  n,
OffsetType internalIndex,
OffsetType offset 
) const

Returns true if the neighborhood index is within region boundaries, false otherwise. If false, then internalIndex and offset are calculated. Otherwise their values are left unchanged. Also updates an internal boolean array indicating which of the iterator's faces are out of bounds.

Parameters
n- linear neighborhood index.
internalIndex- calculated for index n only when the neighborhood is not completely within region boundaries.
offset- per-dimension offsets for index n to nearest boundary index, calculate only when the neighborhood is not completely within region boundaries.
template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::Initialize ( const SizeType radius,
const ImageType ptr,
const RegionType region 
)
virtual

Initializes the iterator to walk a particular image and a particular region of that image.

template<typename TImage>
virtual bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::IsAtBegin ( ) const
inlinevirtual

Virtual method for determining whether the iterator is at the beginning of its iteration region.

Definition at line 189 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex(), and itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_BeginIndex.

template<typename TImage>
virtual bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::IsAtEnd ( ) const
virtual

Virtual method for determining whether the iterator has reached the end of its iteration region.

template<typename TImage>
void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::NeedToUseBoundaryConditionOff ( )
inline
template<typename TImage>
void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::NeedToUseBoundaryConditionOn ( )
inline
template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator!= ( const Self it) const
inline

Returns a boolean != comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored.

Definition at line 221 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex().

template<typename TImage>
Self& itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator++ ( )

Increments the pointers in the ConstNeighborhoodIteratorWithOnlyIndex, wraps across boundaries automatically, accounting for the disparity in the buffer size and the region size of the image.

template<typename TImage>
Self& itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator+= ( const OffsetType )

Addition of an itk::Offset. Note that this method does not do any bounds checking. Adding an offset that moves the iterator out of its assigned region will produce undefined results.

template<typename TImage>
OffsetType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator- ( const Self b)
inline

Distance between two iterators

Definition at line 274 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Loop.

template<typename TImage>
Self& itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator-- ( )

Decrements the pointers in the ConstNeighborhoodIteratorWithOnlyIndex, wraps across boundaries automatically, accounting for the disparity in the buffer size and the region size of the image.

template<typename TImage>
Self& itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator-= ( const OffsetType )

Subtraction of an itk::Offset. Note that this method does not do any bounds checking. Subtracting an offset that moves the iterator out of its assigned region will produce undefined results.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator< ( const Self it) const

Returns a boolean < comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored. The comparison progresses by dimension starting from the greatest.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator<= ( const Self it) const

Returns a boolean <= comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored. The comparison progresses by dimension starting from the greatest.

template<typename TImage>
Self& itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator= ( const Self orig)

Assignment operator

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator== ( const Self it) const
inline

Returns a boolean == comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored.

Definition at line 213 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetIndex().

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator> ( const Self it) const

Returns a boolean > comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored. The comparison progresses by dimension starting from the greatest.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::operator>= ( const Self it) const

Returns a boolean >= comparison of the current location/index of two ConstNeighborhoodIteratorWithOnlyIndexs of like dimensionality. The radii of the iterators are ignored. The comparison progresses by dimension starting from the greatest.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::PrintSelf ( std::ostream &  ,
Indent   
) const
virtual

Standard itk print method

Reimplemented from itk::Neighborhood< char, TImage::ImageDimension >.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetBeginIndex ( const IndexType start)
inlineprotectedvirtual

Default method for setting the first index of the iteration region.

Definition at line 334 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_BeginIndex.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetBound ( const SizeType )
protectedvirtual

Virtual method for setting internal loop boundaries. This method must be defined in each subclass because each subclass may handle loop boundaries differently.

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetEndIndex ( )
protectedvirtual

Default method for setting the last index of the iteration region.

template<typename TImage>
void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetLocation ( const IndexType position)
inline

This method positions the iterator at an indexed location in the image. SetLocation should NOT be used to update the position of the iterator during iteration, only for initializing it to a position prior to iteration. This method is not optimized for speed.

Definition at line 258 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetLoop().

template<typename TImage>
virtual void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetLoop ( const IndexType p)
inlineprotectedvirtual

Default method for setting the coordinate location of the iterator. Loop indices correspond to the actual Image region index.

Definition at line 322 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

References itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_IsInBoundsValid, and itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Loop.

Referenced by itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetLocation().

template<typename TImage>
void itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetNeedToUseBoundaryCondition ( bool  b)
inline

Member Data Documentation

template<typename TImage>
const DimensionValueType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::Dimension = TImage::ImageDimension
static

Save the image dimension.

Definition at line 69 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_BeginIndex
protected
template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Bound
protected

An array of upper looping boundaries used during iteration.

Definition at line 348 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Referenced by itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetBound().

template<typename TImage>
ImageType::ConstPointer itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_ConstImage
protected

The image on which iteration is defined.

Definition at line 351 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Referenced by itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetImagePointer().

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_EndIndex
protected

The end index for iteration within the itk::Image region on which this ConstNeighborhoodIteratorWithOnlyIndex is defined.

Definition at line 355 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_InBounds[Dimension]
mutableprotected

Denotes which of the iterators dimensional sides spill outside region of interest boundaries.

Definition at line 365 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_InnerBoundsHigh
protected

Upper threshold of in-bounds loop counter values.

Definition at line 379 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_InnerBoundsLow
protected

Lower threshold of in-bounds loop counter values.

Definition at line 376 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_IsInBounds
mutableprotected

Denotes if iterator is entirely within bounds

Definition at line 368 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_IsInBoundsValid
mutableprotected

Is the m_InBounds and m_IsInBounds variables up to date? Set to false whenever the iterator is repositioned. Set to true within InBounds().

Definition at line 373 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Referenced by itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::SetLoop().

template<typename TImage>
IndexType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Loop
protected
template<typename TImage>
bool itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_NeedToUseBoundaryCondition
protected
template<typename TImage>
RegionType itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::m_Region
protected

The region over which iteration is defined.

Definition at line 361 of file itkConstNeighborhoodIteratorWithOnlyIndex.h.

Referenced by itk::ConstNeighborhoodIteratorWithOnlyIndex< TImage >::GetRegion().


The documentation for this class was generated from the following file: