VPTissue Reference Manual
Hsv2Rgb.cpp File Reference

HSV color def to RBG color def: r,g,b values are from 0 to 1 and h = [0,360], s = [0,1], v = [0,1] (if s == 0, then h = -1) More...

#include "Hsv2Rgb.h"
#include <array>
#include <cmath>
Include dependency graph for Hsv2Rgb.cpp:

Go to the source code of this file.

Namespaces

 SimPT_Sim
 Namespace for the core simulator.
 
 SimPT_Sim::Color
 Namespace for color utilities.
 

Functions

std::array< double, 3 > SimPT_Sim::Color::Hsv2Rgb (double h, double s, double v)
 

Detailed Description

HSV color def to RBG color def: r,g,b values are from 0 to 1 and h = [0,360], s = [0,1], v = [0,1] (if s == 0, then h = -1)

Definition in file Hsv2Rgb.cpp.