![]() |
Templates -- Meow
1.2.11
A C++ template contains kinds of interesting classes and functions
|
以浮點數Y(亮度), U(色度), V(濃度) 三個值所組成的色彩空間 More...
#include "HSL_Space.h"
Public Member Functions | |
HSLf_Space () | |
HSLf_Space (double c) | |
HSLf_Space (Vector3D< double > const &v) | |
HSLf_Space (HSL_Space const &b) | |
~HSLf_Space () | |
double const & | hslMin (size_t i) const |
double const & | hMin () const |
double const & | sMin () const |
double const & | lMin () const |
double const & | hslMax (size_t i) const |
double const & | hMax () const |
double const & | sMax () const |
double const & | lMax () const |
double const & | hsl (size_t i) const |
double const & | h () const |
double const & | s () const |
double const & | l () const |
double const & | hsl (size_t i, double c) |
double const & | h (double c) |
double const & | s (double c) |
double const & | l (double c) |
double & | hslGet (size_t i) |
double & | hGet () |
double & | sGet () |
double & | lGet () |
HSLf_Space & | operator= (HSLf_Space const &b) |
HSLf_Space | operator+ (HSLf_Space const &b) const |
HSLf_Space | operator- (HSLf_Space const &b) const |
HSLf_Space | operator* (double const &c) const |
HSLf_Space | operator/ (double const &c) const |
double | operator* (HSLf_Space const &b) const |
![]() | |
virtual | ~Color3_Space () |
Destructor. More... | |
Vector3D< double > const & | minV () const |
minimum bound of each channels. More... | |
Vector3D< double > const & | maxV () const |
maximum bound of each channels. More... | |
Vector3D< double > const & | valV () const |
value of each channels. More... | |
Vector3D< double > const & | valV (Vector3D< double > const &vv) |
Set the value of each channels. More... | |
Vector3D< double > & | valVGet () |
Get the non-constant reference of each channels. More... | |
doubleconst & | min (size_t id) const |
Return the minimum of the i -th channel. More... | |
doubleconst & | max (size_t id) const |
Return the maximum of the i -th channel. More... | |
doubleconst & | val (size_t id) const |
Return the value of the i -th channel. More... | |
doubleconst & | val (size_t i, doubleconst &c) |
Set the value of i -th channel. More... | |
double & | valGet (size_t id) |
Get the non-constant reference of value of the i -th channel. More... | |
Additional Inherited Members | |
![]() | |
Color3_Space (Vector3D< double > const &min_bound, Vector3D< double > const &max_bound, Vector3D< double > const &init_value) | |
Constructor. More... | |
Color3_Space (Color3_Space const &b) | |
Copy constructor. More... | |
Color3_Space< double > & | copyFrom (Color3_Space< double > const &b) |
Copy method. More... | |
![]() | |
Vector3D< double > | min_ |
Vector3D< double > | max_ |
Vector3D< double > | val_ |
|
inline |
Definition at line 24 of file HSL_Space.h.
|
inline |
Definition at line 28 of file HSL_Space.h.
Definition at line 32 of file HSL_Space.h.
|
inline |
Definition at line 37 of file HSL_Space.h.
|
inline |
Definition at line 39 of file HSL_Space.h.
|
inline |
Definition at line 50 of file HSL_Space.h.
Definition at line 54 of file HSL_Space.h.
|
inline |
Definition at line 58 of file HSL_Space.h.
|
inline |
Definition at line 46 of file HSL_Space.h.
|
inline |
Definition at line 42 of file HSL_Space.h.
|
inline |
Definition at line 49 of file HSL_Space.h.
Definition at line 53 of file HSL_Space.h.
|
inline |
Definition at line 57 of file HSL_Space.h.
|
inline |
Definition at line 45 of file HSL_Space.h.
|
inline |
Definition at line 41 of file HSL_Space.h.
|
inline |
Definition at line 52 of file HSL_Space.h.
Definition at line 56 of file HSL_Space.h.
|
inline |
Definition at line 60 of file HSL_Space.h.
|
inline |
Definition at line 48 of file HSL_Space.h.
|
inline |
Definition at line 44 of file HSL_Space.h.
|
inline |
Definition at line 71 of file HSL_Space.h.
|
inline |
Definition at line 77 of file HSL_Space.h.
|
inline |
Definition at line 65 of file HSL_Space.h.
|
inline |
Definition at line 68 of file HSL_Space.h.
|
inline |
Definition at line 74 of file HSL_Space.h.
|
inline |
Definition at line 61 of file HSL_Space.h.
|
inline |
Definition at line 51 of file HSL_Space.h.
Definition at line 55 of file HSL_Space.h.
|
inline |
Definition at line 59 of file HSL_Space.h.
|
inline |
Definition at line 47 of file HSL_Space.h.
|
inline |
Definition at line 43 of file HSL_Space.h.