struct mrpt::math::TPointXYZfRGBu8

XYZ point (float) + RGB(u8)

See also:

mrpt::math::TPoint3D

#include <mrpt/math/TPoint3D.h>

struct TPointXYZfRGBu8
{
    //
fields

    mrpt::math::TPoint3Df pt;
    uint8_t r {0};
    uint8_t g {0};
    uint8_t b {0};

    // construction

    TPointXYZfRGBu8();

    TPointXYZfRGBu8(
        float x,
        float y,
        float z,
        uint8_t R_val,
        uint8_t G_val,
        uint8_t B_val
        );
};