Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::utils::ColorSpace::HSV Class Reference
Inheritance diagram for lampda::utils::ColorSpace::HSV:
lampda::utils::ColorSpace::Base

Public Member Functions

 HSV (const COLOR &c)
 Construct from RGB.
 
 HSV (double h, double s, double v)
 Construct from values.
 
COLOR get_rgb () const override
 get the rgb form (for display)
 
void from_rgb (const COLOR &rgb)
 construct from an RGB representation
 
uint16_t get_scaled_hue () const
 get the hue scaled between 0 and UINT16_MAX
 

Public Attributes

double h
 Hue.
 
double s
 Saturation.
 
double v
 value
 

Member Function Documentation

◆ get_rgb()

COLOR lampda::utils::ColorSpace::HSV::get_rgb ( ) const
overridevirtual

get the rgb form (for display)

Implements lampda::utils::ColorSpace::Base.


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