Detailed Description
#include <mrpt/utils/TColor.h>
List of all members.
Public Member Functions |
| | TColor () |
| | TColor (uint8_t r, uint8_t g, uint8_t b, uint8_t alpha=255) |
| | TColor (const unsigned int color_RGB_24bit) |
| | operator unsigned int (void) const |
| | Operator for implicit conversion into an int binary representation 0xRRGGBB.
|
Public Attributes |
| uint8_t | R |
| uint8_t | G |
| uint8_t | B |
| uint8_t | A |
Static Public Attributes |
| static TColor | red |
| | Predefined colors.
|
| static TColor | green |
| | Predefined colors.
|
| static TColor | blue |
| | Predefined colors.
|
| static TColor | white |
| | Predefined colors.
|
| static TColor | black |
| | Predefined colors.
|
| static TColor | gray |
| | Predefined colors.
|
Constructor & Destructor Documentation
| mrpt::utils::TColor::TColor |
( |
| ) |
[inline] |
| mrpt::utils::TColor::TColor |
( |
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b, |
|
|
uint8_t |
alpha = 255 |
|
) |
| [inline] |
| mrpt::utils::TColor::TColor |
( |
const unsigned int |
color_RGB_24bit | ) |
[inline, explicit] |
Member Function Documentation
| mrpt::utils::TColor::operator unsigned int |
( |
void |
| ) |
const [inline] |
Operator for implicit conversion into an int binary representation 0xRRGGBB.
Definition at line 50 of file TColor.h.
Member Data Documentation
Predefined colors.
Definition at line 54 of file TColor.h.
Predefined colors.
Definition at line 57 of file TColor.h.
Predefined colors.
Definition at line 52 of file TColor.h.
Predefined colors.
Definition at line 55 of file TColor.h.