VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::WarpScalar Class Reference

#include <WarpScalar.h>

Inheritance diagram for vtkm::worklet::WarpScalar:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn, FieldIn, FieldIn, FieldOut)
 
using ExecutionSignature = void(_1, _2, _3, _4)
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

VTKM_CONT WarpScalar (vtkm::FloatDefault scaleAmount)
 
VTKM_EXEC void operator() (const vtkm::Vec3f &point, const vtkm::Vec3f &normal, const vtkm::FloatDefault &scaleFactor, vtkm::Vec3f &result) const
 
template<typename T1 , typename T2 , typename T3 >
VTKM_EXEC void operator() (const vtkm::Vec< T1, 3 > &point, const vtkm::Vec< T2, 3 > &normal, const T3 &scaleFactor, vtkm::Vec< T1, 3 > &result) const
 

Private Attributes

vtkm::FloatDefault ScaleAmount
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

using vtkm::worklet::WarpScalar::ExecutionSignature = void(_1, _2, _3, _4)

Constructor & Destructor Documentation

◆ WarpScalar()

VTKM_CONT vtkm::worklet::WarpScalar::WarpScalar ( vtkm::FloatDefault  scaleAmount)
inlineexplicit

Member Function Documentation

◆ operator()() [1/2]

VTKM_EXEC void vtkm::worklet::WarpScalar::operator() ( const vtkm::Vec3f point,
const vtkm::Vec3f normal,
const vtkm::FloatDefault scaleFactor,
vtkm::Vec3f result 
) const
inline

◆ operator()() [2/2]

template<typename T1 , typename T2 , typename T3 >
VTKM_EXEC void vtkm::worklet::WarpScalar::operator() ( const vtkm::Vec< T1, 3 > &  point,
const vtkm::Vec< T2, 3 > &  normal,
const T3 &  scaleFactor,
vtkm::Vec< T1, 3 > &  result 
) const
inline

Member Data Documentation

◆ ScaleAmount

vtkm::FloatDefault vtkm::worklet::WarpScalar::ScaleAmount
private

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