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

Method setFramePrefix

pj_scene3D/widgets/src/layers/robot_model_layer.cpp:851–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851void RobotModelLayer::setFramePrefix(QString prefix) {
852 if (frame_prefix_ == prefix) {
853 return;
854 }
855 frame_prefix_ = std::move(prefix);
856 draws_dirty_ = true; // changes which TF frames each link resolves against
857 rebuildStaticBridges(); // bridge frames carry the prefix too
858 emit sourceFrameChanged(sourceFrame());
859 emit fallbackFramesChanged(fallbackFrames());
860 emit repaintRequested();
861}
862
863void RobotModelLayer::rebuildStaticBridges() {
864 static_bridges_.clear();

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64