VTK-m
2.0
|
Color Sample Table used with vtkm::cont::ColorTable for fast coloring. More...
#include <ColorTableSamples.h>
Public Attributes | |
vtkm::Range | SampleRange = { 1.0, 0.0 } |
vtkm::Int32 | NumberOfSamples = 0 |
vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 > | Samples |
Color Sample Table used with vtkm::cont::ColorTable for fast coloring.
Holds a special layout of sampled values with the pattern of [Below Color, samples, last sample value again, Above Color, Nan Color ]
This layout has been chosen as it allows for efficient access for values inside the range, and values outside the range. The last value being duplicated a second time is an optimization for fast interpolation of values that are very near to the Max value of the range.
vtkm::Int32 vtkm::cont::ColorTableSamplesRGBA::NumberOfSamples = 0 |
vtkm::Range vtkm::cont::ColorTableSamplesRGBA::SampleRange = { 1.0, 0.0 } |
vtkm::cont::ArrayHandle<vtkm::Vec4ui_8> vtkm::cont::ColorTableSamplesRGBA::Samples |