VTK-m
2.0
|
It's a color! More...
#include <Color.h>
Public Member Functions | |
VTKM_EXEC_CONT | Color () |
VTKM_EXEC_CONT | Color (vtkm::Float32 r_, vtkm::Float32 g_, vtkm::Float32 b_, vtkm::Float32 a_=1.f) |
VTKM_EXEC_CONT | Color (const vtkm::Vec4f_32 &components) |
VTKM_EXEC_CONT void | SetComponentFromByte (vtkm::Int32 i, vtkm::UInt8 v) |
VTKM_EXEC_CONT vtkm::UInt8 | GetComponentAsByte (int i) |
VTKM_EXEC_CONT void | GetRGBA (vtkm::UInt8 &r, vtkm::UInt8 &g, vtkm::UInt8 &b, vtkm::UInt8 &a) |
VTKM_EXEC_CONT vtkm::Float64 | RawBrightness () |
Public Attributes | |
vtkm::Vec4f_32 | Components |
Static Public Attributes | |
static VTKM_RENDERING_EXPORT Color | white |
static VTKM_RENDERING_EXPORT Color | black |
static VTKM_RENDERING_EXPORT Color | red |
static VTKM_RENDERING_EXPORT Color | green |
static VTKM_RENDERING_EXPORT Color | blue |
static VTKM_RENDERING_EXPORT Color | cyan |
static VTKM_RENDERING_EXPORT Color | magenta |
static VTKM_RENDERING_EXPORT Color | yellow |
static VTKM_RENDERING_EXPORT Color | gray10 |
static VTKM_RENDERING_EXPORT Color | gray20 |
static VTKM_RENDERING_EXPORT Color | gray30 |
static VTKM_RENDERING_EXPORT Color | gray40 |
static VTKM_RENDERING_EXPORT Color | gray50 |
static VTKM_RENDERING_EXPORT Color | gray60 |
static VTKM_RENDERING_EXPORT Color | gray70 |
static VTKM_RENDERING_EXPORT Color | gray80 |
static VTKM_RENDERING_EXPORT Color | gray90 |
Friends | |
VTKM_CONT friend std::ostream & | operator<< (std::ostream &out, const Color &c) |
It's a color!
This class provides the basic representation of a color. This class was Ported from EAVL. Originally created by Jeremy Meredith, Dave Pugmire, and Sean Ahern.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
vtkm::Vec4f_32 vtkm::rendering::Color::Components |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |