ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageSliceConstIteratorWithIndex.h>
Public Types | |
typedef Superclass::AccessorType | AccessorType |
typedef Superclass::ImageType | ImageType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InternalPixelType | InternalPixelType |
typedef Superclass::OffsetType | OffsetType |
typedef Superclass::PixelContainer | PixelContainer |
typedef Superclass::PixelContainerPointer | PixelContainerPointer |
typedef Superclass::PixelType | PixelType |
typedef Superclass::RegionType | RegionType |
typedef ImageSliceConstIteratorWithIndex | Self |
typedef Superclass::SizeType | SizeType |
typedef ImageConstIteratorWithIndex < TImage > | Superclass |
Public Types inherited from itk::ImageConstIteratorWithIndex< TImage > | |
typedef TImage::AccessorFunctorType | AccessorFunctorType |
typedef IndexType::IndexValueType | IndexValueType |
typedef OffsetType::OffsetValueType | OffsetValueType |
typedef SizeType::SizeValueType | SizeValueType |
Private Attributes | |
unsigned int | m_Direction_A |
unsigned int | m_Direction_B |
SizeValueType | m_LineJump |
SizeValueType | m_PixelJump |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static unsigned int | GetImageDimension () |
Static Public Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
const InternalPixelType * | m_Begin |
IndexType | m_BeginIndex |
const InternalPixelType * | m_End |
IndexType | m_EndIndex |
TImage::ConstWeakPointer | m_Image |
OffsetValueType | m_OffsetTable [ImageDimension+1] |
AccessorType | m_PixelAccessor |
AccessorFunctorType | m_PixelAccessorFunctor |
const InternalPixelType * | m_Position |
IndexType | m_PositionIndex |
RegionType | m_Region |
bool | m_Remaining |
Multi-dimensional image iterator which only walks a region.
A multi-dimensional image iterator that extends the ImageLinearConstIteratorWithIndex from iteration along lines in an image to iteration along both lines and planes (slices) within an image. A slice is defined as a 2D plane spanned by two vectors pointing along orthogonal coordinate axes. The slice orientation of the iterator is defined by specifying its two spanning axes using the methods:
where n is the number of the axis.
Use the following methods to move the iterator between slices:
To test the position of the iterator with respect to the end or beginning of the slice use the following methods:
The following code, for example, illustrates the typical use of this iterator. For more information please see the Software Guide.
Definition at line 114 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::AccessorType itk::ImageSliceConstIteratorWithIndex< TImage >::AccessorType |
Accessor type that converts data between internal and external representations.
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 131 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::ImageType itk::ImageSliceConstIteratorWithIndex< TImage >::ImageType |
Image typedef support.
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 126 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::IndexType itk::ImageSliceConstIteratorWithIndex< TImage >::IndexType |
Inherit types from the superclass
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 122 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::InternalPixelType itk::ImageSliceConstIteratorWithIndex< TImage >::InternalPixelType |
Internal Pixel Type
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 129 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::OffsetType itk::ImageSliceConstIteratorWithIndex< TImage >::OffsetType |
Type of the Offset taken from the image
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 124 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::PixelContainer itk::ImageSliceConstIteratorWithIndex< TImage >::PixelContainer |
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::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 127 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::PixelContainerPointer itk::ImageSliceConstIteratorWithIndex< TImage >::PixelContainerPointer |
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 128 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::PixelType itk::ImageSliceConstIteratorWithIndex< TImage >::PixelType |
External Pixel Type
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 130 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::RegionType itk::ImageSliceConstIteratorWithIndex< TImage >::RegionType |
Region typedef support.
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 125 of file itkImageSliceConstIteratorWithIndex.h.
typedef ImageSliceConstIteratorWithIndex itk::ImageSliceConstIteratorWithIndex< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 118 of file itkImageSliceConstIteratorWithIndex.h.
typedef Superclass::SizeType itk::ImageSliceConstIteratorWithIndex< TImage >::SizeType |
Size typedef support.
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 123 of file itkImageSliceConstIteratorWithIndex.h.
typedef ImageConstIteratorWithIndex< TImage > itk::ImageSliceConstIteratorWithIndex< TImage >::Superclass |
Reimplemented in itk::ImageSliceIteratorWithIndex< TImage >.
Definition at line 119 of file itkImageSliceConstIteratorWithIndex.h.
|
inline |
Default constructor. Needed since we provide a cast constructor.
Definition at line 134 of file itkImageSliceConstIteratorWithIndex.h.
|
inline |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
Definition at line 138 of file itkImageSliceConstIteratorWithIndex.h.
|
inline |
Constructor that can be used to cast from an ImageIterator to an ImageSliceConstIteratorWithIndex. Many routines return an ImageIterator, but for a particular task, you may want an ImageSliceConstIteratorWithIndex. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageSliceConstIteratorWithIndex.
Definition at line 153 of file itkImageSliceConstIteratorWithIndex.h.
void itk::ImageSliceConstIteratorWithIndex< TImage >::GoToBeginOfSlice | ( | void | ) |
Go to the first pixel of the current slice
bool itk::ImageSliceConstIteratorWithIndex< TImage >::IsAtEndOfLine | ( | void | ) |
Test if the index is at the end of line
bool itk::ImageSliceConstIteratorWithIndex< TImage >::IsAtEndOfSlice | ( | void | ) |
Test if the index is at the end of the slice
bool itk::ImageSliceConstIteratorWithIndex< TImage >::IsAtReverseEndOfLine | ( | void | ) |
Test if the index is at the begin of line
bool itk::ImageSliceConstIteratorWithIndex< TImage >::IsAtReverseEndOfSlice | ( | void | ) |
Test if the index is at the begin of the slice
void itk::ImageSliceConstIteratorWithIndex< TImage >::NextLine | ( | void | ) |
Go to the next line
void itk::ImageSliceConstIteratorWithIndex< TImage >::NextSlice | ( | void | ) |
Go to the next slice
|
inline |
Increment (prefix) the selected dimension. No bounds checking is performed.
|
inline |
Decrement (prefix) the selected dimension. No bounds checking is performed.
void itk::ImageSliceConstIteratorWithIndex< TImage >::PreviousLine | ( | void | ) |
Go to the next line
void itk::ImageSliceConstIteratorWithIndex< TImage >::PreviousSlice | ( | void | ) |
Go to the next slice
void itk::ImageSliceConstIteratorWithIndex< TImage >::SetFirstDirection | ( | unsigned int | direction | ) |
Set the fastest direction of movement
void itk::ImageSliceConstIteratorWithIndex< TImage >::SetSecondDirection | ( | unsigned int | direction | ) |
Set the second fastest direction of movement
|
private |
Definition at line 206 of file itkImageSliceConstIteratorWithIndex.h.
|
private |
Definition at line 207 of file itkImageSliceConstIteratorWithIndex.h.
|
private |
Definition at line 205 of file itkImageSliceConstIteratorWithIndex.h.
|
private |
Definition at line 204 of file itkImageSliceConstIteratorWithIndex.h.