18#ifndef itkDefaultVectorPixelAccessorFunctor_h
19#define itkDefaultVectorPixelAccessorFunctor_h
45template <
typename TImageType>
61 template <
typename UImageType>
71 image->SetVectorLength(length);
77 return image->GetVectorLength();
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultV...
InternalPixelType * m_Begin
typename ImageType::PixelType ExternalPixelType
PixelAccessorType m_PixelAccessor
static VectorLengthType GetVectorLength(const ImageType *image)
void SetPixelAccessor(const PixelAccessorType &accessor)
void SetBegin(const InternalPixelType *begin)
static void SetVectorLength(ImageType *image, VectorLengthType length)
DefaultVectorPixelAccessorFunctor()=default
typename ImageType::AccessorType PixelAccessorType
typename ImageType::InternalPixelType InternalPixelType
ExternalPixelType Get(const InternalPixelType &input) const
unsigned int VectorLengthType
void Set(InternalPixelType &output, const ExternalPixelType &input) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....