Go to the documentation of this file.
11 #ifndef vtk_m_worklet_WarpVector_h
12 #define vtk_m_worklet_WarpVector_h
39 return point + this->
Scale * vector;
46 return point +
static_cast<T
>(this->
Scale) * vector;
56 #endif // vtk_m_worklet_WarpVector_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
Definition: worklet/WarpVector.h:25
A control signature tag for output fields.
Definition: WorkletMapField.h:60
vtkm::FloatDefault Scale
Definition: worklet/WarpVector.h:51
_3(_1, _2) ExecutionSignature
Definition: worklet/WarpVector.h:29
VTKM_CONT WarpVector(vtkm::FloatDefault scale)
Definition: worklet/WarpVector.h:31
A control signature tag for input fields.
Definition: WorkletMapField.h:49
VTKM_EXEC vtkm::Vec3f operator()(const vtkm::Vec3f &point, const vtkm::Vec3f &vector) const
Definition: worklet/WarpVector.h:37
#define VTKM_CONT
Definition: ExportMacros.h:57
void(FieldIn, FieldIn, FieldOut) ControlSignature
Definition: worklet/WarpVector.h:28
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:198
VTKM_EXEC vtkm::Vec< T, 3 > operator()(const vtkm::Vec< T, 3 > &point, const vtkm::Vec< T, 3 > &vector) const
Definition: worklet/WarpVector.h:43
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38