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

Method OnRightButtonUp

Views/Context2D/vtkContextInteractorStyle.cxx:343–359  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

341
342//------------------------------------------------------------------------------
343void vtkContextInteractorStyle::OnRightButtonUp()
344{
345 this->BeginProcessingEvent();
346
347 bool eatEvent = false;
348 if (this->Scene)
349 {
350 vtkContextMouseEvent event;
351 this->ConstructMouseEvent(event, vtkContextMouseEvent::RIGHT_BUTTON);
352 eatEvent = this->Scene->ButtonReleaseEvent(event);
353 }
354 if (!eatEvent)
355 {
356 this->Superclass::OnRightButtonUp();
357 }
358 this->EndProcessingEvent();
359}
360
361//------------------------------------------------------------------------------
362void vtkContextInteractorStyle::OnRightButtonDoubleClick()

Callers

nothing calls this directly

Calls 4

BeginProcessingEventMethod · 0.95
ConstructMouseEventMethod · 0.95
EndProcessingEventMethod · 0.95
ButtonReleaseEventMethod · 0.80

Tested by

no test coverage detected