MRPT
2.0.4
|
#include <mrpt/img/TColor.h>
Public Member Functions | |
TColorf (float r=0, float g=0, float b=0, float alpha=1.0f) | |
TColorf (const TColor &col) | |
TColor | asTColor () const |
Returns the 0-255 integer version of this color: RGBA_u8. More... | |
Public Attributes | |
float | R |
float | G |
float | B |
float | A |
|
inline |
|
inlineexplicit |
|
inline |
Returns the 0-255 integer version of this color: RGBA_u8.
Definition at line 101 of file TColor.h.
References B, mrpt::f2u8(), G, and R.
Referenced by mrpt::img::colormap(), mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels(), mrpt::opengl::CColorBar::onUpdateBuffers_all(), mrpt::opengl::CMeshFast::onUpdateBuffers_Points(), mrpt::opengl::CPlanarLaserScan::onUpdateBuffers_Points(), mrpt::opengl::CPlanarLaserScan::onUpdateBuffers_Wireframe(), mrpt::opengl::CVectorField3D::onUpdateBuffers_Wireframe(), and mrpt::opengl::CPointCloudColoured::PLY_export_get_vertex().
float mrpt::img::TColorf::A |
Definition at line 107 of file TColor.h.
Referenced by mrpt::gui::MRPT2NanoguiGLCanvas::drawGL(), mrpt::maps::COctoMap::getAsOctoMapVoxels(), mrpt::maps::CColouredOctoMap::getAsOctoMapVoxels(), mrpt::opengl::CFBORender::getFrame2(), mrpt::img::operator<<(), mrpt::img::operator>>(), mrpt::opengl::COpenGLViewport::render(), mrpt::opengl::COpenGLViewport::serializeFrom(), mrpt::opengl::COpenGLViewport::serializeTo(), mrpt::opengl::TTriangle::setColor(), and mrpt::opengl::CRenderizable::setColor().
float mrpt::img::TColorf::B |
Definition at line 107 of file TColor.h.
Referenced by asTColor(), mrpt::gui::MRPT2NanoguiGLCanvas::drawGL(), mrpt::maps::COctoMap::getAsOctoMapVoxels(), mrpt::maps::CColouredOctoMap::getAsOctoMapVoxels(), mrpt::opengl::CFBORender::getFrame2(), mrpt::opengl::CColorBar::onUpdateBuffers_all(), mrpt::img::operator<<(), mrpt::img::operator>>(), mrpt::maps::CPointsMapXYZI::PLY_export_get_vertex(), mrpt::maps::CColouredPointsMap::PLY_export_get_vertex(), mrpt::opengl::CPointCloudColoured::PLY_import_set_vertex(), mrpt::maps::CPointsMapXYZI::PLY_import_set_vertex(), mrpt::maps::CColouredPointsMap::PLY_import_set_vertex(), mrpt::opengl::COpenGLViewport::render(), mrpt::opengl::PLY_Exporter::saveToPlyFile(), mrpt::opengl::COpenGLViewport::serializeFrom(), mrpt::opengl::COpenGLViewport::serializeTo(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CRenderizable::setColor(), and mrpt::opengl::CMesh::updateTriangles().
float mrpt::img::TColorf::G |
Definition at line 107 of file TColor.h.
Referenced by asTColor(), mrpt::gui::MRPT2NanoguiGLCanvas::drawGL(), mrpt::maps::COctoMap::getAsOctoMapVoxels(), mrpt::maps::CColouredOctoMap::getAsOctoMapVoxels(), mrpt::opengl::CFBORender::getFrame2(), mrpt::opengl::CColorBar::onUpdateBuffers_all(), mrpt::img::operator<<(), mrpt::img::operator>>(), mrpt::maps::CPointsMapXYZI::PLY_export_get_vertex(), mrpt::maps::CColouredPointsMap::PLY_export_get_vertex(), mrpt::opengl::CPointCloudColoured::PLY_import_set_vertex(), mrpt::maps::CPointsMapXYZI::PLY_import_set_vertex(), mrpt::maps::CColouredPointsMap::PLY_import_set_vertex(), mrpt::opengl::COpenGLViewport::render(), mrpt::opengl::PLY_Exporter::saveToPlyFile(), mrpt::opengl::COpenGLViewport::serializeFrom(), mrpt::opengl::COpenGLViewport::serializeTo(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CRenderizable::setColor(), and mrpt::opengl::CMesh::updateTriangles().
float mrpt::img::TColorf::R |
Definition at line 107 of file TColor.h.
Referenced by asTColor(), mrpt::gui::MRPT2NanoguiGLCanvas::drawGL(), mrpt::maps::COctoMap::getAsOctoMapVoxels(), mrpt::maps::CColouredOctoMap::getAsOctoMapVoxels(), mrpt::opengl::CFBORender::getFrame2(), mrpt::opengl::CColorBar::onUpdateBuffers_all(), mrpt::img::operator<<(), mrpt::img::operator>>(), mrpt::maps::CPointsMapXYZI::PLY_export_get_vertex(), mrpt::maps::CColouredPointsMap::PLY_export_get_vertex(), mrpt::opengl::CPointCloudColoured::PLY_import_set_vertex(), mrpt::maps::CPointsMapXYZI::PLY_import_set_vertex(), mrpt::maps::CColouredPointsMap::PLY_import_set_vertex(), mrpt::opengl::CRenderizableShaderTriangles::render(), mrpt::opengl::COpenGLViewport::render(), mrpt::opengl::PLY_Exporter::saveToPlyFile(), mrpt::opengl::COpenGLViewport::serializeFrom(), mrpt::opengl::COpenGLViewport::serializeTo(), mrpt::opengl::TTriangle::setColor(), mrpt::opengl::CRenderizable::setColor(), and mrpt::opengl::CMesh::updateTriangles().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |