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

#include <itkLogicOpsFunctors.h>

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

Public Types

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

Public Member Functions

 NotEqual ()=default
 
bool operator!= (const Self &) const
 
TOutput operator() (const TInput1 &A, const TInput2 &B) const
 
bool operator== (const Self &other) const
 
 ~NotEqual ()=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::NotEqual< 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 161 of file itkLogicOpsFunctors.h.

Member Typedef Documentation

◆ Self

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

Definition at line 164 of file itkLogicOpsFunctors.h.

Constructor & Destructor Documentation

◆ NotEqual()

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

◆ ~NotEqual()

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

Member Function Documentation

◆ operator!=()

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

Definition at line 169 of file itkLogicOpsFunctors.h.

◆ operator()()

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

Definition at line 179 of file itkLogicOpsFunctors.h.

References itk::Math::NotExactlyEquals().

◆ operator==()

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

Definition at line 174 of file itkLogicOpsFunctors.h.


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