------------------------------------------------------------------------------
| 729 | |
| 730 | //------------------------------------------------------------------------------ |
| 731 | void vtkLineWidget::OnMiddleButtonUp() |
| 732 | { |
| 733 | if (this->State == vtkLineWidget::Outside || this->State == vtkLineWidget::Start) |
| 734 | { |
| 735 | return; |
| 736 | } |
| 737 | |
| 738 | this->State = vtkLineWidget::Start; |
| 739 | this->HighlightLine(0); |
| 740 | this->HighlightHandles(0); |
| 741 | |
| 742 | this->SizeHandles(); |
| 743 | |
| 744 | int forward = this->ForwardEvent(vtkCommand::LeftButtonReleaseEvent); |
| 745 | this->DisablePointWidget(); |
| 746 | |
| 747 | this->EventCallbackCommand->SetAbortFlag(1); |
| 748 | this->EndInteraction(); |
| 749 | this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr); |
| 750 | if (!forward) |
| 751 | { |
| 752 | this->Interactor->Render(); |
| 753 | } |
| 754 | } |
| 755 | |
| 756 | //------------------------------------------------------------------------------ |
| 757 | void vtkLineWidget::OnRightButtonDown() |
no test coverage detected