Shiokaze Framework
A research-oriented fluid solver for computer graphics
color Class Reference

Class that converts color spaces. More...

#include <color.h>

Classes

struct  hsv
 Structre that defines HSV color. More...
 
struct  rgb
 Structre that defines RGB color. More...
 

Static Public Member Functions

static hsv rgb2hsv (rgb in)
 Convert RGB to HSV. More...
 
static rgb hsv2rgb (hsv in)
 Convert HSV to RGB. More...
 
static void heatcolor (double heat, double rgb_result[3])
 Convert heat to RGB color. More...
 

Detailed Description

Class that converts color spaces.

Member Function Documentation

◆ heatcolor()

static void color::heatcolor ( double  heat,
double  rgb_result[3] 
)
inlinestatic

Convert heat to RGB color.

Parameters
[in]heatHeat.
[out]rgb_resultRGB color output.

◆ hsv2rgb()

static rgb color::hsv2rgb ( hsv  in)
inlinestatic

Convert HSV to RGB.

Parameters
[in]hsvHSV color.
Returns
RGB color.

◆ rgb2hsv()

static hsv color::rgb2hsv ( rgb  in)
inlinestatic

Convert RGB to HSV.

Parameters
[in]rgbRGB color.
Returns
HSV color.

The documentation for this class was generated from the following file: