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

#include <itkLogicOpsFunctors.h>

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

Detailed Description

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

Functor for == operation on images and constants.

Operations by c++ casting defaults. Foreground and background values are set by methods. Defaults are 1, 0.

Definition at line 114 of file itkLogicOpsFunctors.h.

Public Types

using Self = Equal
 
- Public Types inherited from itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >
using Self = LogicOpBase
 

Public Member Functions

 Equal ()=default
 
bool operator!= (const Self &) const
 
TOutput operator() (const TInput1 &A, const TInput2 &B) const
 
bool operator== (const Self &other) const
 
 ~Equal ()=default
 
- Public Member Functions inherited from itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >
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 ()=default
 

Additional Inherited Members

- Protected Attributes inherited from itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >
TOutput m_BackgroundValue
 
TOutput m_ForegroundValue
 

Member Typedef Documentation

template<typename TInput1 , typename TInput2 = TInput1, typename TOutput = TInput1>
using itk::Functor::Equal< TInput1, TInput2, TOutput >::Self = Equal

Definition at line 117 of file itkLogicOpsFunctors.h.

Constructor & Destructor Documentation

template<typename TInput1 , typename TInput2 = TInput1, typename TOutput = TInput1>
itk::Functor::Equal< TInput1, TInput2, TOutput >::Equal ( )
default
template<typename TInput1 , typename TInput2 = TInput1, typename TOutput = TInput1>
itk::Functor::Equal< TInput1, TInput2, TOutput >::~Equal ( )
default

Member Function Documentation

template<typename TInput1 , typename TInput2 = TInput1, typename TOutput = TInput1>
bool itk::Functor::Equal< TInput1, TInput2, TOutput >::operator!= ( const Self ) const
inline

Definition at line 122 of file itkLogicOpsFunctors.h.

template<typename TInput1 , typename TInput2 = TInput1, typename TOutput = TInput1>
TOutput itk::Functor::Equal< TInput1, TInput2, TOutput >::operator() ( const TInput1 &  A,
const TInput2 &  B 
) const
inline

Definition at line 130 of file itkLogicOpsFunctors.h.

References itk::Math::ExactlyEquals().

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

Definition at line 126 of file itkLogicOpsFunctors.h.


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