mrpt::utils::TColor Struct Reference
A RGB color - 8bit.
More...
#include <mrpt/utils/types.h>
List of all members.
|
Public Member Functions |
| TColor (uint8_t r=0, uint8_t g=0, uint8_t b=0, uint8_t alpha=255) |
| operator 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.
|
Detailed Description
A RGB color - 8bit.
Definition at line 165 of file types.h.
Constructor & Destructor Documentation
mrpt::utils::TColor::TColor |
( |
uint8_t |
r = 0 , |
|
|
uint8_t |
g = 0 , |
|
|
uint8_t |
b = 0 , |
|
|
uint8_t |
alpha = 255 | |
|
) |
| | [inline] |
Member Function Documentation
mrpt::utils::TColor::operator int |
( |
void |
|
) |
const [inline] |
Operator for implicit conversion into an int binary representation 0xRRGGBB.
Definition at line 170 of file types.h.
Member Data Documentation
Predefined colors.
Definition at line 176 of file types.h.
Predefined colors.
Definition at line 174 of file types.h.
Predefined colors.
Definition at line 177 of file types.h.
Predefined colors.
Definition at line 173 of file types.h.
Predefined colors.
Definition at line 172 of file types.h.
Predefined colors.
Definition at line 175 of file types.h.