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

Public Member Functions

 XYZ (const COLOR &c)
 Construct from RGB.
 
 XYZ (double x, double y, double z)
 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
 

Static Public Member Functions

static XYZ get_white ()
 Return the white value.
 

Public Attributes

double x
 Color space X.
 
double y
 Color space Y.
 
double z
 Color space Z.
 

Member Function Documentation

◆ get_rgb()

COLOR lampda::utils::ColorSpace::XYZ::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: