18#ifndef itkDefaultVectorPixelAccessor_h
19#define itkDefaultVectorPixelAccessor_h
50template <
typename TType>
84 itkAssertInDebugAndIgnoreInReleaseMacro(input.GetSize() == 0 || input.GetSize() ==
m_VectorLength);
90 truePixel[i] = input[i];
95 [[nodiscard]]
inline ExternalType
112 [[nodiscard]] VectorLengthType
DefaultVectorPixelAccessor()=default
DefaultVectorPixelAccessor(VectorLengthType l)
void SetVectorLength(VectorLengthType l)
VectorLengthType GetVectorLength() const
VariableLengthVector< TType > ExternalType
unsigned int VectorLengthType
VectorLengthType m_VectorLength
VectorLengthType m_OffsetMultiplier
ExternalType Get(const InternalType &input, const SizeValueType offset) const
void Set(InternalType &output, const ExternalType &input, const SizeValueType offset) const
~DefaultVectorPixelAccessor()=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType