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

Method IsSessionRunning

Modules/PythonSegmentation/src/mitknnInteractiveTool.cpp:1497–1505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495}
1496
1497bool mitk::nnInteractiveTool::IsSessionRunning() const
1498{
1499 auto pythonContext = m_Impl->GetPythonContext();
1500
1501 if (pythonContext == nullptr)
1502 return false;
1503
1504 return pythonContext->HasVariable("session");
1505}
1506
1507void mitk::nnInteractiveTool::Impl::SetAutoZoom() const
1508{

Callers 15

ResetInteractionsMethod · 0.95
UndoLastInteractionMethod · 0.95
CanUndoMethod · 0.95
SetAutoZoomMethod · 0.95
StartSessionMethod · 0.95
EndSessionMethod · 0.95
HeartbeatMethod · 0.95
GetModelLicenseMethod · 0.95
SupportsUndoMethod · 0.95
OnTimePointChangedMethod · 0.95

Calls 2

HasVariableMethod · 0.80
GetPythonContextMethod · 0.45

Tested by

no test coverage detected