------------------------------------------------------------------------------
| 644 | |
| 645 | //------------------------------------------------------------------------------ |
| 646 | void vtkLineWidget::OnLeftButtonUp() |
| 647 | { |
| 648 | if (this->State == vtkLineWidget::Outside || this->State == vtkLineWidget::Start) |
| 649 | { |
| 650 | return; |
| 651 | } |
| 652 | |
| 653 | this->State = vtkLineWidget::Start; |
| 654 | this->HighlightHandle(nullptr); |
| 655 | this->HighlightLine(0); |
| 656 | |
| 657 | this->SizeHandles(); |
| 658 | |
| 659 | int forward = this->ForwardEvent(vtkCommand::LeftButtonReleaseEvent); |
| 660 | this->DisablePointWidget(); |
| 661 | |
| 662 | this->EventCallbackCommand->SetAbortFlag(1); |
| 663 | this->EndInteraction(); |
| 664 | this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr); |
| 665 | if (!forward) |
| 666 | { |
| 667 | this->Interactor->Render(); |
| 668 | } |
| 669 | } |
| 670 | |
| 671 | //------------------------------------------------------------------------------ |
| 672 | void vtkLineWidget::OnMiddleButtonDown() |
no test coverage detected