ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
itk::Functor::LogicOpBase< TInput1, TInput2, TOutput > Class Template Reference

#include <itkLogicOpsFunctors.h>

+ Inheritance diagram for itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >:
+ Collaboration diagram for itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >:

Detailed Description

template<class TInput1, class TInput2 = TInput1, class TOutput = TInput1>
class itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >

Base class for some logic functors. Provides the Foreground and background setting methods.

The derived classes can be used as follows:

typedef itk::BinaryFunctorImageFilter< myImageType1, myImageType2, myImageType3, itk::Functor::Equal2<myImageType1::PixelType, myImageType2::PixelType, myImageType3::PixelType>

myFilterType;

typedef myFilterType::Pointer myFilterTypePointer;

myFilterTypePointer filter = myFilterType::New();

filter->SetInput1( inputImageA ); filter->SetInput2( inputImageB );

filter->SetConstant1(3.0); filter->SetInput2(inputImageB);

Definition at line 58 of file itkLogicOpsFunctors.h.

Public Types

typedef LogicOpBase Self
 

Public Member Functions

TOutput GetBackgroundValue () const
 
TOutput GetForegroundValue () const
 
 LogicOpBase ()
 
bool operator!= (const Self &) const
 
bool operator== (const Self &other) const
 
void SetBackgroundValue (const TOutput &BG)
 
void SetForegroundValue (const TOutput &FG)
 
 ~LogicOpBase ()
 

Protected Attributes

TOutput m_BackgroundValue
 
TOutput m_ForegroundValue
 

Member Typedef Documentation

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
typedef LogicOpBase itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::Self

Definition at line 61 of file itkLogicOpsFunctors.h.

Constructor & Destructor Documentation

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::LogicOpBase ( )
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::~LogicOpBase ( )
inline

Definition at line 68 of file itkLogicOpsFunctors.h.

Member Function Documentation

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
TOutput itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::GetBackgroundValue ( ) const
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
TOutput itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::GetForegroundValue ( ) const
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
bool itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::operator!= ( const Self ) const
inline

Definition at line 71 of file itkLogicOpsFunctors.h.

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
bool itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::operator== ( const Self other) const
inline

Definition at line 75 of file itkLogicOpsFunctors.h.

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
void itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetBackgroundValue ( const TOutput &  BG)
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
void itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::SetForegroundValue ( const TOutput &  FG)
inline

Member Data Documentation

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
TOutput itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::m_BackgroundValue
protected
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
TOutput itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >::m_ForegroundValue
protected

The documentation for this class was generated from the following file: