Go to the documentation of this file.
10 #ifndef vtk_m_cont_ColorTableMap_h
11 #define vtk_m_cont_ColorTableMap_h
46 template <
typename T,
typename S>
57 invoke(lookupTable, values, samples.
Samples, rgbaOut);
77 template <
typename T,
typename S>
88 invoke(lookupTable, values, samples.
Samples, rgbOut);
94 template <
typename T,
int N,
typename S>
106 template <
typename T,
int N,
typename S>
118 template <
typename T,
int N,
typename S>
131 template <
typename T,
int N,
typename S>
148 template <
typename T,
typename S>
164 template <
typename T,
typename S>
176 template <
typename T,
int N,
typename S>
188 template <
typename T,
int N,
typename S>
200 template <
typename T,
int N,
typename S>
213 template <
typename T,
int N,
typename S>
225 #endif // vtk_m_cont_ColorTableMap_h
Definition: TransferFunction.h:24
Groups connected points that have the same field value.
Definition: Atomic.h:19
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:89
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
bool ColorTableMapMagnitude(const vtkm::cont::ArrayHandle< vtkm::Vec< T, N >, S > &values, const vtkm::cont::ColorTableSamplesRGBA &samples, vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 > &rgbaOut)
Use magnitude of a vector with a sample table to generate RGBA colors.
Definition: ColorTableMap.h:95
bool ColorTableMapComponent(const vtkm::cont::ArrayHandle< vtkm::Vec< T, N >, S > &values, vtkm::IdComponent comp, const vtkm::cont::ColorTableSamplesRGBA &samples, vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 > &rgbaOut)
Use a single component of a vector with a sample table to generate RGBA colors.
Definition: ColorTableMap.h:119
Definition: LookupTable.h:30
VTKM_CONT vtkm::cont::ArrayHandleTransform< HandleType, FunctorType > make_ArrayHandleTransform(HandleType handle, FunctorType functor)
make_ArrayHandleTransform is convenience function to generate an ArrayHandleTransform.
Definition: ArrayHandleTransform.h:474
Color Sample Table used with vtkm::cont::ColorTable for fast coloring.
Definition: ColorTableSamples.h:32
Allows launching any worklet without a dispatcher.
Definition: Invoker.h:41
bool ColorTableMap(const vtkm::cont::ArrayHandle< T, S > &values, const vtkm::cont::ColorTableSamplesRGBA &samples, vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 > &rgbaOut)
Sample each value through an intermediate lookup/sample table to generate RGBA colors.
Definition: ColorTableMap.h:47
Definition: Conversions.h:17
vtkm::Int32 NumberOfSamples
Definition: ColorTableSamples.h:55
Color Sample Table used with vtkm::cont::ColorTable for fast coloring.
Definition: ColorTableSamples.h:51
vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 > Samples
Definition: ColorTableSamples.h:37
vtkm::cont::ArrayHandle< vtkm::Vec3ui_8 > Samples
Definition: ColorTableSamples.h:56
vtkm::Int32 NumberOfSamples
Definition: ColorTableSamples.h:36