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::Vec3ui_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 ]
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::ColorTableSamplesRGB::NumberOfSamples = 0 |
vtkm::Range vtkm::cont::ColorTableSamplesRGB::SampleRange = { 1.0, 0.0 } |
vtkm::cont::ArrayHandle<vtkm::Vec3ui_8> vtkm::cont::ColorTableSamplesRGB::Samples |