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

Method AbortSession

Modules/PythonSegmentation/src/mitknnInteractiveTool.cpp:1445–1457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1443}
1444
1445void mitk::nnInteractiveTool::AbortSession()
1446{
1447 this->DisableInteractor();
1448
1449 // End the dead session first so ResetInteractions() below skips the remote
1450 // session.reset_interactions() call (guarded by IsSessionRunning()).
1451 this->EndSession();
1452
1453 this->ResetInteractions();
1454 this->ResetPreviewContent();
1455
1456 mitk::RenderingManager::GetInstance()->RequestUpdateAll();
1457}
1458
1459void mitk::nnInteractiveTool::OnTimePointChanged()
1460{

Callers 3

OnSessionExpiredMethod · 0.80

Calls 5

DisableInteractorMethod · 0.95
EndSessionMethod · 0.95
ResetInteractionsMethod · 0.95
ResetPreviewContentMethod · 0.80
RequestUpdateAllMethod · 0.45

Tested by

no test coverage detected