ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkNeighborhoodAccessorFunctor.h>
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.
Public Types | |
template<typename TOutput = ImageType> | |
using | ImageBoundaryConditionType = ImageBoundaryCondition< ImageType, TOutput > |
using | ImageType = TImage |
using | InternalPixelType = typename ImageType::InternalPixelType |
using | NeighborhoodType = Neighborhood< InternalPixelType *, Self::ImageDimension > |
using | OffsetType = typename ImageType::OffsetType |
using | PixelType = typename ImageType::PixelType |
using | Self = NeighborhoodAccessorFunctor |
using | VectorLengthType = unsigned int |
Public Member Functions | |
template<typename TOutput > | |
ImageBoundaryConditionType < TOutput >::OutputPixelType | BoundaryCondition (const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionType< TOutput > *boundaryCondition) const |
PixelType | Get (const InternalPixelType *pixelPointer) const |
void | Set (InternalPixelType *const pixelPointer, const PixelType &p) const |
void | SetBegin (const InternalPixelType *) |
void | SetVectorLength (VectorLengthType) |
VectorLengthType | SetVectorLength () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
using itk::NeighborhoodAccessorFunctor< TImage >::ImageBoundaryConditionType = ImageBoundaryCondition<ImageType, TOutput> |
Definition at line 55 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::ImageType = TImage |
Definition at line 45 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::InternalPixelType = typename ImageType::InternalPixelType |
Definition at line 47 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::NeighborhoodType = Neighborhood< InternalPixelType *, Self::ImageDimension > |
Definition at line 52 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::OffsetType = typename ImageType::OffsetType |
Definition at line 49 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 46 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::Self = NeighborhoodAccessorFunctor |
Definition at line 44 of file itkNeighborhoodAccessorFunctor.h.
using itk::NeighborhoodAccessorFunctor< TImage >::VectorLengthType = unsigned int |
Definition at line 48 of file itkNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 79 of file itkNeighborhoodAccessorFunctor.h.
|
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 66 of file itkNeighborhoodAccessorFunctor.h.
|
inline |
Method to set the pixel value at a certain pixel pointer
Definition at line 72 of file itkNeighborhoodAccessorFunctor.h.
|
inline |
Set the pointer index to the start of the buffer.
Definition at line 58 of file itkNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 88 of file itkNeighborhoodAccessorFunctor.h.
|
inline |
Definition at line 89 of file itkNeighborhoodAccessorFunctor.h.
|
static |
Definition at line 51 of file itkNeighborhoodAccessorFunctor.h.