VTK-m  2.0
Namespaces | Functions
Conversions.h File Reference

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::worklet
 VTK-m Worklets.
 
 vtkm::worklet::colorconversion
 

Functions

template<typename T >
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar (T t)
 
template<>
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar (vtkm::Float64 t)
 
template<>
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar (vtkm::Float32 t)
 
VTKM_EXEC void vtkm::worklet::colorconversion::Clamp (vtkm::Float32 &val)
 
VTKM_EXEC void vtkm::worklet::colorconversion::Clamp (vtkm::Vec2f_32 &val)