ITK
6.0.0
Insight Toolkit
|
#include <itkVectorImageToImageAdaptor.h>
Extract components from a VectorImage.
This accessor is used to extract components from a VectorImage. It is used from VectorImageComponentExtractAdaptor. The component to extract is set using SetExtractComponentIdx.
Definition at line 48 of file itkVectorImageToImageAdaptor.h.
Public Types | |
using | ActualPixelType = VariableLengthVector< TType > |
using | ExternalType = TType |
using | InternalType = TType |
using | VectorLengthType = unsigned int |
Public Member Functions | |
ExternalType | Get (const ActualPixelType &input) const |
ExternalType | Get (const InternalType &input, const SizeValueType offset) const |
VectorLengthType | GetExtractComponentIdx () const |
VectorLengthType | GetVectorLength () const |
void | Set (ActualPixelType output, const ExternalType &input) const |
void | Set (InternalType &output, const ExternalType &input, const unsigned long offset) const |
void | SetExtractComponentIdx (VectorLengthType idx) |
void | SetVectorLength (VectorLengthType l) |
VectorImageToImagePixelAccessor (unsigned int length=1) | |
Protected Types | |
using | Superclass = DefaultVectorPixelAccessor< TType > |
Private Attributes | |
VectorLengthType | m_ComponentIdx { 0 } |
Additional Inherited Members | |
Private Types inherited from itk::DefaultVectorPixelAccessor< TType > | |
using | ExternalType = VariableLengthVector< TType > |
using | InternalType = TType |
using | VectorLengthType = unsigned int |
Private Member Functions inherited from itk::DefaultVectorPixelAccessor< TType > | |
DefaultVectorPixelAccessor ()=default | |
DefaultVectorPixelAccessor (VectorLengthType l) | |
ExternalType | Get (const InternalType &input, const SizeValueType offset) const |
VectorLengthType | GetVectorLength () const |
void | Set (InternalType &output, const ExternalType &input, const unsigned long offset) const |
~DefaultVectorPixelAccessor ()=default | |
void | SetVectorLength (VectorLengthType l) |
using itk::Accessor::VectorImageToImagePixelAccessor< TType >::ActualPixelType = VariableLengthVector<TType> |
Definition at line 60 of file itkVectorImageToImageAdaptor.h.
using itk::Accessor::VectorImageToImagePixelAccessor< TType >::ExternalType = TType |
External type alias. It defines the external aspect that this class will exhibit.
Definition at line 55 of file itkVectorImageToImageAdaptor.h.
using itk::Accessor::VectorImageToImagePixelAccessor< TType >::InternalType = TType |
Internal type alias used by the ImageAdaptor for the buffer pointer
Definition at line 58 of file itkVectorImageToImageAdaptor.h.
|
protected |
Definition at line 118 of file itkVectorImageToImageAdaptor.h.
using itk::Accessor::VectorImageToImagePixelAccessor< TType >::VectorLengthType = unsigned int |
Definition at line 51 of file itkVectorImageToImageAdaptor.h.
|
inline |
Definition at line 115 of file itkVectorImageToImageAdaptor.h.
References itk::DefaultVectorPixelAccessor< TType >::SetVectorLength().
|
inline |
Definition at line 75 of file itkVectorImageToImageAdaptor.h.
References itk::Accessor::VectorImageToImagePixelAccessor< TType >::m_ComponentIdx.
Referenced by itk::Accessor::VectorImageToImagePixelAccessor< TType >::Get().
|
inline |
Definition at line 84 of file itkVectorImageToImageAdaptor.h.
References itk::Accessor::VectorImageToImagePixelAccessor< TType >::Get(), and itk::DefaultVectorPixelAccessor< TType >::Get().
|
inline |
Definition at line 96 of file itkVectorImageToImageAdaptor.h.
References itk::Accessor::VectorImageToImagePixelAccessor< TType >::m_ComponentIdx.
Referenced by itk::VectorImageToImageAdaptor< TPixelType, Dimension >::GetExtractComponentIndex().
|
inline |
Get Vector lengths
Definition at line 110 of file itkVectorImageToImageAdaptor.h.
References itk::DefaultVectorPixelAccessor< TType >::GetVectorLength().
|
inline |
Definition at line 63 of file itkVectorImageToImageAdaptor.h.
References itk::Accessor::VectorImageToImagePixelAccessor< TType >::m_ComponentIdx.
Referenced by itk::Accessor::VectorImageToImagePixelAccessor< TType >::Set().
|
inline |
Definition at line 69 of file itkVectorImageToImageAdaptor.h.
References itk::DefaultVectorPixelAccessor< TType >::Get(), and itk::Accessor::VectorImageToImagePixelAccessor< TType >::Set().
|
inline |
Definition at line 90 of file itkVectorImageToImageAdaptor.h.
References itk::Accessor::VectorImageToImagePixelAccessor< TType >::m_ComponentIdx.
Referenced by itk::VectorImageToImageAdaptor< TPixelType, Dimension >::SetExtractComponentIndex().
|
inline |
Set the length of each vector in the VectorImage
Definition at line 103 of file itkVectorImageToImageAdaptor.h.
References itk::DefaultVectorPixelAccessor< TType >::SetVectorLength().
|
private |
Definition at line 121 of file itkVectorImageToImageAdaptor.h.
Referenced by itk::Accessor::VectorImageToImagePixelAccessor< TType >::Get(), itk::Accessor::VectorImageToImagePixelAccessor< TType >::GetExtractComponentIdx(), itk::Accessor::VectorImageToImagePixelAccessor< TType >::Set(), and itk::Accessor::VectorImageToImagePixelAccessor< TType >::SetExtractComponentIdx().