Color represented by hue, saturation, and value.
More...
#include <glv_color.h>
List of all members.
Public Member Functions |
| | HSV (float h=0, float s=1, float v=1) |
| | HSV (const Color &c) |
| template<class T > |
| | HSV (T *hsv) |
|
HSV & | operator= (const Color &c) |
| | Set from RGB color.
|
|
HSV & | rotateHue (float v) |
| | Rotate hue in interval [0, 1).
|
|
void | wrapHue () |
| | Wrap hue value into valid interval [0, 1).
|
Detailed Description
Color represented by hue, saturation, and value.
Constructor & Destructor Documentation
| glv::HSV::HSV |
( |
float |
h = 0, |
|
|
float |
s = 1, |
|
|
float |
v = 1 | |
|
) |
| | [inline] |
- Parameters:
-
| [in] | h | hue |
| [in] | s | saturation |
| [in] | v | value |
| glv::HSV::HSV |
( |
const Color & |
c |
) |
[inline] |
- Parameters:
-
| [in] | c | RGB color to convert from |
template<class T >
| glv::HSV::HSV |
( |
T * |
hsv |
) |
[inline] |
- Parameters:
-
| [in] | hsv | 3-vector of hsv components |
The documentation for this struct was generated from the following file:
- /Users/ljp/code/glv-svn/trunk/include/glv_color.h