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

Method Notify

Modules/PythonSegmentation/src/mitknnInteractiveTool.cpp:650–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void mitk::nnInteractiveTool::Notify(InteractionEvent* event, bool isHandled)
651{
652 // If the event is not yet handled, forward it to the currently enabled
653 // interactor, if any.
654 if (!isHandled)
655 {
656 for (auto& [interactionType, interactor] : m_Impl->Interactors)
657 {
658 if (interactor->IsEnabled())
659 {
660 interactor->HandleEvent(event);
661 return;
662 }
663 }
664 }
665
666 Superclass::Notify(event, isHandled);
667}
668
669void mitk::nnInteractiveTool::ConfirmCleanUp()
670{

Callers

nothing calls this directly

Calls 2

IsEnabledMethod · 0.45
HandleEventMethod · 0.45

Tested by

no test coverage detected