Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::IndexedValueFunctorPolicy Class Reference

Policy class adapting an IndexedValueFunctorBase for use with itkMultiOutputNaryFunctorImageFilter. More...

#include <mitkIndexedValueFunctorPolicy.h>

Public Types

typedef IndexedValueFunctorBase FunctorType
 
typedef IndexedValueFunctorBase::ConstPointer FunctorConstPointer
 
typedef FunctorType::InputPixelVectorType InputPixelVectorType
 
typedef FunctorType::OutputPixelVectorType OutputPixelVectorType
 
typedef InputPixelVectorType InputPixelArrayType
 
typedef FunctorType::IndexType IndexType
 
typedef std::vector< mitk::ScalarType > OutputPixelArrayType
 

Public Member Functions

 IndexedValueFunctorPolicy ()
 
 ~IndexedValueFunctorPolicy ()
 
unsigned int GetNumberOfOutputs () const
 
void SetFunctor (const FunctorType *functor)
 
bool operator!= (const IndexedValueFunctorPolicy &other) const
 
bool operator== (const IndexedValueFunctorPolicy &other) const
 
OutputPixelVectorType operator() (const InputPixelVectorType &value, const IndexType &currentIndex) const
 

Detailed Description

Policy class adapting an IndexedValueFunctorBase for use with itkMultiOutputNaryFunctorImageFilter.

Wraps an IndexedValueFunctorBase and provides the operator() interface expected by the ITK image filter, passing both the pixel values and the current index.

See also
IndexedValueFunctorBase, SimpleFunctorPolicy

Definition at line 32 of file mitkIndexedValueFunctorPolicy.h.

Member Typedef Documentation

◆ FunctorConstPointer

◆ FunctorType

◆ IndexType

◆ InputPixelArrayType

◆ InputPixelVectorType

◆ OutputPixelArrayType

◆ OutputPixelVectorType

Constructor & Destructor Documentation

◆ IndexedValueFunctorPolicy()

mitk::IndexedValueFunctorPolicy::IndexedValueFunctorPolicy ( )

◆ ~IndexedValueFunctorPolicy()

mitk::IndexedValueFunctorPolicy::~IndexedValueFunctorPolicy ( )

Member Function Documentation

◆ GetNumberOfOutputs()

unsigned int mitk::IndexedValueFunctorPolicy::GetNumberOfOutputs ( ) const

◆ operator!=()

bool mitk::IndexedValueFunctorPolicy::operator!= ( const IndexedValueFunctorPolicy &  other) const

◆ operator()()

OutputPixelVectorType mitk::IndexedValueFunctorPolicy::operator() ( const InputPixelVectorType &  value,
const IndexType &  currentIndex 
) const

◆ operator==()

bool mitk::IndexedValueFunctorPolicy::operator== ( const IndexedValueFunctorPolicy &  other) const

◆ SetFunctor()

void mitk::IndexedValueFunctorPolicy::SetFunctor ( const FunctorType *  functor)

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