MCPcopy Create free account
hub / github.com/Kitware/VTK / OnLeftButtonUp

Method OnLeftButtonUp

Interaction/Widgets/vtkSphereWidget.cxx:463–482  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

461
462//------------------------------------------------------------------------------
463void vtkSphereWidget::OnLeftButtonUp()
464{
465 if (this->State == vtkSphereWidget::Outside)
466 {
467 return;
468 }
469
470 this->State = vtkSphereWidget::Start;
471 this->HighlightSphere(0);
472 this->HighlightHandle(0);
473 this->SizeHandles();
474
475 this->EventCallbackCommand->SetAbortFlag(1);
476 this->EndInteraction();
477 this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr);
478 if (this->Interactor)
479 {
480 this->Interactor->Render();
481 }
482}
483
484//------------------------------------------------------------------------------
485void vtkSphereWidget::OnRightButtonDown()

Callers 1

ProcessEventsMethod · 0.95

Calls 6

HighlightSphereMethod · 0.95
HighlightHandleMethod · 0.95
SizeHandlesMethod · 0.95
InvokeEventMethod · 0.80
RenderMethod · 0.65
EndInteractionMethod · 0.45

Tested by

no test coverage detected