MCPcopy Create free account
hub / github.com/MITK/MITK / OnAutoRotationActionTriggered

Method OnAutoRotationActionTriggered

Modules/QtWidgets/src/QmitkRenderWindowMenu.cpp:356–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void QmitkRenderWindowMenu::OnAutoRotationActionTriggered()
357{
358 if (m_AutoRotationTimer->isActive())
359 {
360 m_AutoRotationTimer->stop();
361 m_Renderer->GetCameraRotationController()->GetStepper()->PingPongOff();
362 }
363 else
364 {
365 m_Renderer->GetCameraRotationController()->GetStepper()->PingPongOn();
366 m_AutoRotationTimer->start();
367 }
368}
369
370void QmitkRenderWindowMenu::OnTSNumChanged(int num)
371{

Callers

nothing calls this directly

Calls 4

GetStepperMethod · 0.80
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected