VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::colorconversion::ShiftScaleToRGB Struct Reference

#include <ShiftScaleToRGB.h>

Inheritance diagram for vtkm::worklet::colorconversion::ShiftScaleToRGB:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn in, FieldOut out)
 
using ExecutionSignature = _2(_1)
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

 ShiftScaleToRGB (vtkm::Float32 shift, vtkm::Float32 scale)
 
template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 operator() (const T &in) const
 
template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 operator() (const vtkm::Vec< T, 2 > &in) const
 
template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 operator() (const vtkm::Vec< T, 3 > &in) const
 
template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 operator() (const vtkm::Vec< T, 4 > &in) const
 

Private Attributes

const vtkm::Float32 Shift
 
const vtkm::Float32 Scale
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ ShiftScaleToRGB()

vtkm::worklet::colorconversion::ShiftScaleToRGB::ShiftScaleToRGB ( vtkm::Float32  shift,
vtkm::Float32  scale 
)
inline

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 vtkm::worklet::colorconversion::ShiftScaleToRGB::operator() ( const T &  in) const
inline

◆ operator()() [2/4]

template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 vtkm::worklet::colorconversion::ShiftScaleToRGB::operator() ( const vtkm::Vec< T, 2 > &  in) const
inline

◆ operator()() [3/4]

template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 vtkm::worklet::colorconversion::ShiftScaleToRGB::operator() ( const vtkm::Vec< T, 3 > &  in) const
inline

◆ operator()() [4/4]

template<typename T >
VTKM_EXEC vtkm::Vec3ui_8 vtkm::worklet::colorconversion::ShiftScaleToRGB::operator() ( const vtkm::Vec< T, 4 > &  in) const
inline

Member Data Documentation

◆ Scale

const vtkm::Float32 vtkm::worklet::colorconversion::ShiftScaleToRGB::Scale
private

◆ Shift

const vtkm::Float32 vtkm::worklet::colorconversion::ShiftScaleToRGB::Shift
private

The documentation for this struct was generated from the following file: