struct mrpt::math::TPointXYZfRGBAu8ΒΆ

XYZ point (float) + RGBA(u8)

See also:

mrpt::math::TPoint3D

#include <mrpt/math/TPoint3D.h>

struct TPointXYZfRGBAu8
{
    //
fields

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

    // construction

    TPointXYZfRGBAu8();

    TPointXYZfRGBAu8(
        float x,
        float y,
        float z,
        uint8_t R_val,
        uint8_t G_val,
        uint8_t B_val,
        uint8_t A_val = 0xff
        );
};