#include <mrpt/utils/TColor.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) | |
TColor (const unsigned int color_RGB_24bit, const uint8_t alpha) | |
operator unsigned int (void) const | |
Operator for implicit conversion into an int binary representation 0xRRGGBB. More... | |
TColor & | operator= (const TColor &other) |
TColor & | operator+= (const TColor &other) |
TColor & | operator-= (const TColor &other) |
Public Attributes | |
uint8_t | R |
uint8_t | G |
uint8_t | B |
uint8_t | A |
Static Public Attributes | |
static TColor | red = TColor(255,0,0) |
Predefined colors. More... | |
static TColor | green = TColor(0,255,0) |
Predefined colors. More... | |
static TColor | blue = TColor(0,0,255) |
Predefined colors. More... | |
static TColor | white = TColor(255,255,255) |
Predefined colors. More... | |
static TColor | black = TColor(0,0,0) |
Predefined colors. More... | |
static TColor | gray = TColor(127,127,127) |
Predefined colors. More... | |
|
inlineexplicit |
|
inline |
|
inline |
uint8_t mrpt::utils::TColor::A |
Definition at line 54 of file TColor.h.
Referenced by mrpt::opengl::CMesh3D::CMesh3D(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::utils::operator+(), operator+=(), mrpt::utils::operator-(), operator-=(), operator=(), mrpt::utils::operator==(), mrpt::opengl::CFrustum::readFromStream(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::render_dl(), mrpt::opengl::CSimpleLine::render_dl(), mrpt::opengl::CText3D::render_dl(), mrpt::opengl::CSetOfLines::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField2D::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::CTexturedObject::render_post(), mrpt::opengl::CTexturedObject::render_pre(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::utils::TColor::B |
Definition at line 54 of file TColor.h.
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::opengl::CMesh3D::CMesh3D(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), mrpt::utils::operator+(), operator+=(), mrpt::utils::operator-(), operator-=(), operator=(), mrpt::utils::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CFrustum::readFromStream(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::render_dl(), mrpt::opengl::CSimpleLine::render_dl(), mrpt::opengl::CText3D::render_dl(), mrpt::opengl::CSetOfLines::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField2D::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
Predefined colors.
Definition at line 67 of file TColor.h.
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), mrpt::utils::CImage::drawChessboardCorners(), and mrpt::utils::TColorManager::getNextTColor().
uint8_t mrpt::utils::TColor::G |
Definition at line 54 of file TColor.h.
Referenced by mrpt::opengl::CMesh3D::CMesh3D(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), mrpt::utils::operator+(), operator+=(), mrpt::utils::operator-(), operator-=(), operator=(), mrpt::utils::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CFrustum::readFromStream(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::render_dl(), mrpt::opengl::CSimpleLine::render_dl(), mrpt::opengl::CText3D::render_dl(), mrpt::opengl::CSetOfLines::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField2D::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
Predefined colors.
Definition at line 66 of file TColor.h.
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), and mrpt::utils::TColorManager::getNextTColor().
uint8_t mrpt::utils::TColor::R |
Definition at line 54 of file TColor.h.
Referenced by mrpt::opengl::CMesh3D::CMesh3D(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), mrpt::utils::operator+(), operator+=(), mrpt::utils::operator-(), operator-=(), operator=(), mrpt::utils::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CFrustum::readFromStream(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::render_dl(), mrpt::opengl::CSimpleLine::render_dl(), mrpt::opengl::CText3D::render_dl(), mrpt::opengl::CSetOfLines::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField2D::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
Predefined colors.
Definition at line 65 of file TColor.h.
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), mrpt::utils::CCanvas::drawFeatures(), and mrpt::utils::TColorManager::getNextTColor().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |