A RGB color - 8bit. More...
#include <mrpt/utils/types.h>

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. | |
A RGB color - 8bit.
Definition at line 230 of file base/include/mrpt/utils/types.h.
| mrpt::utils::TColor::TColor | ( | ) | [inline] |
Definition at line 232 of file base/include/mrpt/utils/types.h.
| mrpt::utils::TColor::TColor | ( | uint8_t | r, | |
| uint8_t | g, | |||
| uint8_t | b, | |||
| uint8_t | alpha = 255 | |||
| ) | [inline] |
Definition at line 233 of file base/include/mrpt/utils/types.h.
| mrpt::utils::TColor::TColor | ( | const unsigned int | color_RGB_24bit | ) | [inline, explicit] |
Definition at line 234 of file base/include/mrpt/utils/types.h.
| mrpt::utils::TColor::operator unsigned int | ( | void | ) | const [inline] |
Operator for implicit conversion into an int binary representation 0xRRGGBB.
Definition at line 237 of file base/include/mrpt/utils/types.h.
| uint8_t mrpt::utils::TColor::A |
Definition at line 235 of file base/include/mrpt/utils/types.h.
| uint8_t mrpt::utils::TColor::B |
Definition at line 235 of file base/include/mrpt/utils/types.h.
TColor mrpt::utils::TColor::black [static] |
Predefined colors.
Definition at line 243 of file base/include/mrpt/utils/types.h.
Referenced by mrpt::slam::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks().
TColor mrpt::utils::TColor::blue [static] |
Predefined colors.
Definition at line 241 of file base/include/mrpt/utils/types.h.
| uint8_t mrpt::utils::TColor::G |
Definition at line 235 of file base/include/mrpt/utils/types.h.
TColor mrpt::utils::TColor::gray [static] |
Predefined colors.
Definition at line 244 of file base/include/mrpt/utils/types.h.
TColor mrpt::utils::TColor::green [static] |
Predefined colors.
Definition at line 240 of file base/include/mrpt/utils/types.h.
Referenced by mrpt::gui::CDisplayWindow::showTiledImageAndPoints().
| uint8_t mrpt::utils::TColor::R |
Definition at line 235 of file base/include/mrpt/utils/types.h.
TColor mrpt::utils::TColor::red [static] |
Predefined colors.
Definition at line 239 of file base/include/mrpt/utils/types.h.
Referenced by mrpt::utils::CCanvas::drawFeatures().
TColor mrpt::utils::TColor::white [static] |
Predefined colors.
Definition at line 242 of file base/include/mrpt/utils/types.h.
| Page generated by Doxygen 1.7.1 for MRPT 0.9.1 SVN:exported at Fri Aug 6 10:31:35 UTC 2010 |