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

Method selectedTopicId

pj_app/src/ui/Scene3DConfigPanel.cpp:1103–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101}
1102
1103std::optional<ObjectTopicId> Scene3DConfigPanel::selectedTopicId() const {
1104 if (layer_list_ == nullptr) {
1105 return std::nullopt;
1106 }
1107 const auto id = layer_list_->currentId();
1108 if (!id.has_value()) {
1109 return std::nullopt;
1110 }
1111 return topicFromRowId(*id);
1112}
1113
1114std::vector<ObjectTopicId> Scene3DConfigPanel::topicOrderFromIds(const std::vector<qint64>& ids) const {
1115 std::vector<ObjectTopicId> ordered;

Callers

nothing calls this directly

Calls 2

topicFromRowIdFunction · 0.85
currentIdMethod · 0.80

Tested by

no test coverage detected