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

Method OnRightButtonDown

Views/Context2D/vtkContextInteractorStyle.cxx:324–340  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

322
323//------------------------------------------------------------------------------
324void vtkContextInteractorStyle::OnRightButtonDown()
325{
326 this->BeginProcessingEvent();
327
328 bool eatEvent = false;
329 if (this->Scene)
330 {
331 vtkContextMouseEvent event;
332 this->ConstructMouseEvent(event, vtkContextMouseEvent::RIGHT_BUTTON);
333 eatEvent = this->ProcessMousePress(event);
334 }
335 if (!eatEvent)
336 {
337 this->Superclass::OnRightButtonDown();
338 }
339 this->EndProcessingEvent();
340}
341
342//------------------------------------------------------------------------------
343void vtkContextInteractorStyle::OnRightButtonUp()

Callers

nothing calls this directly

Calls 4

BeginProcessingEventMethod · 0.95
ConstructMouseEventMethod · 0.95
ProcessMousePressMethod · 0.95
EndProcessingEventMethod · 0.95

Tested by

no test coverage detected