Go to the documentation of this file.
10 #ifndef vtk_m_worklet_colorconversion_ScalarsToColors_h
11 #define vtk_m_worklet_colorconversion_ScalarsToColors_h
19 namespace colorconversion
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
A control signature tag for output fields.
Definition: WorkletMapField.h:60
VTKM_EXEC vtkm::Vec4ui_8 operator()(const vtkm::Vec< T, 2 > &in) const
Definition: ConvertToRGBA.h:40
VTKM_EXEC vtkm::Vec4ui_8 operator()(const vtkm::Vec< T, 3 > &in) const
Definition: ConvertToRGBA.h:48
const vtkm::Float32 Alpha
Definition: ConvertToRGBA.h:66
VTKM_EXEC vtkm::Vec4ui_8 operator()(const T &in) const
Definition: ConvertToRGBA.h:33
Definition: ConvertToRGBA.h:22
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_2(_1) ExecutionSignature
Definition: ConvertToRGBA.h:25
void(FieldIn in, FieldOut out) ControlSignature
Definition: ConvertToRGBA.h:24
uint8_t UInt8
Definition: Types.h:157
VTKM_EXEC vtkm::UInt8 ColorToUChar(T t)
Definition: Conversions.h:21
A short fixed-length array.
Definition: Types.h:767
ConvertToRGBA(vtkm::Float32 alpha)
Definition: ConvertToRGBA.h:27
float Float32
Definition: Types.h:154
VTKM_EXEC vtkm::Vec4ui_8 operator()(const vtkm::Vec< T, 4 > &in) const
Definition: ConvertToRGBA.h:57
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38