Whiteboard
An interface and tools for visualizing large and complex datasets
|
#include <Color.h>
Public Member Functions | |
color (float r, float g, float b) | |
color () | |
float | R () const |
float | G () const |
float | B () const |
Private Attributes | |
float | r_ |
float | g_ |
float | b_ |
Friends | |
bool | operator== (const color &lhs, const color &rhs) |
bool | operator!= (const color &lhs, const color &rhs) |
std::ostream & | operator<< (std::ostream &o, const color &c) |
Class to provide color to graphic objects.
|
inline |
r | red RGB decimal code |
g | green RGB decimal code |
b | blue RGB decimal code |
|
inline |
|
inline |
Method to return the blue RGB decimal code for this color.
|
inline |
Method to return the green RGB decimal code for this color.
|
inline |
Method to return the red RGB decimal code for this color.
|
friend |
|
private |
|
private |
|
private |