![]() |
Templates -- Meow
1.2.11
A C++ template contains kinds of interesting classes and functions
|
以浮點數Red, Green, Blue 三個值所組成的色彩空間 More...
#include "RGB_Space.h"
Public Member Functions | |
RGBf_Space () | |
RGBf_Space (double c) | |
RGBf_Space (Vector3D< double > const &v) | |
RGBf_Space (RGBf_Space const &b) | |
~RGBf_Space () | |
double const & | rgbMin (size_t i) const |
double const & | rMin () const |
double const & | gMin () const |
double const & | bMin () const |
double const & | rgbMax (size_t i) const |
double const & | rMax () const |
double const & | gMax () const |
double const & | bMax () const |
double const & | rgb (size_t i) const |
double const & | r () const |
double const & | g () const |
double const & | b () const |
double const & | rgb (size_t i, double c) |
double const & | r (double c) |
double const & | g (double c) |
double const & | b (double c) |
double & | rgbGet (size_t i) |
double & | rGet () |
double & | gGet () |
double & | bGet () |
RGBf_Space & | operator= (RGBf_Space const &b) |
RGBf_Space | operator+ (RGBf_Space const &b) const |
RGBf_Space | operator- (RGBf_Space const &b) const |
RGBf_Space | operator* (double const &c) const |
RGBf_Space | operator/ (double const &c) const |
double | operator* (RGBf_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 88 of file RGB_Space.h.
|
inline |
Definition at line 92 of file RGB_Space.h.
Definition at line 96 of file RGB_Space.h.
|
inline |
Definition at line 101 of file RGB_Space.h.
|
inline |
Definition at line 103 of file RGB_Space.h.
|
inline |
Definition at line 116 of file RGB_Space.h.
Definition at line 120 of file RGB_Space.h.
|
inline |
Definition at line 124 of file RGB_Space.h.
|
inline |
Definition at line 112 of file RGB_Space.h.
|
inline |
Definition at line 108 of file RGB_Space.h.
|
inline |
Definition at line 115 of file RGB_Space.h.
Definition at line 119 of file RGB_Space.h.
|
inline |
Definition at line 123 of file RGB_Space.h.
|
inline |
Definition at line 111 of file RGB_Space.h.
|
inline |
Definition at line 107 of file RGB_Space.h.
|
inline |
Definition at line 135 of file RGB_Space.h.
|
inline |
Definition at line 141 of file RGB_Space.h.
|
inline |
Definition at line 129 of file RGB_Space.h.
|
inline |
Definition at line 132 of file RGB_Space.h.
|
inline |
Definition at line 138 of file RGB_Space.h.
|
inline |
Definition at line 125 of file RGB_Space.h.
|
inline |
Definition at line 114 of file RGB_Space.h.
Definition at line 118 of file RGB_Space.h.
|
inline |
Definition at line 113 of file RGB_Space.h.
Definition at line 117 of file RGB_Space.h.
|
inline |
Definition at line 121 of file RGB_Space.h.
|
inline |
Definition at line 109 of file RGB_Space.h.
|
inline |
Definition at line 105 of file RGB_Space.h.
|
inline |
Definition at line 122 of file RGB_Space.h.
|
inline |
Definition at line 110 of file RGB_Space.h.
|
inline |
Definition at line 106 of file RGB_Space.h.