------------------------------------------------------------------------------
| 524 | |
| 525 | //------------------------------------------------------------------------------ |
| 526 | void vtkSphereWidget::OnRightButtonUp() |
| 527 | { |
| 528 | if (this->State == vtkSphereWidget::Outside) |
| 529 | { |
| 530 | return; |
| 531 | } |
| 532 | |
| 533 | this->State = vtkSphereWidget::Start; |
| 534 | this->HighlightSphere(0); |
| 535 | this->HighlightHandle(0); |
| 536 | this->SizeHandles(); |
| 537 | |
| 538 | this->EventCallbackCommand->SetAbortFlag(1); |
| 539 | this->EndInteraction(); |
| 540 | this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr); |
| 541 | if (this->Interactor) |
| 542 | { |
| 543 | this->Interactor->Render(); |
| 544 | } |
| 545 | } |
| 546 | |
| 547 | //------------------------------------------------------------------------------ |
| 548 | // Loop through all points and translate them |
no test coverage detected