#include <itkConstSmartNeighborhoodIterator.h>
Inheritance diagram for itk::ConstSmartNeighborhoodIterator:
Public Types | |
typedef ConstSmartNeighborhoodIterator | Self |
typedef ConstNeighborhoodIterator< TImage > | Superclass |
typedef Superclass::InternalPixelType | InternalPixelType |
typedef Superclass::PixelType | PixelType |
typedef Superclass::ImageType | ImageType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SizeValueType | SizeValueType |
typedef Superclass::NeighborhoodType | NeighborhoodType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::IndexValueType | IndexValueType |
typedef Superclass::OffsetType | OffsetType |
typedef Superclass::OffsetValueType | OffsetValueType |
typedef Superclass::ImageBoundaryConditionPointerType | ImageBoundaryConditionPointerType |
typedef TBoundaryCondition | BoundaryConditionType |
typedef Superclass::ConstIterator | ConstIterator |
Public Methods | |
itkStaticConstMacro (Dimension, unsigned int, Superclass::Dimension) | |
ConstSmartNeighborhoodIterator (const Self &orig) | |
virtual void | Initialize (const SizeType &radius, const ImageType *ptr, const RegionType ®ion) |
Self & | operator= (const Self &orig) |
virtual void | PrintSelf (std::ostream &, Indent) const |
const BoundaryConditionType * | GetBoundaryCondition () const |
NeighborhoodType | GetNeighborhood () const |
virtual PixelType | GetPixel (const unsigned long i) const |
bool | InBounds () const |
virtual void | OverrideBoundaryCondition (const ImageBoundaryConditionPointerType i) |
virtual void | ResetBoundaryCondition () |
void | SetBoundaryCondition (const TBoundaryCondition &c) |
ConstSmartNeighborhoodIterator () | |
ConstSmartNeighborhoodIterator (const SizeType &radius, const ImageType *ptr, const RegionType ®ion) | |
Protected Methods | |
void | SetBound (const SizeType &) |
Protected Attributes | |
ImageBoundaryConditionPointerType | m_BoundaryCondition |
bool | m_InBounds [Dimension] |
IndexType | m_InnerBoundsLow |
IndexType | m_InnerBoundsHigh |
TBoundaryCondition | m_InternalBoundaryCondition |
bool | m_NeedToUseBoundaryCondition |
ConstSmartNeighborhoodIterator implements the read-only methods of SmartNeighborhoodIterator. It serves as a base class from which other iterators are derived. See SmartNeighborhoodIterator for more complete information.
Definition at line 42 of file itkConstSmartNeighborhoodIterator.h.
|
Typedef for boundary condition type. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 73 of file itkConstSmartNeighborhoodIterator.h. |
|
Support for internal iterator types. Only const iteration is supported in this class. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Definition at line 77 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef for generic boundary condition pointer Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 70 of file itkConstSmartNeighborhoodIterator.h. |
|
Some common itk object typedefs Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 58 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 63 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Definition at line 64 of file itkConstSmartNeighborhoodIterator.h. |
|
Extract image type information. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 51 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 62 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 65 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 66 of file itkConstSmartNeighborhoodIterator.h. |
|
Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 52 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 59 of file itkConstSmartNeighborhoodIterator.h. |
|
Standard class typdefs. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 47 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 60 of file itkConstSmartNeighborhoodIterator.h. |
|
Typedef support for common objects Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Definition at line 61 of file itkConstSmartNeighborhoodIterator.h. |
|
Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. Definition at line 48 of file itkConstSmartNeighborhoodIterator.h. |
|
Default constructor. Definition at line 80 of file itkConstSmartNeighborhoodIterator.h. |
|
Copy constructor |
|
Constructor establishes a neighborhood of iterators of a specified dimension to walk a particular image and a particular region of that image. Definition at line 94 of file itkConstSmartNeighborhoodIterator.h. |
|
Returns the internal, default boundary condition. Definition at line 120 of file itkConstSmartNeighborhoodIterator.h. |
|
"Dereferences" the iterator. Returns the Neighborhood of values in the itk::Image masked by the iterator. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. |
|
Returns the pixel value referenced by a linear array location. Unlike operator[], this is a safe operation that will automatically detect and handle boundary conditions. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. |
|
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. |
|
Initializes the iterator to walk a particular image and a particular region of that image. This version is different from the superclass' in that it determines whether the iterator will "ever" have to use the boundary conditions (boundary conditions are skipped if the region padded by radius is within buffered region. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. |
|
Save the dimension of the image. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. |
|
Assignment operator Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. |
|
Allows a user to override the internal boundary condition. Care should be taken to ensure that the overriding boundary condition is a persistent object during the time it is referenced. The overriding condition can be of a different type than the default type as long as it is a subclass of ImageBoundaryCondition. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Definition at line 142 of file itkConstSmartNeighborhoodIterator.h. |
|
Prints information about the neighborhood pointer structure to std::cout for debugging purposes. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Reimplemented in itk::SmartNeighborhoodIterator< TImage, TBoundaryCondition >. |
|
Resets the boundary condition to the internal, default conditions specified by the template parameter. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. Definition at line 147 of file itkConstSmartNeighborhoodIterator.h. |
|
Sets loop boundaries for iteration. Reimplemented from itk::ConstNeighborhoodIterator< TImage >. |
|
Sets the internal, default boundary condition. Definition at line 151 of file itkConstSmartNeighborhoodIterator.h. |
|
Pointer to the actual boundary condition that will be used. By default this points to m_BoundaryCondition, but OverrideBoundaryCondition allows a user to point this variable an external boundary condition. Definition at line 162 of file itkConstSmartNeighborhoodIterator.h. |
|
Denotes which of the iterators dimensional sides spill outside region of interest boundaries. Definition at line 166 of file itkConstSmartNeighborhoodIterator.h. |
|
Upper threshold of in-bounds loop counter values. Definition at line 172 of file itkConstSmartNeighborhoodIterator.h. |
|
Lower threshold of in-bounds loop counter values. Definition at line 169 of file itkConstSmartNeighborhoodIterator.h. |
|
Default boundary condition. Definition at line 175 of file itkConstSmartNeighborhoodIterator.h. |
|
Does the specified region need to worry about boundary conditions? * Definition at line 178 of file itkConstSmartNeighborhoodIterator.h. |