struct mrpt::math::TPointXYZRGBAfΒΆ

XYZ point (float) + RGBA(float) [1-byte memory packed, no padding].

See also:

mrpt::math::TPoint3D

#include <mrpt/math/TPoint3D.h>

struct TPointXYZRGBAf
{
    //
fields

    mrpt::math::TPoint3Df pt;
    float R {0};
    float G {0};

    // construction

    TPointXYZRGBAf();

    TPointXYZRGBAf(
        float x,
        float y,
        float z,
        float R_val,
        float G_val,
        float B_val,
        float A_val
        );
};