ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
itk::Functor::MaskInput< TInput, TMask, TOutput > Class Template Reference

#include <itkMaskImageFilter.h>

+ Inheritance diagram for itk::Functor::MaskInput< TInput, TMask, TOutput >:
+ Collaboration diagram for itk::Functor::MaskInput< TInput, TMask, TOutput >:

Public Types

using AccumulatorType = typename NumericTraits< TInput >::AccumulateType
 

Public Member Functions

const TMask & GetMaskingValue () const
 
const TOutput & GetOutsideValue () const
 
 MaskInput ()
 
bool operator!= (const MaskInput &) const
 
TOutput operator() (const TInput &A, const TMask &B) const
 
bool operator== (const MaskInput &other) const
 
void SetMaskingValue (const TMask &maskingValue)
 
void SetOutsideValue (const TOutput &outsideValue)
 
 ~MaskInput ()=default
 

Private Member Functions

template<typename TPixelType >
void InitializeOutsideValue (TPixelType *)
 
template<typename TValue >
void InitializeOutsideValue (VariableLengthVector< TValue > *)
 

Private Attributes

TMask m_MaskingValue
 
TOutput m_OutsideValue
 

Detailed Description

template<typename TInput, typename TMask, typename TOutput = TInput>
class itk::Functor::MaskInput< TInput, TMask, TOutput >

Definition at line 36 of file itkMaskImageFilter.h.

Member Typedef Documentation

◆ AccumulatorType

template<typename TInput, typename TMask, typename TOutput = TInput>
using itk::Functor::MaskInput< TInput, TMask, TOutput >::AccumulatorType = typename NumericTraits<TInput>::AccumulateType

Definition at line 39 of file itkMaskImageFilter.h.

Constructor & Destructor Documentation

◆ MaskInput()

template<typename TInput, typename TMask, typename TOutput = TInput>
itk::Functor::MaskInput< TInput, TMask, TOutput >::MaskInput ( )
inline

Definition at line 41 of file itkMaskImageFilter.h.

◆ ~MaskInput()

template<typename TInput, typename TMask, typename TOutput = TInput>
itk::Functor::MaskInput< TInput, TMask, TOutput >::~MaskInput ( )
default

Member Function Documentation

◆ GetMaskingValue()

template<typename TInput, typename TMask, typename TOutput = TInput>
const TMask& itk::Functor::MaskInput< TInput, TMask, TOutput >::GetMaskingValue ( ) const
inline

Method to get the masking value

Definition at line 95 of file itkMaskImageFilter.h.

Referenced by itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskingValue().

◆ GetOutsideValue()

template<typename TInput, typename TMask, typename TOutput = TInput>
const TOutput& itk::Functor::MaskInput< TInput, TMask, TOutput >::GetOutsideValue ( ) const
inline

◆ InitializeOutsideValue() [1/2]

template<typename TInput, typename TMask, typename TOutput = TInput>
template<typename TPixelType >
void itk::Functor::MaskInput< TInput, TMask, TOutput >::InitializeOutsideValue ( TPixelType *  )
inlineprivate

◆ InitializeOutsideValue() [2/2]

template<typename TInput, typename TMask, typename TOutput = TInput>
template<typename TValue >
void itk::Functor::MaskInput< TInput, TMask, TOutput >::InitializeOutsideValue ( VariableLengthVector< TValue > *  )
inlineprivate

Definition at line 110 of file itkMaskImageFilter.h.

◆ operator!=()

template<typename TInput, typename TMask, typename TOutput = TInput>
bool itk::Functor::MaskInput< TInput, TMask, TOutput >::operator!= ( const MaskInput< TInput, TMask, TOutput > &  ) const
inline

Definition at line 48 of file itkMaskImageFilter.h.

◆ operator()()

template<typename TInput, typename TMask, typename TOutput = TInput>
TOutput itk::Functor::MaskInput< TInput, TMask, TOutput >::operator() ( const TInput &  A,
const TMask &  B 
) const
inline

Definition at line 60 of file itkMaskImageFilter.h.

◆ operator==()

template<typename TInput, typename TMask, typename TOutput = TInput>
bool itk::Functor::MaskInput< TInput, TMask, TOutput >::operator== ( const MaskInput< TInput, TMask, TOutput > &  other) const
inline

Definition at line 54 of file itkMaskImageFilter.h.

◆ SetMaskingValue()

template<typename TInput, typename TMask, typename TOutput = TInput>
void itk::Functor::MaskInput< TInput, TMask, TOutput >::SetMaskingValue ( const TMask &  maskingValue)
inline

Method to explicitly set the masking value

Definition at line 88 of file itkMaskImageFilter.h.

Referenced by itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue().

◆ SetOutsideValue()

template<typename TInput, typename TMask, typename TOutput = TInput>
void itk::Functor::MaskInput< TInput, TMask, TOutput >::SetOutsideValue ( const TOutput &  outsideValue)
inline

Member Data Documentation

◆ m_MaskingValue

template<typename TInput, typename TMask, typename TOutput = TInput>
TMask itk::Functor::MaskInput< TInput, TMask, TOutput >::m_MaskingValue
private

◆ m_OutsideValue

template<typename TInput, typename TMask, typename TOutput = TInput>
TOutput itk::Functor::MaskInput< TInput, TMask, TOutput >::m_OutsideValue
private

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