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

Method OnMiddleButtonUp

Interaction/Widgets/vtkPointWidget.cxx:376–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void vtkPointWidget::OnMiddleButtonUp()
377{
378 if (this->State == vtkPointWidget::Outside || this->State == vtkPointWidget::Start)
379 {
380 return;
381 }
382
383 this->State = vtkPointWidget::Start;
384 this->Highlight(0);
385
386 this->EventCallbackCommand->SetAbortFlag(1);
387 this->EndInteraction();
388 this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr);
389 this->Interactor->Render();
390}
391
392void vtkPointWidget::OnRightButtonDown()
393{

Callers 1

ProcessEventsMethod · 0.95

Calls 4

HighlightMethod · 0.95
InvokeEventMethod · 0.80
RenderMethod · 0.65
EndInteractionMethod · 0.45

Tested by

no test coverage detected