MRPT
1.9.9
|
#include <mrpt/img/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 |
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(), mrpt::img::TColorManager::getNextTColor(), and main().
|
inlinestatic |
uint8_t mrpt::img::TColor::A |
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-=(), operator=(), mrpt::img::operator==(), 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::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 |
Definition at line 46 of file TColor.h.
Referenced by mrpt::img::TColorManager::advanceRGBCounters(), mrpt::opengl::CMeshFast::CMeshFast(), mrpt::opengl::CRenderizable::getColorB(), mrpt::opengl::CRenderizable::getColorB_u8(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), operator=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), 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::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 |
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-=(), operator=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), 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::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 |
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-=(), operator=(), mrpt::img::operator==(), mrpt::obs::detail::project3DPointsFromDepthImageInto(), 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::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: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |