18 #ifndef itkVectorImageToImageAdaptor_h 19 #define itkVectorImageToImageAdaptor_h 46 template<
typename TType >
63 inline void Set(ActualPixelType output,
const ExternalType & input)
const 68 inline void Set(InternalType &output,
const ExternalType & input,
69 const unsigned long offset)
const 74 inline ExternalType
Get(
const ActualPixelType & input)
const 141 template<
typename TPixelType,
unsigned int Dimension >
144 Accessor::VectorImageToImagePixelAccessor< TPixelType > >
175 this->GetPixelAccessor().SetExtractComponentIdx(componentIdx);
181 return this->GetPixelAccessor().GetExtractComponentIdx();
190 void operator=(
const Self &) ITK_DELETE_FUNCTION;
Presents a VectorImage and extracts a component from it into an image.
Superclass::PixelContainerPointer PixelContainerPointer
Superclass::PixelContainerConstPointer PixelContainerConstPointer
Superclass::IOPixelType IOPixelType
virtual ~VectorImageToImageAdaptor()
void SetExtractComponentIdx(VectorLengthType idx)
VectorLengthType m_ComponentIdx
ExternalType Get(const InternalType &input, const SizeValueType offset) const
ExternalType Get(const ActualPixelType &input) const
VectorLengthType GetExtractComponentIndex() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::PixelContainer PixelContainer
unsigned long SizeValueType
Extract components from a VectorImage.
VectorImageToImagePixelAccessor(unsigned int length=1)
void SetVectorLength(VectorLengthType l)
Give access to partial aspects of a type.
Represents an array whose length can be defined at run-time.
VectorLengthType GetVectorLength() const
VectorImage< TPixelType, Dimension > VectorImageType
VectorLengthType GetVectorLength() const
VariableLengthVector< TType > ActualPixelType
VectorLengthType GetExtractComponentIdx() const
void SetExtractComponentIndex(VectorLengthType componentIdx)
void SetVectorLength(VectorLengthType l)
ExternalType Get(const InternalType &input, const SizeValueType offset) const
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
VectorImageToImageAdaptor Self
VectorImageType::VectorLengthType VectorLengthType
Give access to partial aspects of voxels from an Image.
unsigned int VectorLengthType
VectorImageToImageAdaptor()
DefaultVectorPixelAccessor< TType > Superclass
void Set(ActualPixelType output, const ExternalType &input) const
void Set(InternalType &output, const ExternalType &input, const unsigned long offset) const
ImageAdaptor< VectorImageType, Accessor::VectorImageToImagePixelAccessor< TPixelType > > Superclass
unsigned int VectorLengthType