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

Method Disable

Modules/Core/src/Rendering/mitkRenderWindowFrame.cpp:68–76  ·  view source on GitHub ↗

* Disables drawing of the text label collection. * If you want to enable it, call the Enable() function. */

Source from the content-addressed store, hash-verified

66 * If you want to enable it, call the Enable() function.
67 */
68void mitk::RenderWindowFrame::Disable()
69{
70 if (this->IsEnabled())
71 {
72 m_RectangleRenderer->EraseOn();
73 mitk::VtkLayerController::GetInstance(m_RenderWindow)->RemoveRenderer(m_RectangleRenderer);
74 m_IsEnabled = false;
75 }
76}
77
78/**
79 * Enables drawing of the text label collection.

Callers 2

~RenderWindowFrameMethod · 0.95

Calls 2

IsEnabledMethod · 0.95
RemoveRendererMethod · 0.80

Tested by 1