ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkPathIterator.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::PathInputType | PathInputType |
typedef Superclass::PathOutputType | PathOutputType |
typedef Superclass::PathType | PathType |
typedef Superclass::PixelContainer | PixelContainer |
typedef Superclass::PixelContainerPointer | PixelContainerPointer |
typedef Superclass::PixelType | PixelType |
typedef PathIterator | Self |
typedef Superclass::SizeType | SizeType |
typedef PathConstIterator < TImage, TPath > | Superclass |
Public Types inherited from itk::PathConstIterator< TImage, TPath > | |
typedef TImage::PointType | PointType |
typedef TImage::RegionType | RegionType |
typedef TImage::SpacingType | SpacingType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
Self & | operator= (const Self &it) |
PathIterator (ImageType *imagePtr, const PathType *pathPtr) | |
PixelType & | Value (void) |
virtual | ~PathIterator () |
void | Set (const PixelType &value) |
Public Member Functions inherited from itk::PathConstIterator< TImage, TPath > | |
const PixelType & | Get (void) const |
const IndexType | GetIndex () |
const PathInputType | GetPathPosition () |
void | GoToBegin () |
bool | IsAtEnd () |
void | operator++ () |
PathConstIterator (const ImageType *imagePtr, const PathType *pathPtr) | |
virtual void | VisitStartIndexAsLastIndexIfClosed (bool flag) |
virtual | ~PathConstIterator () |
Static Public Attributes | |
static const unsigned int | ImageIteratorDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::PathConstIterator< TImage, TPath > |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::PathConstIterator< TImage, TPath > | |
static unsigned int | GetImageIteratorDimension () |
Protected Attributes inherited from itk::PathConstIterator< TImage, TPath > | |
IndexType | m_CurrentImageIndex |
PathInputType | m_CurrentPathPosition |
ImageType::ConstWeakPointer | m_Image |
PointType | m_ImageOrigin |
const SizeValueType * | m_ImageSize |
SpacingType | m_ImageSpacing |
bool | m_IsAtEnd |
PathType::ConstPointer | m_Path |
RegionType | m_Region |
bool | m_VisitStartIndexAsLastIndexIfClosed |
OffsetType | m_ZeroOffset |
PathIterator iterates (traces) over a path through an image.
This iterator visits only those indices of the image which are overlapped by the path. All indices are visited in path order. If a path crosses itself at an index, that index of the image will be visited twice. This class add write-access to the functionality of the PathConstIterator.
Definition at line 68 of file itkPathIterator.h.
typedef Superclass::AccessorType itk::PathIterator< TImage, TPath >::AccessorType |
Accessor type that convert data between internal and external representations.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 94 of file itkPathIterator.h.
typedef Superclass::ImageType itk::PathIterator< TImage, TPath >::ImageType |
Image typedef support.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 89 of file itkPathIterator.h.
typedef Superclass::IndexType itk::PathIterator< TImage, TPath >::IndexType |
Inherit types from the superclass
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 86 of file itkPathIterator.h.
typedef Superclass::InternalPixelType itk::PathIterator< TImage, TPath >::InternalPixelType |
Internal Pixel Type
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 92 of file itkPathIterator.h.
typedef Superclass::OffsetType itk::PathIterator< TImage, TPath >::OffsetType |
Offset typedef support.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 87 of file itkPathIterator.h.
typedef Superclass::PathInputType itk::PathIterator< TImage, TPath >::PathInputType |
Path 1D Input Type
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 96 of file itkPathIterator.h.
typedef Superclass::PathOutputType itk::PathIterator< TImage, TPath >::PathOutputType |
Path ND Output Type, which is not necessarily an index type
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 97 of file itkPathIterator.h.
typedef Superclass::PathType itk::PathIterator< TImage, TPath >::PathType |
Path typedef support
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 95 of file itkPathIterator.h.
typedef Superclass::PixelContainer itk::PathIterator< TImage, TPath >::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::PathConstIterator< TImage, TPath >.
Definition at line 90 of file itkPathIterator.h.
typedef Superclass::PixelContainerPointer itk::PathIterator< TImage, TPath >::PixelContainerPointer |
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 91 of file itkPathIterator.h.
typedef Superclass::PixelType itk::PathIterator< TImage, TPath >::PixelType |
External Pixel Type
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 93 of file itkPathIterator.h.
typedef PathIterator itk::PathIterator< TImage, TPath >::Self |
Standard class typedefs.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 73 of file itkPathIterator.h.
typedef Superclass::SizeType itk::PathIterator< TImage, TPath >::SizeType |
Size typedef support.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Definition at line 88 of file itkPathIterator.h.
typedef PathConstIterator< TImage, TPath > itk::PathIterator< TImage, TPath >::Superclass |
Define the superclass
Definition at line 83 of file itkPathIterator.h.
itk::PathIterator< TImage, TPath >::PathIterator | ( | ImageType * | imagePtr, |
const PathType * | pathPtr | ||
) |
Constructor establishes an iterator to walk along a path
|
inlinevirtual |
Default Destructor.
Definition at line 130 of file itkPathIterator.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PathConstIterator< TImage, TPath >.
Self& itk::PathIterator< TImage, TPath >::operator= | ( | const Self & | it | ) |
operator= is provided to make sure the handles to the image and path are properly reference counted.
Reimplemented from itk::PathConstIterator< TImage, TPath >.
|
inline |
Set the pixel value
Definition at line 103 of file itkPathIterator.h.
|
inline |
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 117 of file itkPathIterator.h.
|
static |
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::PathConstIterator< TImage, TPath >.
Definition at line 80 of file itkPathIterator.h.