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

Method mouseDragged

Wrapping/Java/vtk/vtkRenderWindowPanel.java:78–87  ·  view source on GitHub ↗
(MouseEvent e)

Source from the content-addressed store, hash-verified

76 }
77
78 public void mouseDragged(MouseEvent e) {
79 ctrlPressed = (e.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) == InputEvent.CTRL_DOWN_MASK ? 1 : 0;
80 shiftPressed = (e.getModifiersEx() & InputEvent.SHIFT_DOWN_MASK) == InputEvent.SHIFT_DOWN_MASK ? 1 : 0;
81
82 iren.SetEventInformationFlipY(e.getX(), e.getY(), ctrlPressed, shiftPressed, '0', 0, "0");
83
84 Lock();
85 iren.MouseMoveEvent();
86 UnLock();
87 }
88
89 public void mouseWheelMoved(MouseWheelEvent e) {
90 ctrlPressed = (e.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) == InputEvent.CTRL_DOWN_MASK ? 1 : 0;

Callers

nothing calls this directly

Calls 3

UnLockMethod · 0.80
LockMethod · 0.45
MouseMoveEventMethod · 0.45

Tested by

no test coverage detected