struct mola::MolaVizImGuiCore::DecayingCloud

Overview

#include <MolaVizImGuiCore.h>

struct DecayingCloud
{
    // fields

    std::string viewport_name;
    std::shared_ptr<mrpt::viz::CPointCloudColoured> cloud;
    mrpt::viz::CSetOfObjects::Ptr container;
    float initial_alpha = 1.0f;
    int applied_alpha = -1;

    // construction

    DecayingCloud();

    DecayingCloud(
        std::string vp,
        const std::shared_ptr<mrpt::viz::CPointCloudColoured>& cloud_,
        float alpha_
        );
};

Fields

int applied_alpha = -1

Alpha last written into cloud, to skip rewriting (and re-uploading) an unchanged one. -1: none yet.