Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Functor::AccessorFunctor< TInput, TAccessor > Class Template Reference

#include <itkAdaptImageFilter.h>

List of all members.


Detailed Description

template<class TInput, class TAccessor>
class itk::Functor::AccessorFunctor< TInput, TAccessor >

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::ExternalType OutputType
OutputType operator() (const TInput &A)

Public Types

typedef TAccessor AccessorType
typedef AccessorFunctor Self

Public Member Functions

AccessorTypeGetAccessor ()
AccessorFunctoroperator= (const AccessorFunctor &functor)
void SetAccessor (AccessorType &accessor)
bool operator!= (const Self &functor) const
bool operator== (const Self &other) const


Member Typedef Documentation

template<class TInput, class TAccessor>
typedef TAccessor itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorType

Definition at line 42 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
typedef TAccessor::ExternalType itk::Functor::AccessorFunctor< TInput, TAccessor >::OutputType

operator(). This is the "call" method of the functor.

Definition at line 50 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
typedef AccessorFunctor itk::Functor::AccessorFunctor< TInput, TAccessor >::Self

Standard class typedefs.

Definition at line 41 of file itkAdaptImageFilter.h.


Constructor & Destructor Documentation

template<class TInput, class TAccessor>
itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorFunctor (  )  [inline]

Constructor and destructor.

Definition at line 45 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
itk::Functor::AccessorFunctor< TInput, TAccessor >::~AccessorFunctor (  )  [inline]

Constructor and destructor.

Definition at line 46 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
itk::Functor::AccessorFunctor< TInput, TAccessor >::AccessorFunctor (  )  [inline]

Constructor and destructor.

Definition at line 45 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
itk::Functor::AccessorFunctor< TInput, TAccessor >::~AccessorFunctor (  )  [inline]

Constructor and destructor.

Definition at line 46 of file itkAdaptImageFilter.h.


Member Function Documentation

template<class TInput, class TAccessor>
AccessorType& itk::Functor::AccessorFunctor< TInput, TAccessor >::GetAccessor (  )  [inline]

Get the accessor. The accessor is returned by reference.

Definition at line 56 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
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 73 of file itkAdaptImageFilter.h.

References itk::Functor::AccessorFunctor< TInput, TAccessor >::m_Accessor.

template<class TInput, class TAccessor>
OutputType itk::Functor::AccessorFunctor< TInput, TAccessor >::operator() ( const TInput &  A  )  [inline]

operator(). This is the "call" method of the functor.

Definition at line 51 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
AccessorFunctor& itk::Functor::AccessorFunctor< TInput, TAccessor >::operator= ( const AccessorFunctor< TInput, TAccessor > &  functor  )  [inline]

Assignment operator

Definition at line 60 of file itkAdaptImageFilter.h.

References itk::Functor::AccessorFunctor< TInput, TAccessor >::m_Accessor.

template<class TInput, class TAccessor>
bool itk::Functor::AccessorFunctor< TInput, TAccessor >::operator== ( const Self other  )  const [inline]

operator!=. Needed to determine if two accessors are the same.

Definition at line 77 of file itkAdaptImageFilter.h.

template<class TInput, class TAccessor>
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 69 of file itkAdaptImageFilter.h.


The documentation for this class was generated from the following file:
Generated at Tue Apr 15 01:48:50 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000