struct mrpt::opengl::COctoMapVoxels::TVoxel

Overview

The info of each of the voxels.

#include <mrpt/opengl/COctoMapVoxels.h>

struct TVoxel
{
    // fields

    mrpt::math::TPoint3Df coords;
    double side_length;
    mrpt::img::TColor color;

    // construction

    TVoxel();

    TVoxel(
        const mrpt::math::TPoint3Df& coords_,
        const double side_length_,
        mrpt::img::TColor color_
        );
};