Viskores  1.0
ColorTableSamples.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_ColorTableSamples_h
19 #define viskores_cont_ColorTableSamples_h
20 
21 #include <viskores/Range.h>
23 
24 namespace viskores
25 {
26 namespace cont
27 {
28 
41 {
42 public:
43  viskores::Range SampleRange = { 1.0, 0.0 };
45  0; // this will not include end padding, NaN, Below or Above Range
47 };
48 
61 {
62 public:
63  viskores::Range SampleRange = { 1.0, 0.0 };
65  0; // this will not include end padding, NaN, Below or Above Range
67 };
68 }
69 }
70 
71 #endif
ArrayHandle.h
viskores::cont::ColorTableSamplesRGBA::Samples
viskores::cont::ArrayHandle< viskores::Vec4ui_8 > Samples
Definition: ColorTableSamples.h:46
viskores::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:313
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::cont::ColorTableSamplesRGB::Samples
viskores::cont::ArrayHandle< viskores::Vec3ui_8 > Samples
Definition: ColorTableSamples.h:66
viskores::cont::ColorTableSamplesRGBA::NumberOfSamples
viskores::Int32 NumberOfSamples
Definition: ColorTableSamples.h:44
Range.h
viskores::Range
Represent a continuous scalar range of values.
Definition: Range.h:39
viskores::Int32
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
viskores::cont::ColorTableSamplesRGB::NumberOfSamples
viskores::Int32 NumberOfSamples
Definition: ColorTableSamples.h:64
viskores::cont::ColorTableSamplesRGBA::SampleRange
viskores::Range SampleRange
Definition: ColorTableSamples.h:43
viskores::cont::ColorTableSamplesRGB::SampleRange
viskores::Range SampleRange
Definition: ColorTableSamples.h:63
viskores::cont::ColorTableSamplesRGBA
Color Sample Table used with viskores::cont::ColorTable for fast coloring.
Definition: ColorTableSamples.h:40
viskores::cont::ColorTableSamplesRGB
Color Sample Table used with viskores::cont::ColorTable for fast coloring.
Definition: ColorTableSamples.h:60