VPTissue Reference Manual
hsv.h File Reference

Header file for HSV colors. More...

#include <cassert>
#include <iostream>
#include <tuple>
Include dependency graph for hsv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Typedefs

using SimPT_Sim::Color::hsv_t = std::tuple< double, double, double >
 

Functions

hsv_t SimPT_Sim::Color::interpolate (double x, hsv_t t_a, double x_a, hsv_t t_b, double x_b)
 
std::ostream & SimPT_Sim::Color::operator<< (std::ostream &os, hsv_t t)
 

Variables

const hsv_t SimPT_Sim::Color::black { 0.0 / 360.0, 0.0, 0.0 }
 
const hsv_t SimPT_Sim::Color::blue {240.0 / 360.0, 1.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::cyan {180.0 / 360.0, 1.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::gray { 0.0 / 360.0, 0.0, 0.5 }
 
const hsv_t SimPT_Sim::Color::lime {120.0 / 360.0, 1.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::magenta {300.0 / 360.0, 1.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::navy {240.0 / 360.0, 1.0, 0.5 }
 
const hsv_t SimPT_Sim::Color::red { 0.0 / 360.0, 1.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::teal {180.0 / 360.0, 1.0, 0.5 }
 
const hsv_t SimPT_Sim::Color::white {180.0 / 360.0, 0.0, 1.0 }
 
const hsv_t SimPT_Sim::Color::yellow { 60.0 / 360.0, 1.0, 1.0 }
 

Detailed Description

Header file for HSV colors.

Definition in file hsv.h.