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

Method OnLeftButtonDown

Views/Context2D/vtkContextInteractorStyle.cxx:212–228  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

210
211//------------------------------------------------------------------------------
212void vtkContextInteractorStyle::OnLeftButtonDown()
213{
214 this->BeginProcessingEvent();
215
216 bool eatEvent = false;
217 if (this->Scene)
218 {
219 vtkContextMouseEvent event;
220 this->ConstructMouseEvent(event, vtkContextMouseEvent::LEFT_BUTTON);
221 eatEvent = this->ProcessMousePress(event);
222 }
223 if (!eatEvent)
224 {
225 this->Superclass::OnLeftButtonDown();
226 }
227 this->EndProcessingEvent();
228}
229
230//------------------------------------------------------------------------------
231void vtkContextInteractorStyle::OnLeftButtonUp()

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