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

#include <ConvertToRGBA.h>

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

 ConvertToRGBA (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 Alpha = 1.0f
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ ConvertToRGBA()

vtkm::worklet::colorconversion::ConvertToRGBA::ConvertToRGBA ( vtkm::Float32  alpha)
inline

Member Function Documentation

◆ operator()() [1/4]

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

◆ operator()() [2/4]

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

◆ operator()() [3/4]

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

◆ operator()() [4/4]

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

Member Data Documentation

◆ Alpha

const vtkm::Float32 vtkm::worklet::colorconversion::ConvertToRGBA::Alpha = 1.0f

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