ITK  5.3.0
Insight 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 >:

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
 

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 122 of file itkLogicOpsFunctors.h.

Member Typedef Documentation

◆ Self

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

Definition at line 125 of file itkLogicOpsFunctors.h.

Constructor & Destructor Documentation

◆ Equal()

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

◆ ~Equal()

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

Member Function Documentation

◆ operator!=()

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

Definition at line 131 of file itkLogicOpsFunctors.h.

◆ operator()()

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 141 of file itkLogicOpsFunctors.h.

References itk::Math::ExactlyEquals().

◆ operator==()

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 136 of file itkLogicOpsFunctors.h.


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