Remove make_ImplicitFunctionFunctor functions

They were meant to replace `make_ImplicitFunction*Handle` classes, but
they don't really provide any interesting functionality and are not
backward compatible in any case. So just get rid of one more thing we
don't need to support.
This commit is contained in:
Kenneth Moreland 2021-02-25 14:05:02 -07:00
parent 27cc99acb4
commit 662998f194

@ -194,13 +194,6 @@ private:
FunctionType Function;
};
template <typename FunctionType>
vtkm::ImplicitFunctionValueFunctor<FunctionType> make_ImplicitFunctionValueFunctor(
const vtkm::internal::ImplicitFunctionBase<FunctionType>& function)
{
return ImplicitFunctionValueFunctor<FunctionType>(function);
}
/// A helpful functor that calls the gradient method of a given `ImplicitFunction`. Can be
/// passed to things that expect a functor instead of an `ImplictFunction` class (like an array
/// transform).
@ -234,13 +227,6 @@ private:
FunctionType Function;
};
template <typename FunctionType>
vtkm::ImplicitFunctionGradientFunctor<FunctionType> make_ImplicitFunctionGradientFunctor(
const vtkm::internal::ImplicitFunctionBase<FunctionType>& function)
{
return ImplicitFunctionGradientFunctor<FunctionType>(function);
}
//============================================================================
/// \brief Implicit function for a box
///