#include <itkLineIterator.h>
Inheritance diagram for itk::LineIterator< TImage >:
LineIterator is an iterator that walks a Bresenham line through an image. The iterator is constructed similar to other image iterators except for instead of specifying a region to traverse, you specify two indices. The interval specified by the two indices is closed. So, a line iterator specified with the same start and end index will visit exactly one pixel.
LineConstIterator<ImageType> it(image, I1, I2); while (!it.IsAtEnd()) { // visits at least 1 pixel }
This class was contributed by Benjamin King, Experimentelle Radiologie, Medizinische Hochschule Hannover.
Definition at line 52 of file itkLineIterator.h.
|
Accessor type that convert data between internal and external representations. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 82 of file itkLineIterator.h. |
|
Image typedef support. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 77 of file itkLineIterator.h. |
|
Inherit types from the superclass Reimplemented from itk::LineConstIterator< TImage >. Definition at line 70 of file itkLineIterator.h. |
|
Reimplemented from itk::LineConstIterator< TImage >. Definition at line 71 of file itkLineIterator.h. |
|
Internal Pixel Type Reimplemented from itk::LineConstIterator< TImage >. Definition at line 80 of file itkLineIterator.h. |
|
Offset typedef support. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 72 of file itkLineIterator.h. |
|
Reimplemented from itk::LineConstIterator< TImage >. Definition at line 73 of file itkLineIterator.h. |
|
PixelContainer typedef support. Used to refer to the container for the pixel data. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 78 of file itkLineIterator.h. |
|
Reimplemented from itk::LineConstIterator< TImage >. Definition at line 79 of file itkLineIterator.h. |
|
External Pixel Type Reimplemented from itk::LineConstIterator< TImage >. Definition at line 81 of file itkLineIterator.h. |
|
Region typedef support Reimplemented from itk::LineConstIterator< TImage >. Definition at line 76 of file itkLineIterator.h. |
|
Standard class typedefs. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 57 of file itkLineIterator.h. |
|
Size typedef support. Reimplemented from itk::LineConstIterator< TImage >. Definition at line 74 of file itkLineIterator.h. |
|
Reimplemented from itk::LineConstIterator< TImage >. Definition at line 75 of file itkLineIterator.h. |
|
Define the superclass Definition at line 67 of file itkLineIterator.h. |
|
Constructor establishes an iterator to walk along a path |
|
Default Destructor. Definition at line 116 of file itkLineIterator.h. |
|
Run-time type information (and related methods). Reimplemented from itk::LineConstIterator< TImage >. |
|
Dimension of the image the iterator walks. This constant is needed so that functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks. Reimplemented from itk::LineConstIterator< TImage >. |
|
operator= is provided to make sure the handle to the image is properly reference counted. Reimplemented from itk::LineConstIterator< TImage >. |
|
Set the pixel value Definition at line 88 of file itkLineIterator.h. |
|
Return a reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors. Definition at line 102 of file itkLineIterator.h. |