MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / onDataCleared

Method onDataCleared

pj_plotting/core/src/DatastoreCurveAdapter.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void DatastoreCurveAdapter::onDataCleared() {
153 sample_index_.clear();
154 sample_index_dirty_ = true;
155 full_bounding_rect_valid_ = false;
156 cached_full_bounding_rect_ = invalidRect();
157 cached_display_offset_valid_ = false;
158}
159
160void DatastoreCurveAdapter::onDisplayOffsetChanged() {
161 // Samples didn't move — only their display->raw mapping. Clear the offset

Callers

nothing calls this directly

Calls 2

invalidRectFunction · 0.70
clearMethod · 0.45

Tested by

no test coverage detected