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

Method setTracks

pj_widgets/src/Timeline.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82} // namespace
83
84void TimelineScene::setTracks(std::vector<TimelineSpanInput> tracks) {
85 tracks_ = std::move(tracks);
86}
87
88TimeSpan TimelineScene::displayWindow(const TimelineSpanInput& track) noexcept {
89 return {track.t_min_ns - track.offset_ns, track.t_max_ns - track.offset_ns};

Callers 9

applyDatasetFilterMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
makeScrollableTimelineFunction · 0.80
makeTallTimelineFunction · 0.80
mainFunction · 0.80
rebuildTracksMethod · 0.80
updateTrackOffsetsMethod · 0.80
applyAlignmentMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 4

TESTFunction · 0.64
TESTFunction · 0.64
makeScrollableTimelineFunction · 0.64
makeTallTimelineFunction · 0.64