Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
View.getSensorHotspotInVworld(Sensor sensor,
org.jogamp.vecmath.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,
org.jogamp.vecmath.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.
|