|
| constexpr | LABColor () |
| | Default constructor.
|
| | LABColor (const ACIColor &lab) |
| | Constructs a LABColor by converting from an AutoCAD Color Index color.
|
| | LABColor (const HSBColor &lab) |
| | Constructs a LABColor by converting from an HSB color.
|
| | LABColor (const RGBColor &lab) |
| | Constructs a LABColor by converting from an RGB color.
|
| constexpr | LABColor (const Vector< 4, fltp04 > &lab) |
| | Constructs a LABColor from a 4-component vector.
|
| | LABColor (const XYZColor &lab) |
| | Constructs a LABColor by converting from a CIE XYZ color.
|
| constexpr | LABColor (fltp04 x, fltp04 y, fltp04 z, fltp04 a=1.0f) |
| | Constructs a LABColor from individual L*, a*, b*, and alpha components.
|
| constexpr | Vector (const fltp04 &prefix, typename std::enable_if< tdims >=2, const Vector< t_dims - 1, fltp04 > & >::type vector) |
| | Creates a vector where the prefix scaler is combined with the suffix vector.
|
| constexpr | Vector (const fltp04 &prefix_a, const fltp04 &prefix_b, typename std::enable_if< tdims >=3, const Vector< tdims - 1, fltp04 > & >::type vector) |
| | Creates a vector where the prefix scaler values are combined with the suffix vector.
|
| constexpr | Vector (const fltp04 &scaler) noexcept |
| constexpr | Vector (const fltp04 &x, const fltp04 &y, const fltp04 &z, typename std::enable_if< tdims==4, const fltp04 & >::type w) |
| | Sets values in each dimension to the respective value in the passed in scaler.
|
| constexpr | Vector (const fltp04 &x, const fltp04 &y, const typename std::enable_if< tdims==3, const fltp04 & >::type z) |
| | Sets values in each dimension to the respective value in the passed in scaler.
|
| constexpr | Vector (const fltp04 &x, typename std::enable_if< tdims==2, const fltp04 & >::type y) |
| | Sets values in each dimension to the respective value in the passed in scaler.
|
| constexpr | Vector (const fltp04(&vector)[t_dims]) |
| | Given a container of statically determined array, transforms it to a vector.
|
| constexpr | Vector (const Vector< getMax(tdims - 2, 0), fltp04 > &vector, const fltp04 &suffix_a, typename std::enable_if< tdims >=3, const fltp04 & >::type suffix_b) |
| | Creates a vector where the prefix vector is combined with the suffix scalers.
|
| constexpr | Vector (const Vector< t_dims, t_vec_type > &vector) noexcept |
| constexpr | Vector (const Vector< tdims - 1, fltp04 > &vector, typename std::enable_if< tdims >=2, const fltp04 & >::type suffix) |
| | Creates a vector where the prefix vector is combined with the suffix scalers.
|
| constexpr decltype(auto) | as () const |
| | Returns the vector as a new time of vector.
|
| constexpr uint01 | dimensionalIndex () const |
| | Used with template arguments MAX or MIN, Gets the dimensional index for the value that is either max or min.
|
| constexpr fltp04 | dimensionalValue () const |
| | Used with template arguments MAX or MIN, Gets the dimensional value for the value that is either max or min.
|
| constexpr t_magnitude_type | magnitude () const |
| | Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism.
|
| constexpr fltp04 | magnitudeSquared () const |
| | Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism.
|
| constexpr Vector< t_dims, t_norm_type > | normalized (Vector< t_dims, t_norm_type > value_if_nan=Constant< Vector< t_dims, t_norm_type > >::Invalid) const |
| | Gets the normalized, or unit length representation of this vector.
|
| constexpr | operator fltp04 & () |
| | For Single dimensional objects, they may also be considered a scaler, thus allow implicit conversion from a vector to a scaler when the dimension of the vector is 1.
|
| constexpr | operator fltp04 & () |
| | For Single dimensional objects, they may also be considered a scaler, thus allow implicit conversion from a vector to a scaler when the dimension of the vector is 1.
|
| constexpr Vector< t_dims, fltp04 > | operator- () const |
| | Negation operator.
|
| constexpr Vector< t_dims, fltp04 > & | operator= (const fltp04 &scaler) |
| | Assignment operator.
|
| constexpr fltp04 & | operator[] (uint01 dimension_index) |
| | Accesses the value of a certain dimension.
|
| constexpr fltp04 | product () const |
| | Returns the product, or value of each dimension multiplied together.
|
| constexpr fltp04 | sum () const |
| | Returns the sum, or value of each dimension added together.
|
Forward declaration of the NDEVR translated string class.
A perceptually uniform color defined in the CIE L*a*b* color space.
A Lab color space is a color-opponent space with dimension L for luminance and a and b for the color-opponent dimensions, based on nonlinearly-compressed CIE XYZ color space coordinates.
IE L*a*b* color space, also know as CIE 1976 color space, stands for: L*, the luminance a*, the red/green color-opponent dimension b*, the yellow/blue color-opponent dimension The L*a*b* color model has been created to serve as a device independent model to be used as a reference. It is based directly on the CIE 1931 XYZ color space as an attempt to linearize the perceptibility of color differences. The non-linear relations for L*, a*, and b* are intended to mimic the logarithmic response of the eye, coloring information is referred to the color of the white point of the system. Useful for color comparisions, distances, etc
- See also
- RGBColor, XYZColor, HSBColor
Definition at line 64 of file LABColor.h.