MRPT
1.9.9
|
#include <mrpt/img/TColor.h>
Public Member Functions | |
constexpr | TColor ()=default |
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 () 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 {0} |
uint8_t | G {0} |
uint8_t | B {0} |
uint8_t | A {255} |
|
inlinedefault |
|
inlineexplicit |
|
inline |
|
inlinestatic |
Definition at line 63 of file TColor.h.
References TColor().
Referenced by mrpt::maps::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks().
|
inlinestatic |
Definition at line 62 of file TColor.h.
References TColor().
Referenced by mrpt::img::TColorManager::advanceRGBCounters(), mrpt::img::TColorManager::checkStdColorsUsed(), mrpt::img::CImage::drawChessboardCorners(), and mrpt::img::TColorManager::getNextTColor().
|
inlinestatic |
|
inlinestatic |
Definition at line 61 of file TColor.h.
References TColor().
Referenced by mrpt::img::TColorManager::advanceRGBCounters(), mrpt::img::TColorManager::checkStdColorsUsed(), and mrpt::img::TColorManager::getNextTColor().
|
inline |
|
inlinestatic |
Predefined colors.
Definition at line 60 of file TColor.h.
References TColor().
Referenced by mrpt::img::TColorManager::advanceRGBCounters(), mrpt::img::TColorManager::checkStdColorsUsed(), mrpt::img::CCanvas::drawFeatures(), and mrpt::img::TColorManager::getNextTColor().
|
inlinestatic |
uint8_t mrpt::img::TColor::A {255} |
Definition at line 46 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorA(), mrpt::opengl::CRenderizable::getColorA_u8(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator==(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::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::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorA_u8(), mrpt::opengl::CRenderizable::setColorA_u8(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::img::TColor::B {0} |
Definition at line 46 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorB(), mrpt::opengl::CRenderizable::getColorB_u8(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::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::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorB_u8(), mrpt::opengl::CRenderizable::setColorB_u8(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::img::TColor::G {0} |
Definition at line 46 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorG(), mrpt::opengl::CRenderizable::getColorG_u8(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::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::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorG_u8(), mrpt::opengl::CRenderizable::setColorG_u8(), and mrpt::opengl::CRenderizable::writeToStreamRender().
uint8_t mrpt::img::TColor::R {0} |
Definition at line 46 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorR(), mrpt::opengl::CRenderizable::getColorR_u8(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), mrpt::opengl::CRenderizable::readFromStreamRender(), mrpt::opengl::CBox::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::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizableDisplayList::setColorR_u8(), mrpt::opengl::CRenderizable::setColorR_u8(), and mrpt::opengl::CRenderizable::writeToStreamRender().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |