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

#include <itkLogicOpsFunctors.h>

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 118 of file 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

 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self)
 
TOutput operator() (const TInput1 &A, const TInput2 &B) const
 
bool operator== (const Self &) const
 
- Public Member Functions inherited from itk::Functor::LogicOpBase< TInput1, TInput2, TOutput >
TOutput GetBackgroundValue () const
 
TOutput GetForegroundValue () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self)
 
 LogicOpBase ()
 
bool operator== (const Self &) 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

◆ Self

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

Definition at line 121 of file itkLogicOpsFunctors.h.

Member Function Documentation

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

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

◆ 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 132 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 ) const
inline

Definition at line 124 of file itkLogicOpsFunctors.h.


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