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()
void SetPixelAccessor(const PixelAccessorType &accessor)
typename ImageType::AccessorType PixelAccessorType
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultV...
typename ImageType::InternalPixelType InternalPixelType
unsigned int VectorLengthType
void SetBegin(const InternalPixelType *begin)
InternalPixelType * m_Begin
typename ImageType::PixelType ExternalPixelType
PixelAccessorType m_PixelAccessor