struct mrpt::math::TPointXYZRGBu8ΒΆ

XYZ point (double) + RGB(u8)

See also:

mrpt::math::TPoint3D

#include <mrpt/math/TPoint3D.h>

struct TPointXYZRGBu8
{
    //
fields

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

    // construction

    TPointXYZRGBu8();

    TPointXYZRGBu8(
        double x,
        double y,
        double z,
        uint8_t R_val,
        uint8_t G_val,
        uint8_t B_val
        );
};