Package com.sun.j3d.utils.behaviors.vp
Class WandViewBehavior.EchoReadListener6D
java.lang.Object
com.sun.j3d.utils.behaviors.vp.WandViewBehavior.EchoReadListener6D
- All Implemented Interfaces:
SensorReadListener
- Enclosing class:
WandViewBehavior
Implements a 6DOF sensor read listener that updates the orientation and
position of the sensor's echo in the virtual world.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(SensorEvent e) This method is called each time thedispatchEvents
method ofSensorEventAgent
is called and none of a sensor's buttons have been handled by a button listener.
-
Constructor Details
-
EchoReadListener6D
public EchoReadListener6D()
-
-
Method Details
-
read
Description copied from interface:SensorReadListener
This method is called each time thedispatchEvents
method ofSensorEventAgent
is called and none of a sensor's buttons have been handled by a button listener. The sensor read value has not necessarily changed since the last read event.- Specified by:
read
in interfaceSensorReadListener
- Parameters:
e
- the sensor event
-