ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkDefaultVectorPixelAccessorFunctor.h>
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor).
The pixel accessor is set with the SetPixelAccessor method. This accessor is meant to be used only for VectorImage and not for Image. Prior to use, the start of the VectorImage buffer must also be set with the SetBegin method.
Definition at line 46 of file itkDefaultVectorPixelAccessorFunctor.h.
Classes | |
struct | Rebind |
Public Types | |
using | ExternalPixelType = typename ImageType::PixelType |
using | ImageType = TImageType |
using | InternalPixelType = typename ImageType::InternalPixelType |
using | PixelAccessorType = typename ImageType::AccessorType |
using | VectorLengthType = unsigned int |
Public Member Functions | |
DefaultVectorPixelAccessorFunctor () | |
ExternalPixelType | Get (const InternalPixelType &input) const |
void | Set (InternalPixelType &output, const ExternalPixelType &input) const |
void | SetBegin (const InternalPixelType *begin) |
void | SetPixelAccessor (const PixelAccessorType &accessor) |
Static Public Member Functions | |
static VectorLengthType | GetVectorLength (const ImageType *image) |
static void | SetVectorLength (ImageType *image, VectorLengthType length) |
Private Attributes | |
InternalPixelType * | m_Begin |
PixelAccessorType | m_PixelAccessor |
using itk::DefaultVectorPixelAccessorFunctor< TImageType >::ExternalPixelType = typename ImageType::PixelType |
Definition at line 52 of file itkDefaultVectorPixelAccessorFunctor.h.
using itk::DefaultVectorPixelAccessorFunctor< TImageType >::ImageType = TImageType |
Definition at line 50 of file itkDefaultVectorPixelAccessorFunctor.h.
using itk::DefaultVectorPixelAccessorFunctor< TImageType >::InternalPixelType = typename ImageType::InternalPixelType |
Definition at line 51 of file itkDefaultVectorPixelAccessorFunctor.h.
using itk::DefaultVectorPixelAccessorFunctor< TImageType >::PixelAccessorType = typename ImageType::AccessorType |
Definition at line 53 of file itkDefaultVectorPixelAccessorFunctor.h.
using itk::DefaultVectorPixelAccessorFunctor< TImageType >::VectorLengthType = unsigned int |
Definition at line 54 of file itkDefaultVectorPixelAccessorFunctor.h.
|
inline |
Definition at line 80 of file itkDefaultVectorPixelAccessorFunctor.h.
|
inline |
Get the value from input
Definition at line 102 of file itkDefaultVectorPixelAccessorFunctor.h.
References itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_Begin, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_PixelAccessor.
|
inlinestatic |
Definition at line 74 of file itkDefaultVectorPixelAccessorFunctor.h.
|
inline |
Set output using the value in input
Definition at line 96 of file itkDefaultVectorPixelAccessorFunctor.h.
References itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_Begin, and itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_PixelAccessor.
|
inline |
Set the pointer index to the start of the buffer.
Definition at line 92 of file itkDefaultVectorPixelAccessorFunctor.h.
References itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_Begin.
|
inline |
Set the PixelAccessor. This is set at construction time by the image iterators. The type PixelAccessorType is obtained from the ImageType over which the iterators are templated.
Definition at line 86 of file itkDefaultVectorPixelAccessorFunctor.h.
References itk::DefaultVectorPixelAccessorFunctor< TImageType >::m_PixelAccessor.
|
inlinestatic |
Definition at line 69 of file itkDefaultVectorPixelAccessorFunctor.h.
|
private |
|
private |