#include <mrpt/utils/TColor.h>
Public Member Functions | |
constexpr | TColor () |
constexpr | TColor (uint8_t r, uint8_t g, uint8_t b, uint8_t alpha=255) |
constexpr | TColor (const unsigned int color_RGB_24bit) |
constexpr | 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) |
Static Public Member Functions | |
static constexpr TColor | red () |
Predefined colors. More... | |
static constexpr TColor | green () |
static constexpr TColor | blue () |
static constexpr TColor | black () |
static constexpr TColor | white () |
static constexpr TColor | gray () |
Public Attributes | |
uint8_t | R |
uint8_t | G |
uint8_t | B |
uint8_t | A |
|
inline |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inlinestatic |
Definition at line 65 of file TColor.h.
References TColor().
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), mrpt::utils::CImage::drawChessboardCorners(), and mrpt::utils::TColorManager::getNextTColor().
|
inlinestatic |
|
inlinestatic |
Definition at line 64 of file TColor.h.
References TColor().
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), and mrpt::utils::TColorManager::getNextTColor().
|
inline |
|
inlinestatic |
Predefined colors.
Definition at line 63 of file TColor.h.
References TColor().
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::utils::TColorManager::checkStdColorsUsed(), mrpt::utils::CCanvas::drawFeatures(), and mrpt::utils::TColorManager::getNextTColor().
|
inlinestatic |
uint8_t mrpt::utils::TColor::A |
Definition at line 49 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorA(), mrpt::opengl::CRenderizable::getColorA_u8(), 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::CVectorField2D::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::CPolyhedron::render_dl(), mrpt::opengl::CTexturedObject::render_post(), mrpt::opengl::CTexturedObject::render_pre(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorA_u8(), mrpt::opengl::CRenderizable::setColorA_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::utils::TColor::B |
Definition at line 49 of file TColor.h.
Referenced by mrpt::utils::TColorManager::advanceRGBCounters(), mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorB(), mrpt::opengl::CRenderizable::getColorB_u8(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), operator unsigned int(), 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::CVectorField2D::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::CPolyhedron::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorB_u8(), mrpt::opengl::CRenderizable::setColorB_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::utils::TColor::G |
Definition at line 49 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorG(), mrpt::opengl::CRenderizable::getColorG_u8(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), operator unsigned int(), 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::CVectorField2D::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::CPolyhedron::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorG_u8(), mrpt::opengl::CRenderizable::setColorG_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::utils::TColor::R |
Definition at line 49 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorR(), mrpt::opengl::CRenderizable::getColorR_u8(), mrpt::graphslam::deciders::CICPCriteriaERD< GRAPH_T >::initializeVisuals(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::initOptDistanceVisualizationInternal(), operator unsigned int(), 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::CVectorField2D::render_dl(), mrpt::opengl::COctoMapVoxels::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::opengl::CPolyhedron::render_dl(), mrpt::opengl::gl_utils::renderMessageBox(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorR_u8(), mrpt::opengl::CRenderizable::setColorR_u8(), mrpt::opengl::CFrustum::writeToStream(), and mrpt::opengl::CRenderizable::writeToStreamRender().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |