Go to the documentation of this file.
10 #ifndef vtk_m_worklet_colorconversion_ShiftScaleToRGB_h
11 #define vtk_m_worklet_colorconversion_ShiftScaleToRGB_h
21 namespace colorconversion
Definition: ShiftScaleToRGB.h:24
VTKM_EXEC vtkm::Vec3ui_8 operator()(const T &in) const
Definition: ShiftScaleToRGB.h:36
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC vtkm::Vec3ui_8 operator()(const vtkm::Vec< T, 3 > &in) const
Definition: ShiftScaleToRGB.h:50
A control signature tag for output fields.
Definition: WorkletMapField.h:60
vtkm::Vec< vtkm::Float32, 3 > Vec3f_32
Vec3f_32 corresponds to a 3-dimensional vector of 32-bit floating point values.
Definition: Types.h:1020
_2(_1) ExecutionSignature
Definition: ShiftScaleToRGB.h:27
const vtkm::Float32 Shift
Definition: ShiftScaleToRGB.h:67
void(FieldIn in, FieldOut out) ControlSignature
Definition: ShiftScaleToRGB.h:26
A control signature tag for input fields.
Definition: WorkletMapField.h:49
const vtkm::Float32 Scale
Definition: ShiftScaleToRGB.h:68
VTKM_EXEC vtkm::Vec3ui_8 operator()(const vtkm::Vec< T, 2 > &in) const
Definition: ShiftScaleToRGB.h:44
VTKM_EXEC vtkm::Vec3ui_8 operator()(const vtkm::Vec< T, 4 > &in) const
Definition: ShiftScaleToRGB.h:61
uint8_t UInt8
Definition: Types.h:157
float Float32
Definition: Types.h:154
ShiftScaleToRGB(vtkm::Float32 shift, vtkm::Float32 scale)
Definition: ShiftScaleToRGB.h:29
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
VTKM_EXEC void Clamp(vtkm::Float32 &val)
Definition: Conversions.h:39