Go to the documentation of this file.00001
00004
00005
00006
00007
00008 #ifndef qglv_GL_COLOUR_HPP_
00009 #define qglv_GL_COLOUR_HPP_
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 namespace qglv {
00020
00021 enum Colour {
00022 Blue,
00023 DimGray,
00024 Gray19,
00025 GoldenBrown,
00026 Green,
00027 Magenta,
00028 Maroon,
00029 Orange,
00030 Pink,
00031 Red,
00032 White,
00033 Yellow
00034 };
00035
00036 enum AxisColourScheme {
00037 AxisColourRGB,
00038 AxisColourFadedBlue,
00039 AxisColourGolden,
00040 AxisColourGreen,
00041 AxisColourBlue,
00042 AxisColourRed,
00043 AxisColourMagenta,
00044 AxisColourGray,
00045 AxisColourWhite,
00046 };
00047
00053 void colour(enum Colour colour, const float& alpha=1.0f);
00054
00066 void normalisedValueToRGB(const float& value, float& r, float& g, float& b);
00067
00068 }
00069
00070 #endif