Describes a set of Lab channels.
More...
#include <hdicoreArtColor.h>
|
| | Lab () |
| | Constructs a Lab object with default values.
|
| | Lab (const Lab &obj_) |
| | Constructs a new Lab object from an existing Lab.
|
| | Lab (const double l_, const double a_, const double b_) |
| | Constructs a new Lab object with the given values.
|
| virtual | ~Lab () |
| | Destructs a Lab object.
|
| Lab & | operator= (const Lab &rhs_) |
| | Lab assignment operator.
|
| bool | operator== (const Lab &rhs_) const |
| | Tests whether a given Lab object is the same as another.
|
| bool | operator!= (const Lab &rhs_) const |
| | Tests whether a given Lab object is not the same as another.
|
|
|
double | lightness |
| | Stores the Lab color lightness channel, in the range [0.0,1.0].
|
|
double | a |
| | Stores the Lab color a-dimension channel, in the range [-1.0,1.0].
|
|
double | b |
| | Stores the Lab color b-dimension channel, in the range [-1.0,1.0].
|
Describes a set of Lab channels.
◆ Lab() [1/3]
| hdi::core::ArtColor::Channels::Lab::Lab |
( |
| ) |
|
Constructs a Lab object with default values.
- Author
- GW
- Date
- 07/2014
◆ Lab() [2/3]
| hdi::core::ArtColor::Channels::Lab::Lab |
( |
const Lab & | obj_ | ) |
|
Constructs a new Lab object from an existing Lab.
- Author
- GW
- Date
- 07/2014
- Parameters
-
| obj_ | Existing Lab object to copy values from |
◆ Lab() [3/3]
| hdi::core::ArtColor::Channels::Lab::Lab |
( |
const double | l_, |
|
|
const double | a_, |
|
|
const double | b_ ) |
Constructs a new Lab object with the given values.
- Author
- GW
- Date
- 07/2014
- Parameters
-
| l_ | (See lightness member description) |
| a_ | (See a member description) |
| b_ | (See b member description) |
◆ ~Lab()
| virtual hdi::core::ArtColor::Channels::Lab::~Lab |
( |
| ) |
|
|
virtual |
Destructs a Lab object.
- Author
- GW
- Date
- 07/2014
◆ operator!=()
| bool hdi::core::ArtColor::Channels::Lab::operator!= |
( |
const Lab & | rhs_ | ) |
const |
Tests whether a given Lab object is not the same as another.
- Author
- GW
- Date
- 03/2015
- Parameters
-
| rhs_ | Lab to compare against (righthand side of inequality operator) |
- Returns
- true for the target and rhs_ being different colors, false otherwise
◆ operator=()
| Lab & hdi::core::ArtColor::Channels::Lab::operator= |
( |
const Lab & | rhs_ | ) |
|
Lab assignment operator.
- Author
- GW
- Date
- 07/2014
- Parameters
-
| rhs_ | Existing Lab object to copy values from (righthand side of the assignment operator) |
- Returns
- The target Lab object, but with its values updated
◆ operator==()
| bool hdi::core::ArtColor::Channels::Lab::operator== |
( |
const Lab & | rhs_ | ) |
const |
Tests whether a given Lab object is the same as another.
- Author
- GW
- Date
- 03/2015
- Parameters
-
| rhs_ | Lab to compare against (righthand side of equality operator) |
- Returns
- true for the target and rhs_ being the same colors, false otherwise