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

Method OnMiddleButtonUp

Interaction/Widgets/vtkSplineWidget.cxx:697–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695}
696
697void vtkSplineWidget::OnMiddleButtonUp()
698{
699 if (this->State == vtkSplineWidget::Outside || this->State == vtkSplineWidget::Start)
700 {
701 return;
702 }
703
704 this->State = vtkSplineWidget::Start;
705 this->HighlightLine(0);
706
707 this->SizeHandles();
708
709 this->EventCallbackCommand->SetAbortFlag(1);
710 this->EndInteraction();
711 this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr);
712 this->Interactor->Render();
713}
714
715void vtkSplineWidget::OnRightButtonDown()
716{

Callers 1

ProcessEventsHandlerMethod · 0.95

Calls 5

HighlightLineMethod · 0.95
SizeHandlesMethod · 0.95
InvokeEventMethod · 0.80
RenderMethod · 0.65
EndInteractionMethod · 0.45

Tested by

no test coverage detected