24 unsigned int result = 0;
26 if (m_Functor.IsNotNull())
28 result = m_Functor->GetNumberOfOutputs();
38 itkGenericExceptionMacro(<<
"Error. Functor is Null.");
47 return !(*
this == other);
52 return (this->m_Functor == other.m_Functor);
59 itkGenericExceptionMacro(<<
"Error. Cannot process operator(). Functor is Null.");
bool operator!=(const IndexedValueFunctorPolicy &other) const
FunctorType::InputPixelVectorType InputPixelVectorType
FunctorType::OutputPixelVectorType OutputPixelVectorType
OutputPixelVectorType operator()(const InputPixelVectorType &value, const IndexType ¤tIndex) const
unsigned int GetNumberOfOutputs() const
bool operator==(const IndexedValueFunctorPolicy &other) const
~IndexedValueFunctorPolicy()
IndexedValueFunctorPolicy()
void SetFunctor(const FunctorType *functor)