------------------------------------------------------------------------------
| 1010 | |
| 1011 | //------------------------------------------------------------------------------ |
| 1012 | void vtkImagePlaneWidget::StopWindowLevel() |
| 1013 | { |
| 1014 | if (this->State == vtkImagePlaneWidget::Outside || this->State == vtkImagePlaneWidget::Start) |
| 1015 | { |
| 1016 | return; |
| 1017 | } |
| 1018 | |
| 1019 | this->State = vtkImagePlaneWidget::Start; |
| 1020 | this->HighlightPlane(0); |
| 1021 | this->ActivateText(0); |
| 1022 | |
| 1023 | this->EventCallbackCommand->SetAbortFlag(1); |
| 1024 | this->EndInteraction(); |
| 1025 | |
| 1026 | double wl[2] = { this->CurrentWindow, this->CurrentLevel }; |
| 1027 | this->InvokeEvent(vtkCommand::EndWindowLevelEvent, wl); |
| 1028 | |
| 1029 | this->Interactor->Render(); |
| 1030 | } |
| 1031 | |
| 1032 | //------------------------------------------------------------------------------ |
| 1033 | void vtkImagePlaneWidget::OnMouseMove() |
no test coverage detected