Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neighborhoods. A typical user should not need to use this class directly. This class is used by the neighborhood iterators to get pixels from pixel pointers or assign a pixel to an address. More...
#include <itkNeighborhoodAccessorFunctor.h>
Public Types | |
typedef ImageBoundaryCondition < ImageType > const * | ImageBoundaryConditionConstPointerType |
typedef TImage | ImageType |
typedef ImageType::InternalPixelType | InternalPixelType |
typedef Neighborhood < InternalPixelType *,::itk::GetImageDimension < TImage >::ImageDimension > | NeighborhoodType |
typedef ImageType::OffsetType | OffsetType |
typedef ImageType::PixelType | PixelType |
typedef unsigned int | VectorLengthType |
Public Member Functions | |
PixelType | BoundaryCondition (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionConstPointerType boundaryCondition) const |
PixelType | Get (const InternalPixelType *pixelPointer) const |
NeighborhoodAccessorFunctor () | |
void | Set (InternalPixelType *&pixelPointer, const PixelType &p) const |
void | SetBegin (const InternalPixelType *) |
void | SetVectorLength (VectorLengthType length) |
VectorLengthType | SetVectorLength () |
virtual | ~NeighborhoodAccessorFunctor () |
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neighborhoods. A typical user should not need to use this class directly. This class is used by the neighborhood iterators to get pixels from pixel pointers or assign a pixel to an address.
Definition at line 41 of file itkNeighborhoodAccessorFunctor.h.
typedef ImageBoundaryCondition< ImageType > const* itk::NeighborhoodAccessorFunctor< TImage >::ImageBoundaryConditionConstPointerType |
Definition at line 54 of file itkNeighborhoodAccessorFunctor.h.
typedef TImage itk::NeighborhoodAccessorFunctor< TImage >::ImageType |
Definition at line 44 of file itkNeighborhoodAccessorFunctor.h.
typedef ImageType::InternalPixelType itk::NeighborhoodAccessorFunctor< TImage >::InternalPixelType |
Definition at line 46 of file itkNeighborhoodAccessorFunctor.h.
typedef Neighborhood< InternalPixelType *, ::itk::GetImageDimension< TImage >::ImageDimension > itk::NeighborhoodAccessorFunctor< TImage >::NeighborhoodType |
Definition at line 51 of file itkNeighborhoodAccessorFunctor.h.
typedef ImageType::OffsetType itk::NeighborhoodAccessorFunctor< TImage >::OffsetType |
Definition at line 48 of file itkNeighborhoodAccessorFunctor.h.
typedef ImageType::PixelType itk::NeighborhoodAccessorFunctor< TImage >::PixelType |
Definition at line 45 of file itkNeighborhoodAccessorFunctor.h.
typedef unsigned int itk::NeighborhoodAccessorFunctor< TImage >::VectorLengthType |
Definition at line 47 of file itkNeighborhoodAccessorFunctor.h.
itk::NeighborhoodAccessorFunctor< TImage >::NeighborhoodAccessorFunctor | ( | ) | [inline] |
Constructor
Definition at line 89 of file itkNeighborhoodAccessorFunctor.h.
virtual itk::NeighborhoodAccessorFunctor< TImage >::~NeighborhoodAccessorFunctor | ( | ) | [inline, virtual] |
Destructor
Definition at line 92 of file itkNeighborhoodAccessorFunctor.h.
PixelType itk::NeighborhoodAccessorFunctor< TImage >::BoundaryCondition | ( | const OffsetType & | point_index, | |
const OffsetType & | boundary_offset, | |||
const NeighborhoodType * | data, | |||
const ImageBoundaryConditionConstPointerType | boundaryCondition | |||
) | const [inline] |
Definition at line 76 of file itkNeighborhoodAccessorFunctor.h.
PixelType itk::NeighborhoodAccessorFunctor< TImage >::Get | ( | const InternalPixelType * | pixelPointer | ) | const [inline] |
Method to dereference a pixel pointer. This is used from the ConstNeighborhoodIterator as the equivalent operation to (*it). This method should be preferred over the former (*it) notation. The reason is that dereferencing a pointer to a location of VectorImage pixel involves a different operation that simply dereferencing the pointer.
Definition at line 65 of file itkNeighborhoodAccessorFunctor.h.
void itk::NeighborhoodAccessorFunctor< TImage >::Set | ( | InternalPixelType *& | pixelPointer, | |
const PixelType & | p | |||
) | const [inline] |
Method to set the pixel value at a certain pixel pointer
Definition at line 71 of file itkNeighborhoodAccessorFunctor.h.
void itk::NeighborhoodAccessorFunctor< TImage >::SetBegin | ( | const InternalPixelType * | ) | [inline] |
Set the pointer index to the start of the buffer.
Definition at line 57 of file itkNeighborhoodAccessorFunctor.h.
void itk::NeighborhoodAccessorFunctor< TImage >::SetVectorLength | ( | VectorLengthType | length | ) | [inline] |
Definition at line 85 of file itkNeighborhoodAccessorFunctor.h.
VectorLengthType itk::NeighborhoodAccessorFunctor< TImage >::SetVectorLength | ( | ) | [inline] |
Definition at line 86 of file itkNeighborhoodAccessorFunctor.h.