18 #ifndef __itkDefaultVectorPixelAccessorFunctor_h
19 #define __itkDefaultVectorPixelAccessorFunctor_h
45 template<
typename TImageType >
62 template <
typename UImageType>
71 image->SetVectorLength(length);
76 return image->GetVectorLength();
static void SetVectorLength(ImageType *image, VectorLengthType length)
ExternalPixelType Get(const InternalPixelType &input) const
static VectorLengthType GetVectorLength(const ImageType *image)
void Set(InternalPixelType &output, const ExternalPixelType &input) const
DefaultVectorPixelAccessorFunctor< UImageType > Type
ImageType::InternalPixelType InternalPixelType
unsigned int VectorLengthType
DefaultVectorPixelAccessorFunctor()
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultV...
void SetPixelAccessor(PixelAccessorType &accessor)
void SetBegin(const InternalPixelType *begin)
InternalPixelType * m_Begin
ImageType::AccessorType PixelAccessorType
PixelAccessorType m_PixelAccessor
ImageType::PixelType ExternalPixelType