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

Method OnLeftButtonDoubleClick

Views/Context2D/vtkContextInteractorStyle.cxx:250–265  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

248
249//------------------------------------------------------------------------------
250void vtkContextInteractorStyle::OnLeftButtonDoubleClick()
251{
252 this->BeginProcessingEvent();
253 bool eatEvent = false;
254 if (this->Scene)
255 {
256 vtkContextMouseEvent event;
257 this->ConstructMouseEvent(event, vtkContextMouseEvent::LEFT_BUTTON);
258 eatEvent = this->Scene->DoubleClickEvent(event);
259 }
260 if (!eatEvent)
261 {
262 this->Superclass::OnLeftButtonDoubleClick();
263 }
264 this->EndProcessingEvent();
265}
266
267//------------------------------------------------------------------------------
268void vtkContextInteractorStyle::OnMiddleButtonDown()

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