18 #ifndef itkDefaultVectorPixelAccessor_h 19 #define itkDefaultVectorPixelAccessor_h 49 template<
typename TType >
66 inline void Set(InternalType & output,
const ExternalType & input,
67 const unsigned long offset)
const 73 truePixel[i] = input[i];
ExternalType Get(const InternalType &input, const SizeValueType offset) const
VectorLengthType m_VectorLength
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
DefaultVectorPixelAccessor(VectorLengthType l)
unsigned long SizeValueType
void SetVectorLength(VectorLengthType l)
Give access to partial aspects of a type.
VariableLengthVector< TType > ExternalType
void Set(InternalType &output, const ExternalType &input, const unsigned long offset) const
Represents an array whose length can be defined at run-time.
VectorLengthType GetVectorLength() const
virtual ~DefaultVectorPixelAccessor()
unsigned int VectorLengthType
DefaultVectorPixelAccessor()
VectorLengthType m_OffsetMultiplier