* Disables drawing of the text label collection. * If you want to enable it, call the Enable() function. */
| 66 | * If you want to enable it, call the Enable() function. |
| 67 | */ |
| 68 | void 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. |