Go to the documentation of this file.
18 #ifndef viskores_rendering_Color_h
19 #define viskores_rendering_Color_h
160 #endif //viskores_rendering_Color_h
viskores::UInt8 GetComponentAsByte(int i)
Definition: Color.h:104
static Color red
Definition: Color.h:153
static Color green
Definition: Color.h:153
Color(const viskores::Vec4f_32 &components)
Create a color with specified RGBA values.
Definition: Color.h:65
friend std::ostream & operator<<(std::ostream &out, const Color &c)
Definition: Color.h:145
static Color gray20
Definition: Color.h:155
static Color gray30
Definition: Color.h:155
Color(viskores::Float32 r_, viskores::Float32 g_, viskores::Float32 b_, viskores::Float32 a_=1.f)
Create a color with specified RGBA values.
Definition: Color.h:53
static Color cyan
Definition: Color.h:154
void GetRGBA(viskores::UInt8 &r, viskores::UInt8 &g, viskores::UInt8 &b, viskores::UInt8 &a)
Definition: Color.h:133
viskores::Vec4f_32 Components
Definition: Color.h:40
#define VISKORES_EXEC_CONT
Definition: ExportMacros.h:60
static Color yellow
Definition: Color.h:154
static Color gray60
Definition: Color.h:155
Color()
Create a black color.
Definition: Color.h:44
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:165
static Color gray70
Definition: Color.h:155
static Color white
Definition: Color.h:152
static Color magenta
Definition: Color.h:154
static Color gray40
Definition: Color.h:155
static Color gray90
Definition: Color.h:156
viskores::Float64 RawBrightness()
Definition: Color.h:142
uint8_t UInt8
Base type to use for 8-bit unsigned integer numbers.
Definition: Types.h:177
static Color gray10
Definition: Color.h:155
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
static Color blue
Definition: Color.h:153
void SetComponentFromByte(viskores::Int32 i, viskores::UInt8 v)
Set the color value from 8 bit RGBA components.
Definition: Color.h:74
static Color gray50
Definition: Color.h:155
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:169
static Color gray80
Definition: Color.h:156
static Color black
Definition: Color.h:152
Representation of a color.
Definition: Color.h:37