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

Method OnRightButtonDoubleClick

Views/Context2D/vtkContextInteractorStyle.cxx:362–377  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

360
361//------------------------------------------------------------------------------
362void vtkContextInteractorStyle::OnRightButtonDoubleClick()
363{
364 this->BeginProcessingEvent();
365 bool eatEvent = false;
366 if (this->Scene)
367 {
368 vtkContextMouseEvent event;
369 this->ConstructMouseEvent(event, vtkContextMouseEvent::RIGHT_BUTTON);
370 eatEvent = this->Scene->DoubleClickEvent(event);
371 }
372 if (!eatEvent)
373 {
374 this->Superclass::OnRightButtonDoubleClick();
375 }
376 this->EndProcessingEvent();
377}
378
379//------------------------------------------------------------------------------
380void vtkContextInteractorStyle::OnMouseWheelForward()

Callers 1

ProcessEventsMethod · 0.80

Calls 4

BeginProcessingEventMethod · 0.95
ConstructMouseEventMethod · 0.95
EndProcessingEventMethod · 0.95
DoubleClickEventMethod · 0.80

Tested by

no test coverage detected