|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sensor | |
---|---|
com.sun.j3d.utils.behaviors.sensor | Provides 6DOF sensor behavior classes. |
com.sun.j3d.utils.behaviors.vp | Provides ViewPlatform navigation utility classes. |
com.sun.j3d.utils.universe | Provides utility classes for setting up the Java 3D universe, including the viewing configuration. |
javax.media.j3d | Provides the core set of classes for the 3D graphics API for the Java platform; click here for more information, including explanatory material that was formerly found in the guide. |
Uses of Sensor in com.sun.j3d.utils.behaviors.sensor |
---|
Methods in com.sun.j3d.utils.behaviors.sensor that return Sensor | |
---|---|
Sensor |
SensorEvent.getSensor()
Gets a reference to the provoking sensor. |
Sensor |
Mouse6DPointerBehavior.getSensor()
Gets the sensor used by this behavior. |
Sensor[] |
SensorEventAgent.getSensors()
Returns an array of references to all sensors that have been bound to listeners. |
Methods in com.sun.j3d.utils.behaviors.sensor with parameters of type Sensor | |
---|---|
void |
SensorEventAgent.addSensorButtonListener(Sensor sensor,
int button,
SensorButtonListener buttonListener)
Creates a binding of the specified sensor button to the given SensorButtonListener implementation. |
void |
SensorEventAgent.addSensorButtonListener(Sensor sensor,
SensorButtonListener buttonListener)
Creates a binding from all the buttons on the specified sensor to the given SensorButtonListener implementation. |
void |
SensorEventAgent.addSensorButtonListeners(Sensor sensor,
SensorButtonListener[] buttonListeners)
Creates a binding of the specified sensor to the given array of SensorButtonListener implementations. |
void |
SensorEventAgent.addSensorReadListener(Sensor sensor,
SensorReadListener readListener)
Creates a binding of the specified sensor to the given SensorReadListener . |
SensorButtonListener[] |
SensorEventAgent.getSensorButtonListeners(Sensor sensor,
int button)
Gets the SensorButtonListener implementations bound to
the given sensor and button. |
SensorReadListener[] |
SensorEventAgent.getSensorReadListeners(Sensor sensor)
Gets the SensorReadListeners bound to the specified
sensor. |
void |
SensorEventAgent.removeSensorBinding(Sensor sensor)
Remove all sensor listeners bound to the given sensor. |
void |
SensorEventAgent.removeSensorButtonListener(Sensor sensor,
SensorButtonListener listener)
Remove the given SensorButtonListener binding from the
specified sensor. |
void |
SensorEventAgent.removeSensorReadListener(Sensor sensor,
SensorReadListener listener)
Remove the given SensorReadListener binding from the
specified sensor. |
void |
SensorEvent.set(java.lang.Object source,
int id,
Sensor sensor,
Transform3D sensorRead,
int[] buttonState,
int button,
long time,
long lastTime)
Sets the fields of an ephemeral event. |
Constructors in com.sun.j3d.utils.behaviors.sensor with parameters of type Sensor | |
---|---|
Mouse6DPointerBehavior(Sensor sensor,
double size,
boolean enableLighting)
Constructs the behavior with a default echo. |
|
Mouse6DPointerBehavior(Sensor sensor,
TransformGroup tg)
Constructs the behavior with an echo parented by the specified TransformGroup. |
|
SensorEvent(java.lang.Object source,
int id,
Sensor sensor,
Transform3D sensorRead,
int[] buttonState,
int button,
long time,
long lastTime)
Creates a new SensorEvent . |
Uses of Sensor in com.sun.j3d.utils.behaviors.vp |
---|
Methods in com.sun.j3d.utils.behaviors.vp that return Sensor | |
---|---|
Sensor |
WandViewBehavior.getSensor2D()
Returns a reference to the 2D valuator used for manipulating the view platform. |
Sensor |
WandViewBehavior.getSensor6D()
Returns a reference to the 6DOF sensor used for manipulating the view platform. |
Constructors in com.sun.j3d.utils.behaviors.vp with parameters of type Sensor | |
---|---|
WandViewBehavior.ResetViewListener(Sensor s,
int count)
Creates a sensor listener that resets the view when the specified number of buttons are down simultaneously. |
|
WandViewBehavior.RotationListener2D(Sensor sensor2D,
Sensor sensor6D)
Construct an instance of this class with the specified sensors. |
|
WandViewBehavior.ScaleListener2D(Sensor sensor2D,
Sensor sensor6D)
Construct an instance of this class with the specified sensors. |
|
WandViewBehavior.TranslationListener2D(Sensor sensor2D,
Sensor sensor6D)
Construct an instance of this class using the specified sensors. |
|
WandViewBehavior(Sensor sensor6D,
Sensor sensor2D,
int echoType,
double echoSize)
Creates a new instance with the specified sensors and echo parameters. |
|
WandViewBehavior(Sensor sensor6D,
Sensor sensor2D,
TransformGroup echo)
Creates a new instance with the specified sensors and a 6DOF sensor echo parented by the specified TransformGroup . |
|
WandViewBehavior(Sensor sensor6D,
Sensor sensor2D,
View view,
TransformGroup viewTransform,
Transform3D homeTransform,
TransformGroup echo)
Creates a new instance with the specified sensors and a 6DOF sensor echo parented by the specified TransformGroup . |
Uses of Sensor in com.sun.j3d.utils.universe |
---|
Methods in com.sun.j3d.utils.universe with parameters of type Sensor | |
---|---|
void |
ViewInfo.getSensorToVworld(Canvas3D c3d,
Sensor sensor,
Transform3D s2vw)
Gets a read from the specified sensor and transforms it to virtual world coordinates. |
Uses of Sensor in javax.media.j3d |
---|
Methods in javax.media.j3d that return Sensor | |
---|---|
Sensor |
PhysicalEnvironment.getSensor(int index)
Gets the sensor specified by the index; sensors are indexed starting at 0. |
Sensor |
InputDevice.getSensor(int sensorIndex)
Gets the specified Sensor associated with the device. |
Sensor |
WakeupOnSensorExit.getTriggeringSensor()
Retrieves the Sensor object that caused the wakeup. |
Sensor |
WakeupOnSensorEntry.getTriggeringSensor()
Retrieves the Sensor object that caused the wakeup. |
Methods in javax.media.j3d with parameters of type Sensor | |
---|---|
void |
View.getSensorHotspotInVworld(Sensor sensor,
Point3d position)
Retrieves the position of the specified Sensor's hotspot in virtual-world coordinates and copies that value into the position provided. |
void |
View.getSensorHotspotInVworld(Sensor sensor,
Point3f position)
Retrieves the position of the specified Sensor's hotspot in virtual-world coordinates and copies that value into the position provided. |
void |
View.getSensorToVworld(Sensor sensor,
Transform3D t)
Computes the sensor to virtual-world transform and copies that value into the transform provided. |
void |
PhysicalEnvironment.setSensor(int index,
Sensor sensor)
Set the sensor specified by the index to sensor provided; sensors are indexed starting at 0. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |