18 #ifndef itkDefaultVectorPixelAccessorFunctor_h 19 #define itkDefaultVectorPixelAccessorFunctor_h 45 template<
typename TImageType >
62 template <
typename UImageType>
71 image->SetVectorLength(length);
76 return image->GetVectorLength();
92 inline void SetBegin(
const InternalPixelType *begin)
93 { this->
m_Begin =
const_cast< InternalPixelType *
>( begin ); }
96 inline void Set(InternalPixelType & output,
const ExternalPixelType & input)
const 102 inline ExternalPixelType
Get(
const InternalPixelType & input)
const 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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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