| 132 | } |
| 133 | |
| 134 | void mitk::nnInteractive::Interactor::Enable(PromptType promptType) |
| 135 | { |
| 136 | if (m_Impl->IsEnabled) |
| 137 | { |
| 138 | if (promptType == m_Impl->CurrentPromptType) |
| 139 | return; |
| 140 | |
| 141 | this->Disable(); |
| 142 | } |
| 143 | |
| 144 | m_Impl->BlockLMBDisplayInteraction(); |
| 145 | |
| 146 | m_Impl->CurrentPromptType = promptType; |
| 147 | |
| 148 | this->OnEnable(); |
| 149 | |
| 150 | m_Impl->IsEnabled = true; |
| 151 | } |
| 152 | |
| 153 | void mitk::nnInteractive::Interactor::Disable() |
| 154 | { |
no test coverage detected