Skip to content

Commit

Permalink
ENH: Ensure UI visualization is updated when setPose is called
Browse files Browse the repository at this point in the history
  • Loading branch information
NicerNewerCar committed Aug 13, 2024
1 parent 8fe9748 commit b74fb20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoscoper/src/ui/AutoscoperMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ void AutoscoperMainWindow::setPose(std::vector<double> pose, unsigned int volume
tracker->trial()->getYCurve(volume)->insert(frame, pose[1]);
tracker->trial()->getZCurve(volume)->insert(frame, pose[2]);
tracker->trial()->getQuatCurve(volume)->insert(frame, Quatf(pose[3], pose[4], pose[5]));
frame_changed();
redrawGL();
}

void AutoscoperMainWindow::setBackground(double threshold)
Expand Down

0 comments on commit b74fb20

Please sign in to comment.