VTK-m  2.2
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::ImplicitFunctionValueFunctor< FunctionType > Class Template Reference

A helpful functor that calls the value method of a given ImplicitFunction. More...

#include <ImplicitFunction.h>

Public Types

using Scalar = typename FunctionType::Scalar
 
using Vector = typename FunctionType::Vector
 

Public Member Functions

 ImplicitFunctionValueFunctor ()=default
 
 ImplicitFunctionValueFunctor (const vtkm::internal::ImplicitFunctionBase< FunctionType > &function)
 
 ImplicitFunctionValueFunctor (const FunctionType &function)
 
Scalar operator() (const Vector &point) const
 

Private Attributes

FunctionType Function
 

Detailed Description

template<typename FunctionType>
class vtkm::ImplicitFunctionValueFunctor< FunctionType >

A helpful functor that calls the value method of a given ImplicitFunction.

Can be passed to things that expect a functor instead of an ImplictFunction class (like an array transform).

Member Typedef Documentation

◆ Scalar

template<typename FunctionType >
using vtkm::ImplicitFunctionValueFunctor< FunctionType >::Scalar = typename FunctionType::Scalar

◆ Vector

template<typename FunctionType >
using vtkm::ImplicitFunctionValueFunctor< FunctionType >::Vector = typename FunctionType::Vector

Constructor & Destructor Documentation

◆ ImplicitFunctionValueFunctor() [1/3]

template<typename FunctionType >
vtkm::ImplicitFunctionValueFunctor< FunctionType >::ImplicitFunctionValueFunctor ( )
default

◆ ImplicitFunctionValueFunctor() [2/3]

template<typename FunctionType >
vtkm::ImplicitFunctionValueFunctor< FunctionType >::ImplicitFunctionValueFunctor ( const vtkm::internal::ImplicitFunctionBase< FunctionType > &  function)
inline

◆ ImplicitFunctionValueFunctor() [3/3]

template<typename FunctionType >
vtkm::ImplicitFunctionValueFunctor< FunctionType >::ImplicitFunctionValueFunctor ( const FunctionType &  function)
inline

Member Function Documentation

◆ operator()()

template<typename FunctionType >
Scalar vtkm::ImplicitFunctionValueFunctor< FunctionType >::operator() ( const Vector point) const
inline

Member Data Documentation

◆ Function

template<typename FunctionType >
FunctionType vtkm::ImplicitFunctionValueFunctor< FunctionType >::Function
private

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