ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkAdaptImageFilter.h>
Public Types | |
typedef TAccessor | AccessorType |
typedef AccessorFunctor | Self |
Public Member Functions | |
AccessorType & | GetAccessor () |
bool | operator!= (const Self &functor) const |
AccessorFunctor & | operator= (const AccessorFunctor &functor) |
bool | operator== (const Self &other) const |
void | SetAccessor (AccessorType &accessor) |
AccessorFunctor () | |
~AccessorFunctor () | |
Private Attributes | |
AccessorType | m_Accessor |
typedef TAccessor::ExternalType | OutputType |
OutputType | operator() (const TInput &A) const |
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 38 of file itkAdaptImageFilter.h.
typedef TAccessor itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorType |
Definition at line 43 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 51 of file itkAdaptImageFilter.h.
typedef AccessorFunctor itk::Functor::AccessorFunctor< TInput, TAccessor >::Self |
Standard class typedefs.
Definition at line 42 of file itkAdaptImageFilter.h.
itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorFunctor | ( | ) | [inline] |
Constructor and destructor.
Definition at line 46 of file itkAdaptImageFilter.h.
itk::Functor::AccessorFunctor< TInput, TAccessor >::~AccessorFunctor | ( | ) | [inline] |
Constructor and destructor.
Definition at line 47 of file itkAdaptImageFilter.h.
AccessorType& itk::Functor::AccessorFunctor< TInput, TAccessor >::GetAccessor | ( | ) | [inline] |
Get the accessor. The accessor is returned by reference.
Definition at line 59 of file itkAdaptImageFilter.h.
bool itk::Functor::AccessorFunctor< TInput, TAccessor >::operator!= | ( | const Self & | functor | ) | const [inline] |
operator!=. Needed to determine if two accessors are the same.
Definition at line 82 of file itkAdaptImageFilter.h.
OutputType itk::Functor::AccessorFunctor< TInput, TAccessor >::operator() | ( | const TInput & | A | ) | const [inline] |
operator(). This is the "call" method of the functor.
Definition at line 52 of file itkAdaptImageFilter.h.
AccessorFunctor& itk::Functor::AccessorFunctor< TInput, TAccessor >::operator= | ( | const AccessorFunctor< TInput, TAccessor > & | functor | ) | [inline] |
Assignment operator
Definition at line 65 of file itkAdaptImageFilter.h.
bool itk::Functor::AccessorFunctor< TInput, TAccessor >::operator== | ( | const Self & | other | ) | const [inline] |
Definition at line 87 of file itkAdaptImageFilter.h.
void itk::Functor::AccessorFunctor< TInput, TAccessor >::SetAccessor | ( | AccessorType & | accessor | ) | [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 76 of file itkAdaptImageFilter.h.
AccessorType itk::Functor::AccessorFunctor< TInput, TAccessor >::m_Accessor [private] |
Definition at line 93 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().