VTK-m
2.0
|
A helpful functor that calls the gradient method of a given ImplicitFunction
.
More...
#include <ImplicitFunction.h>
Public Types | |
using | Scalar = typename FunctionType::Scalar |
using | Vector = typename FunctionType::Vector |
Public Member Functions | |
ImplicitFunctionGradientFunctor ()=default | |
VTKM_EXEC_CONT | ImplicitFunctionGradientFunctor (const vtkm::internal::ImplicitFunctionBase< FunctionType > &function) |
VTKM_EXEC_CONT | ImplicitFunctionGradientFunctor (const FunctionType &function) |
VTKM_EXEC_CONT Vector | operator() (const Vector &point) const |
Private Attributes | |
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).
using vtkm::ImplicitFunctionGradientFunctor< FunctionType >::Scalar = typename FunctionType::Scalar |
using vtkm::ImplicitFunctionGradientFunctor< FunctionType >::Vector = typename FunctionType::Vector |
|
default |
|
inline |
|
inline |
|
inline |
|
private |