DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkVectorImageRegionIterator.h>
A multi-dimensional iterator templated over image type.
Definition at line 34 of file itkVectorImageRegionIterator.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 VariableLengthVector< InternalPixelType > | PixelVectorType |
typedef Superclass::RegionType | RegionType |
typedef VectorImageRegionIterator | Self |
typedef Superclass::SizeType | SizeType |
typedef ImageRegionIterator< TImage > | Superclass |
Public Member Functions | |
void | GetVector (PixelVectorType &vec, const int offIndex=0) const |
Self & | operator= (const Self &it) |
void | SetRegion (const RegionType ®ionInput) |
void | SetVector (const PixelVectorType &value, const int offIndex=0) const |
typedef (itk::Concept::SameType< ImageType, VectorImage< InternalPixelType, ImageIteratorDimension > >) SameTypeCheck | |
typedef (itk::Concept::SameType< PixelType, PixelVectorType >) SameTypeCheck2 | |
VectorImageRegionIterator () | |
VectorImageRegionIterator (const Self &it) | |
VectorImageRegionIterator (TImage *ptr, const RegionType ®ion, int vectorAxis=-1) | |
~VectorImageRegionIterator () | |
Static Public Attributes | |
static const unsigned int | ImageIteratorDimension = TImage::ImageDimension |
Protected Member Functions | |
Self & | operator= (const ImageRegionIterator< TImage > &it) |
VectorImageRegionIterator (const ImageRegionIterator< TImage > &it) | |
Protected Attributes | |
int | m_VectorAxis |
int | m_VectorSize |
OffsetValueType | m_VectorStride |
typedef Superclass::AccessorType itk::VectorImageRegionIterator< TImage >::AccessorType |
Definition at line 61 of file itkVectorImageRegionIterator.h.
typedef Superclass::ImageType itk::VectorImageRegionIterator< TImage >::ImageType |
Definition at line 56 of file itkVectorImageRegionIterator.h.
typedef Superclass::IndexType itk::VectorImageRegionIterator< TImage >::IndexType |
Inherit types from the superclass
Definition at line 52 of file itkVectorImageRegionIterator.h.
typedef Superclass::InternalPixelType itk::VectorImageRegionIterator< TImage >::InternalPixelType |
Definition at line 59 of file itkVectorImageRegionIterator.h.
typedef Superclass::OffsetType itk::VectorImageRegionIterator< TImage >::OffsetType |
Definition at line 54 of file itkVectorImageRegionIterator.h.
typedef Superclass::PixelContainer itk::VectorImageRegionIterator< TImage >::PixelContainer |
Definition at line 57 of file itkVectorImageRegionIterator.h.
typedef Superclass::PixelContainerPointer itk::VectorImageRegionIterator< TImage >::PixelContainerPointer |
Definition at line 58 of file itkVectorImageRegionIterator.h.
typedef Superclass::PixelType itk::VectorImageRegionIterator< TImage >::PixelType |
Definition at line 60 of file itkVectorImageRegionIterator.h.
typedef VariableLengthVector< InternalPixelType > itk::VectorImageRegionIterator< TImage >::PixelVectorType |
Definition at line 63 of file itkVectorImageRegionIterator.h.
typedef Superclass::RegionType itk::VectorImageRegionIterator< TImage >::RegionType |
Definition at line 55 of file itkVectorImageRegionIterator.h.
typedef VectorImageRegionIterator itk::VectorImageRegionIterator< TImage >::Self |
Standard class typedefs.
Definition at line 38 of file itkVectorImageRegionIterator.h.
typedef Superclass::SizeType itk::VectorImageRegionIterator< TImage >::SizeType |
Definition at line 53 of file itkVectorImageRegionIterator.h.
typedef ImageRegionIterator< TImage > itk::VectorImageRegionIterator< TImage >::Superclass |
Define the superclass
Definition at line 48 of file itkVectorImageRegionIterator.h.
|
inline |
Default Constructor. Need to provide a default constructor since we provide a copy constructor.
Definition at line 75 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::ImageIteratorDimension, itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, and itk::VectorImageRegionIterator< TImage >::m_VectorStride.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::GetVector().
|
inline |
Default Destructor
Definition at line 83 of file itkVectorImageRegionIterator.h.
|
inline |
Copy Constructor. The copy constructor is provided to make sure the handle to the image is properly reference counted.
Definition at line 87 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, and itk::VectorImageRegionIterator< TImage >::m_VectorStride.
|
inline |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
Definition at line 96 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::ImageIteratorDimension, itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, itk::VectorImageRegionIterator< TImage >::m_VectorStride, and itk::VectorImageRegionIterator< TImage >::SetRegion().
|
protected |
This constructor is declared protected in order to enforce const-correctness
|
inline |
Get the pixel value
Definition at line 207 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::ImageIteratorDimension, itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, itk::VectorImageRegionIterator< TImage >::m_VectorStride, itk::VectorImageRegionIterator< TImage >::operator=(), and itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator().
|
inline |
operator= is provided to make sure the handle to the image is properly reference counted.
Definition at line 125 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, and itk::VectorImageRegionIterator< TImage >::m_VectorStride.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::GetVector().
|
protected |
|
inline |
Set the region of the image to iterate over.
Definition at line 134 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::ImageIteratorDimension, and itk::VectorImageRegionIterator< TImage >::m_VectorAxis.
Referenced by itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::VectorImageRegionIterator().
|
inline |
Set the pixel value
Definition at line 186 of file itkVectorImageRegionIterator.h.
References itk::VectorImageRegionIterator< TImage >::ImageIteratorDimension, itk::VectorImageRegionIterator< TImage >::m_VectorAxis, itk::VectorImageRegionIterator< TImage >::m_VectorSize, and itk::VectorImageRegionIterator< TImage >::m_VectorStride.
itk::VectorImageRegionIterator< TImage >::typedef | ( | itk::Concept::SameType< ImageType, VectorImage< InternalPixelType, ImageIteratorDimension > > | ) |
This class requires SameTypeCheck in the form of ( itk::Concept::SameType< ImageType, VectorImage<InternalPixelType, ImageIteratorDimension> > )
itk::VectorImageRegionIterator< TImage >::typedef | ( | itk::Concept::SameType< PixelType, PixelVectorType > | ) |
This class requires SameTypeCheck2 in the form of ( itk::Concept::SameType< PixelType, PixelVectorType> )
|
static |
Dimension of the image the iterator walks. This constant is needed so 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.
Definition at line 45 of file itkVectorImageRegionIterator.h.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), itk::VectorImageRegionIterator< TImage >::SetRegion(), itk::VectorImageRegionIterator< TImage >::SetVector(), itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::VectorImageRegionIterator().
|
protected |
Definition at line 240 of file itkVectorImageRegionIterator.h.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), itk::VectorImageRegionIterator< TImage >::operator=(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::operator=(), itk::VectorImageRegionIterator< TImage >::SetRegion(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::SetRegion(), itk::VectorImageRegionIterator< TImage >::SetVector(), itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::VectorImageRegionIterator().
|
protected |
Definition at line 239 of file itkVectorImageRegionIterator.h.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::GetVector(), itk::VectorImageRegionIterator< TImage >::operator=(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::operator=(), itk::VectorImageRegionIterator< TImage >::SetVector(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::SetVector(), itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::VectorImageRegionIterator().
|
protected |
Definition at line 238 of file itkVectorImageRegionIterator.h.
Referenced by itk::VectorImageRegionIterator< TImage >::GetVector(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::GetVector(), itk::VectorImageRegionIterator< TImage >::operator=(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::operator=(), itk::VectorImageRegionIterator< TImage >::SetVector(), itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::SetVector(), itk::VectorImageRegionIterator< TImage >::VectorImageRegionIterator(), and itk::VectorImageRegionIterator< Image< TPixel, VImageDimension > >::VectorImageRegionIterator().