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 (const TColor &other) | |
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 |
|
inline |
|
inlineexplicit |
|
inline |
|
inlinestatic |
Definition at line 69 of file TColor.h.
References TColor().
Referenced by mrpt::opengl::CColorBar::onUpdateBuffers_all(), and mrpt::maps::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks().
|
inlinestatic |
Definition at line 68 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 67 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 66 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 |
Definition at line 70 of file TColor.h.
References TColor().
Referenced by mrpt::opengl::CColorBar::onUpdateBuffers_all().
uint8_t mrpt::img::TColor::A {255} |
Definition at line 51 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels(), mrpt::opengl::CRenderizable::getColorA(), mrpt::opengl::CRenderizable::getColorA_u8(), mrpt::opengl::COctoMapVoxels::onUpdateBuffers_Triangles(), mrpt::opengl::CVectorField3D::onUpdateBuffers_Wireframe(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator<<(), mrpt::img::operator==(), mrpt::img::operator>>(), mrpt::opengl::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::TTriangle::Vertex::setColor(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CSetOfObjects::setColor_u8(), mrpt::opengl::CRenderizable::setColor_u8(), and mrpt::opengl::CRenderizable::setColorA_u8().
uint8_t mrpt::img::TColor::B {0} |
Definition at line 51 of file TColor.h.
Referenced by mrpt::img::TColorManager::advanceRGBCounters(), mrpt::opengl::CMeshFast::CMeshFast(), mrpt::img::CImage::drawCircle(), mrpt::opengl::CRenderizable::getColorB(), mrpt::opengl::CRenderizable::getColorB_u8(), mrpt::img::CImage::line(), mrpt::opengl::COctoMapVoxels::onUpdateBuffers_Triangles(), mrpt::opengl::CVectorField3D::onUpdateBuffers_Wireframe(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator<<(), mrpt::img::operator==(), mrpt::img::operator>>(), mrpt::opengl::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::TTriangle::Vertex::setColor(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CSetOfObjects::setColor_u8(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizable::setColorB_u8(), and mrpt::obs::detail::unprojectInto().
uint8_t mrpt::img::TColor::G {0} |
Definition at line 51 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::img::CImage::drawCircle(), mrpt::opengl::CRenderizable::getColorG(), mrpt::opengl::CRenderizable::getColorG_u8(), mrpt::img::CImage::line(), mrpt::opengl::COctoMapVoxels::onUpdateBuffers_Triangles(), mrpt::opengl::CVectorField3D::onUpdateBuffers_Wireframe(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator<<(), mrpt::img::operator==(), mrpt::img::operator>>(), mrpt::opengl::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::TTriangle::Vertex::setColor(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CSetOfObjects::setColor_u8(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizable::setColorG_u8(), and mrpt::obs::detail::unprojectInto().
uint8_t mrpt::img::TColor::R {0} |
Definition at line 51 of file TColor.h.
Referenced by mrpt::opengl::CMeshFast::CMeshFast(), mrpt::img::CImage::drawCircle(), mrpt::opengl::CRenderizable::getColorR(), mrpt::opengl::CRenderizable::getColorR_u8(), mrpt::opengl::PointCloudAdapter< mrpt::opengl::CPointCloudColoured >::getPointXYZ_RGBu8(), mrpt::img::CImage::line(), mrpt::opengl::COctoMapVoxels::onUpdateBuffers_Triangles(), mrpt::opengl::CVectorField3D::onUpdateBuffers_Wireframe(), operator unsigned int(), mrpt::img::operator+(), operator+=(), mrpt::img::operator-(), operator-=(), mrpt::img::operator<<(), mrpt::img::operator==(), mrpt::img::operator>>(), mrpt::opengl::CFrustum::serializeFrom(), mrpt::opengl::CFrustum::serializeTo(), mrpt::opengl::TTriangle::Vertex::setColor(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CSetOfObjects::setColor_u8(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CRenderizable::setColorR_u8(), and mrpt::obs::detail::unprojectInto().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |