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

Method OnLeftButtonUp

Interaction/Widgets/vtkPointWidget.cxx:326–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void vtkPointWidget::OnLeftButtonUp()
327{
328 if (this->State == vtkPointWidget::Outside || this->State == vtkPointWidget::Start)
329 {
330 return;
331 }
332
333 this->State = vtkPointWidget::Start;
334 this->Highlight(0);
335
336 this->EventCallbackCommand->SetAbortFlag(1);
337 this->EndInteraction();
338 this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr);
339 this->Interactor->Render();
340}
341
342void vtkPointWidget::OnMiddleButtonDown()
343{

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