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

#include <LookupTable.h>

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

Public Types

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

Public Member Functions

template<typename T >
VTKM_CONT LookupTable (const T &colorTableSamples)
 
template<typename T , typename WholeFieldIn , typename U , int N>
VTKM_EXEC void operator() (const T &in, const WholeFieldIn lookupTable, vtkm::Vec< U, N > &output) const
 

Public Attributes

vtkm::Float32 Shift
 
vtkm::Float32 Scale
 
vtkm::Range TableRange
 
vtkm::Int32 NumberOfSamples
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ LookupTable()

template<typename T >
VTKM_CONT vtkm::worklet::colorconversion::LookupTable::LookupTable ( const T &  colorTableSamples)
inline

Member Function Documentation

◆ operator()()

template<typename T , typename WholeFieldIn , typename U , int N>
VTKM_EXEC void vtkm::worklet::colorconversion::LookupTable::operator() ( const T &  in,
const WholeFieldIn  lookupTable,
vtkm::Vec< U, N > &  output 
) const
inline

Member Data Documentation

◆ NumberOfSamples

vtkm::Int32 vtkm::worklet::colorconversion::LookupTable::NumberOfSamples

◆ Scale

vtkm::Float32 vtkm::worklet::colorconversion::LookupTable::Scale

◆ Shift

vtkm::Float32 vtkm::worklet::colorconversion::LookupTable::Shift

◆ TableRange

vtkm::Range vtkm::worklet::colorconversion::LookupTable::TableRange

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