#include <Color.hpp>
Definition at line 19 of file Color.hpp.
Constructor. All zero values.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- none.
- Warning
- none.
Bial::Color::Color |
( |
uint |
val | ) |
|
|
explicit |
Constructor.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- none.
- Warning
- none.
Constructor.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- none.
- Warning
- none.
Copy Constructor.
- Date
- 2015/Oct/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
Bial::Color::Color |
( |
Color && |
other | ) |
|
Move Constructor.
- Date
- 2015/Oct/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
Destructor.
- Date
- 2015/Oct/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
Definition at line 82 of file Color.hpp.
Copy Constructor.
- Date
- 2015/Oct/27
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
const uchar& Bial::Color::operator() |
( |
size_t |
chl | ) |
const |
Returns a constant reference of data pointed by channel chl. Same as operator[]( chl ).
- Date
- 2015/Oct/06
- Parameters
-
chl | a channel to be acessed. |
- Returns
- Constant reference of data pointed by channel chl.
- Warning
- Channel bounds are not verified.
uchar& Bial::Color::operator() |
( |
size_t |
chl | ) |
|
Returns the reference for data pointed by channle chl. Same as operator[]( chl ).
- Date
- 2015/Oct/06
- Parameters
-
chl | a channel to be acessed. |
- Returns
- Reference of data pointed by channel chl.
- Warning
- Channel bounds are not verified.
Copies color to this color.
- Date
- 2015/Oct/06
- Parameters
-
unamed | Color to be assigned to this. |
- Returns
- none.
- Warning
- none.
moves color to this color.
- Date
- 2015/Oct/06
- Parameters
-
unamed | Color to be assigned to this. |
- Returns
- none.
- Warning
- none.
const uchar& Bial::Color::operator[] |
( |
size_t |
chl | ) |
const |
Returns a constant reference of data pointed by channel chl. Same as operator()( chl ).
- Date
- 2015/Oct/06
- Parameters
-
chl | a channel to be acessed. |
- Returns
- Constant reference of data pointed by channel chl.
- Warning
- Channel bounds are not verified.
uchar& Bial::Color::operator[] |
( |
size_t |
chl | ) |
|
Returns the reference for data pointed by channle chl. Same as operator()( chl ).
- Date
- 2015/Oct/06
- Parameters
-
chl | a channel to be acessed. |
- Returns
- Reference of data pointed by channel chl.
- Warning
- Channel bounds are not verified.
template<class O >
void Bial::Color::Print |
( |
O & |
os | ) |
const |
Prints color containts to output stream os.
- Date
- 2015/Oct/21
- Parameters
-
- Returns
- none.
- Warning
- none.
Definition at line 369 of file Color.hpp.
void Bial::Color::Value |
( |
uint |
val | ) |
|
Updates color value with val.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- none.
- Warning
- none.
uint Bial::Color::Value |
( |
| ) |
const |
Returns current color value.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- Current color value.
- Warning
- none.
The documentation for this union was generated from the following file: