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

#include <itkWeightedAddImageFilter.h>

Detailed Description

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

Definition at line 35 of file itkWeightedAddImageFilter.h.

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

Public Types

using AccumulatorType = typename NumericTraits< TInput1 >::AccumulateType
 
using RealType = typename NumericTraits< TInput1 >::RealType
 

Public Member Functions

RealType GetAlpha () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (WeightedAdd2)
 
TOutput operator() (const TInput1 &A, const TInput2 &B) const
 
bool operator== (const WeightedAdd2 &other) const
 
void SetAlpha (RealType alpha)
 
 WeightedAdd2 ()
 
 ~WeightedAdd2 ()=default
 

Private Attributes

RealType m_Alpha
 
RealType m_Beta
 

Member Typedef Documentation

◆ AccumulatorType

template<typename TInput1, typename TInput2, typename TOutput>
using itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::AccumulatorType = typename NumericTraits<TInput1>::AccumulateType

Definition at line 38 of file itkWeightedAddImageFilter.h.

◆ RealType

template<typename TInput1, typename TInput2, typename TOutput>
using itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::RealType = typename NumericTraits<TInput1>::RealType

Definition at line 39 of file itkWeightedAddImageFilter.h.

Constructor & Destructor Documentation

◆ WeightedAdd2()

template<typename TInput1, typename TInput2, typename TOutput>
itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::WeightedAdd2 ( )
inline

Definition at line 40 of file itkWeightedAddImageFilter.h.

◆ ~WeightedAdd2()

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

Member Function Documentation

◆ GetAlpha()

template<typename TInput1, typename TInput2, typename TOutput>
RealType itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::GetAlpha ( ) const
inline

Definition at line 72 of file itkWeightedAddImageFilter.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

template<typename TInput1, typename TInput2, typename TOutput>
itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( WeightedAdd2< TInput1, TInput2, TOutput >  )

◆ operator()()

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

Definition at line 56 of file itkWeightedAddImageFilter.h.

◆ operator==()

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

Definition at line 48 of file itkWeightedAddImageFilter.h.

◆ SetAlpha()

template<typename TInput1, typename TInput2, typename TOutput>
void itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::SetAlpha ( RealType  alpha)
inline

Definition at line 65 of file itkWeightedAddImageFilter.h.

Member Data Documentation

◆ m_Alpha

template<typename TInput1, typename TInput2, typename TOutput>
RealType itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::m_Alpha
private

◆ m_Beta

template<typename TInput1, typename TInput2, typename TOutput>
RealType itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::m_Beta
private

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