![]() |
Orfeo Toolbox
3.16
|
Convert an accessor to a functor so that it can be used in a UnaryFunctorImageFilter. More...
#include <itkAdaptImageFilter.h>
Inheritance diagram for itk::Functor::AccessorFunctor< TInput, TAccessor >:
Collaboration diagram for itk::Functor::AccessorFunctor< TInput, TAccessor >:Public Types | |
| typedef TAccessor | AccessorType |
| typedef TAccessor::ExternalType | OutputType |
| typedef AccessorFunctor | Self |
Public Member Functions | |
| AccessorFunctor () | |
| ~AccessorFunctor () | |
| AccessorType & | GetAccessor () |
| bool | operator!= (const Self &functor) const |
| OutputType | operator() (const TInput &A) const |
| AccessorFunctor & | operator= (const AccessorFunctor &functor) |
| bool | operator== (const Self &other) const |
| void | SetAccessor (AccessorType &accessor) |
Private Attributes | |
| AccessorType | m_Accessor |
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 37 of file itkAdaptImageFilter.h.
| typedef TAccessor itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorType |
Definition at line 42 of file itkAdaptImageFilter.h.
| typedef TAccessor::ExternalType itk::Functor::AccessorFunctor< TInput, TAccessor >::OutputType |
operator(). This is the "call" method of the functor.
Definition at line 49 of file itkAdaptImageFilter.h.
| typedef AccessorFunctor itk::Functor::AccessorFunctor< TInput, TAccessor >::Self |
Standard class typedefs.
Definition at line 41 of file itkAdaptImageFilter.h.
|
inline |
Constructor and destructor.
Definition at line 45 of file itkAdaptImageFilter.h.
|
inline |
Definition at line 46 of file itkAdaptImageFilter.h.
|
inline |
Get the accessor. The accessor is returned by reference.
Definition at line 56 of file itkAdaptImageFilter.h.
|
inline |
operator!=. Needed to determine if two accessors are the same.
Definition at line 79 of file itkAdaptImageFilter.h.
|
inline |
Definition at line 50 of file itkAdaptImageFilter.h.
|
inline |
Assignment operator
Definition at line 62 of file itkAdaptImageFilter.h.
|
inline |
Definition at line 83 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.
|
private |
Definition at line 89 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()(), itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::operator=(), and itk::Functor::AccessorFunctor< TInputImage::PixelType, TAccessor >::SetAccessor().