public class MathCameraListener extends MathListener implements PvCameraListenerIf, java.lang.Runnable
The event does not contain pick information of the geometry,
see jvx.math.MathPickListener
.
PvCameraListenerIf
,
MathPickListener
Constructor and Description |
---|
MathCameraListener() |
Modifier and Type | Method and Description |
---|---|
void |
dragCamera(PvCameraEvent event)
Get camera position and viewing direction when a mouse drag event has occurred.
|
void |
pickCamera(PvCameraEvent event)
Get camera position and viewing direction when a mouse pressed event has occurred.
|
void |
run()
Asynchronously perform the event handling.
|
getHandler, getName, setHandler, setName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public void pickCamera(PvCameraEvent event)
pickCamera
in interface PvCameraListenerIf
event
- Pick event issued by the displayPvCameraListenerIf
public void dragCamera(PvCameraEvent event)
dragCamera
in interface PvCameraListenerIf
event
- Drag event issued by the displayPvCameraListenerIf
public void run()
run
in interface java.lang.Runnable
"