NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
itk::Functor::BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput > Class Template Reference

Function object that given two inputs A and B, will return B if A is not zero, and otherwise return 0. More...

Public Member Functions

 BWhereANonZeroOtherwiseZero ()
 
 ~BWhereANonZeroOtherwiseZero ()
 
bool operator!= (const BWhereANonZeroOtherwiseZero &) const
 
bool operator== (const BWhereANonZeroOtherwiseZero &other) const
 
TOutput operator() (const TInput1 &A, const TInput2 &B)
 

Detailed Description

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

Function object that given two inputs A and B, will return B if A is not zero, and otherwise return 0.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
bool itk::Functor::BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput >::operator!= ( const BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput > &  ) const
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
TOutput itk::Functor::BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput >::operator() ( const TInput1 &  A,
const TInput2 &  B 
)
inline
template<class TInput1 , class TInput2 = TInput1, class TOutput = TInput1>
bool itk::Functor::BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput >::operator== ( const BWhereANonZeroOtherwiseZero< TInput1, TInput2, TOutput > &  other) const
inline

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