ITK
6.0.0
Insight Toolkit
|
#include <itkAdaptImageFilter.h>
Convert an accessor to a functor so that it can be used in a UnaryFunctorImageFilter.
AccessorFunctor converts a data accessor to a functor object. This allows an accessor to be used as functor in a UnaryFunctorImageFilter, BinaryFunctorImageFilter, TernaryFunctorImageFilter, or NaryFunctionImageFilter.
Definition at line 43 of file itkAdaptImageFilter.h.
Public Types | |
using | AccessorType = TAccessor |
using | Self = AccessorFunctor |
Public Member Functions | |
AccessorType & | GetAccessor () |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self) | |
bool | operator== (const Self &other) const |
void | SetAccessor (AccessorType &accessor) |
Private Attributes | |
AccessorType | m_Accessor {} |
using | OutputType = typename TAccessor::ExternalType |
OutputType | operator() (const TInput &A) const |
using itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorType = TAccessor |
Definition at line 49 of file itkAdaptImageFilter.h.
using itk::Functor::AccessorFunctor< TInput, TAccessor >::OutputType = typename TAccessor::ExternalType |
operator(). This is the "call" method of the functor.
Definition at line 52 of file itkAdaptImageFilter.h.
using itk::Functor::AccessorFunctor< TInput, TAccessor >::Self = AccessorFunctor |
Standard class type aliases.
Definition at line 48 of file itkAdaptImageFilter.h.
|
inline |
Get the accessor. The accessor is returned by reference.
Definition at line 62 of file itkAdaptImageFilter.h.
Referenced by itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::GetAccessor(), and itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::SetAccessor().
itk::Functor::AccessorFunctor< TInput, TAccessor >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
|
inline |
operator(). This is the "call" method of the functor.
Definition at line 54 of file itkAdaptImageFilter.h.
|
inline |
Needed to determine if two accessors are the same.
Definition at line 80 of file itkAdaptImageFilter.h.
|
inline |
Set the accessor object. This replaces the current accessor with a copy of the specified accessor. This allows the user to specify an accessor that has ivars set differently that the default accessor.
Definition at line 73 of file itkAdaptImageFilter.h.
Referenced by itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::SetAccessor().
|
private |
Definition at line 88 of file itkAdaptImageFilter.h.
Referenced by itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::GetAccessor(), itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::operator()(), itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::operator==(), and itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::SetAccessor().