VTK-m  2.0
Classes | Typedefs | Functions
vtkm::worklet::colorconversion Namespace Reference

Classes

struct  ComponentPortal
 
struct  ConvertToRGB
 
struct  ConvertToRGBA
 
struct  LookupTable
 
struct  MagnitudePortal
 
struct  ShiftScaleToRGB
 
struct  ShiftScaleToRGBA
 
struct  TransferFunction
 

Typedefs

using LookupTableTypes = vtkm::List< vtkm::Vec3ui_8, vtkm::Vec4ui_8, vtkm::Vec3f_32, vtkm::Vec4f_64 >
 

Functions

template<typename T >
VTKM_EXEC vtkm::UInt8 ColorToUChar (T t)
 
template<>
VTKM_EXEC vtkm::UInt8 ColorToUChar (vtkm::Float64 t)
 
template<>
VTKM_EXEC vtkm::UInt8 ColorToUChar (vtkm::Float32 t)
 
VTKM_EXEC void Clamp (vtkm::Float32 &val)
 
VTKM_EXEC void Clamp (vtkm::Vec2f_32 &val)
 
void ComputeShiftScale (const vtkm::Range &range, vtkm::Float32 &shift, vtkm::Float32 &scale)
 

Typedef Documentation

◆ LookupTableTypes

Function Documentation

◆ Clamp() [1/2]

VTKM_EXEC void vtkm::worklet::colorconversion::Clamp ( vtkm::Float32 val)
inline

◆ Clamp() [2/2]

VTKM_EXEC void vtkm::worklet::colorconversion::Clamp ( vtkm::Vec2f_32 val)
inline

◆ ColorToUChar() [1/3]

template<typename T >
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar ( t)
inline

◆ ColorToUChar() [2/3]

template<>
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar ( vtkm::Float32  t)
inline

◆ ColorToUChar() [3/3]

template<>
VTKM_EXEC vtkm::UInt8 vtkm::worklet::colorconversion::ColorToUChar ( vtkm::Float64  t)
inline

◆ ComputeShiftScale()

void vtkm::worklet::colorconversion::ComputeShiftScale ( const vtkm::Range range,
vtkm::Float32 shift,
vtkm::Float32 scale 
)
inline