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

Method OnLeftButtonUp

Views/Context2D/vtkContextInteractorStyle.cxx:231–247  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

229
230//------------------------------------------------------------------------------
231void vtkContextInteractorStyle::OnLeftButtonUp()
232{
233 this->BeginProcessingEvent();
234
235 bool eatEvent = false;
236 if (this->Scene)
237 {
238 vtkContextMouseEvent event;
239 this->ConstructMouseEvent(event, vtkContextMouseEvent::LEFT_BUTTON);
240 eatEvent = this->Scene->ButtonReleaseEvent(event);
241 }
242 if (!eatEvent)
243 {
244 this->Superclass::OnLeftButtonUp();
245 }
246 this->EndProcessingEvent();
247}
248
249//------------------------------------------------------------------------------
250void vtkContextInteractorStyle::OnLeftButtonDoubleClick()

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