cgv
cgv::media::xyz_color_interface< color< T, cm, am > > Struct Template Reference

read only implementation of xyz color interface including automatic conversion More...

#include <color.h>

Inheritance diagram for cgv::media::xyz_color_interface< color< T, cm, am > >:
cgv::media::hls_color_interface< color< T, cm, am > > cgv::media::rgb_color_interface< color< T, cm, am > > cgv::media::opacity_alpha_interface< color< T, cm, am > > cgv::media::transparency_alpha_interface< color< T, cm, am > > cgv::media::extinction_alpha_interface< color< T, cm, am > >

Public Member Functions

X () const
 convert color to XYZ and return X component
 
Y () const
 convert color to XYZ and return Y component
 
Z () const
 convert color to XYZ and return Z component
 
H () const
 convert color to HLS and return H component
 
L () const
 convert color to HLS and return L component
 
S () const
 convert color to HLS and return S component
 
R () const
 convert color to RGB and return R component
 
G () const
 convert color to RGB and return G component
 
B () const
 convert color to RGB and return B component
 

Detailed Description

template<typename T, ColorModel cm, AlphaModel am>
struct cgv::media::xyz_color_interface< color< T, cm, am > >

read only implementation of xyz color interface including automatic conversion


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