ITK  5.4.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>

+ 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
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (MaskInput)
 
 MaskInput ()
 
TOutput operator() (const TInput &A, const TMask &B) const
 
bool operator== (const MaskInput &) 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 91 of file itkMaskImageFilter.h.

◆ GetOutsideValue()

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

Method to get the outside value of the mask

Definition at line 77 of file itkMaskImageFilter.h.

◆ 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 106 of file itkMaskImageFilter.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

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

◆ 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 56 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.

◆ 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 84 of file itkMaskImageFilter.h.

◆ SetOutsideValue()

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

Method to explicitly set the outside value of the mask

Definition at line 70 of file itkMaskImageFilter.h.

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: