struct mrpt::viz::CVisualObject::ChangeCounter
Overview
Change counter read by renderers to detect dirty objects.
Assigning one object onto another replaces its whole state, so the target bumps its own counter rather than inheriting the source’s value, which could match what a renderer already saw and leave the change undetected.
#include <mrpt/viz/CVisualObject.h> struct ChangeCounter { // construction ChangeCounter(); ChangeCounter(const ChangeCounter& o); ChangeCounter(ChangeCounter&& o); // methods ChangeCounter& operator = (const ChangeCounter&); ChangeCounter& operator = (ChangeCounter&&); uint64_t get() const; void increment(); };