Class RealColor is used to handle multi-channels in pixels with floating point values.
More...
#include <RealColor.hpp>
Class RealColor is used to handle multi-channels in pixels with floating point values.
Definition at line 22 of file RealColor.hpp.
Bial::RealColor::RealColor |
( |
float |
value = 0.0f | ) |
|
|
explicit |
Constructor. All zero values.
- Date
- 2015/Oct/06
- Parameters
-
value | Initial value assigned to all channels. |
- Returns
- none.
- Warning
- none.
Bial::RealColor::RealColor |
( |
float |
chl_0, |
|
|
float |
chl_1, |
|
|
float |
chl_2, |
|
|
float |
chl_3 |
|
) |
| |
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::RealColor::RealColor |
( |
RealColor && |
other | ) |
|
Move Constructor.
- Date
- 2015/Oct/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
Copy Constructor.
- Date
- 2015/Oct/27
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
const float& Bial::RealColor::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.
float& Bial::RealColor::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
-
- Returns
- none.
- Warning
- none.
moves color to this color.
- Date
- 2015/Oct/06
- Parameters
-
- Returns
- none.
- Warning
- none.
const float& Bial::RealColor::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.
float& Bial::RealColor::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::RealColor::Print |
( |
O & |
os | ) |
const |
Prints color containts to output stream os.
- Date
- 2015/Oct/21
- Parameters
-
- Returns
- none.
- Warning
- none.
Definition at line 331 of file RealColor.hpp.
The documentation for this class was generated from the following file: