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

Method SetRenderWindowFocus

Modules/Core/src/Controllers/mitkRenderingManager.cpp:744–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742 }
743
744 void RenderingManager::SetRenderWindowFocus(vtkRenderWindow *focusWindow)
745 {
746 if (focusWindow != m_FocusedRenderWindow)
747 {
748 if (!focusWindow || (m_RenderWindowList.find(focusWindow) != m_RenderWindowList.cend()))
749 {
750 m_FocusedRenderWindow = focusWindow;
751 this->InvokeEvent(FocusChangedEvent());
752 return;
753 }
754
755 MITK_ERROR << "Tried to set a RenderWindow that does not exist.";
756 }
757 }
758
759 void RenderingManager::SetAntiAliasing(AntiAliasing antiAliasing)
760 {

Callers 2

OnMousePressedMethod · 0.80
ProcessEventMethod · 0.80

Calls 1

findMethod · 0.45

Tested by

no test coverage detected