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

#include <ShiftScaleToRGBA.h>

Inheritance diagram for vtkm::worklet::colorconversion::ShiftScaleToRGBA:
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

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

Public Attributes

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

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ ShiftScaleToRGBA()

vtkm::worklet::colorconversion::ShiftScaleToRGBA::ShiftScaleToRGBA ( vtkm::Float32  shift,
vtkm::Float32  scale,
vtkm::Float32  alpha 
)
inline

Member Function Documentation

◆ operator()() [1/4]

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

◆ operator()() [2/4]

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

◆ operator()() [3/4]

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

◆ operator()() [4/4]

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

Member Data Documentation

◆ Alpha

const vtkm::Float32 vtkm::worklet::colorconversion::ShiftScaleToRGBA::Alpha

◆ Scale

const vtkm::Float32 vtkm::worklet::colorconversion::ShiftScaleToRGBA::Scale

◆ Shift

const vtkm::Float32 vtkm::worklet::colorconversion::ShiftScaleToRGBA::Shift

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