Package | Description |
---|---|
org.scijava.java3d |
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.
|
org.scijava.java3d.utils.behaviors.sensor |
Provides 6DOF sensor behavior classes.
|
org.scijava.java3d.utils.behaviors.vp |
Provides ViewPlatform navigation utility classes.
|
org.scijava.java3d.utils.universe |
Provides utility classes for setting up the Java 3D universe,
including the viewing configuration.
|
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,
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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(Object source,
int id,
Sensor sensor,
Transform3D sensorRead,
int[] buttonState,
int button,
long time,
long lastTime)
Sets the fields of an ephemeral event.
|
Constructor and Description |
---|
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(Object source,
int id,
Sensor sensor,
Transform3D sensorRead,
int[] buttonState,
int button,
long time,
long lastTime)
Creates a new
SensorEvent . |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WandViewBehavior.ListenerBase.endAction(Sensor s)
Ends the action.
|
protected void |
WandViewBehavior.RotationListener6D.endAction(Sensor s) |
protected void |
WandViewBehavior.ScaleListener6D.endAction(Sensor s) |
protected void |
WandViewBehavior.RotationListener2D.endAction(Sensor s) |
protected void |
WandViewBehavior.TranslationListener2D.endAction(Sensor s) |
protected void |
WandViewBehavior.ScaleListener2D.endAction(Sensor s) |
protected void |
WandViewBehavior.ListenerBase.initAction(Sensor s)
Initializes the listener action.
|
protected void |
WandViewBehavior.RotationListener6D.initAction(Sensor s) |
protected void |
WandViewBehavior.RotationListener2D.initAction(Sensor s) |
protected void |
WandViewBehavior.TranslationListener2D.initAction(Sensor s) |
protected void |
WandViewBehavior.ScaleListener2D.initAction(Sensor s) |
protected void |
WandViewBehavior.updateEcho(Sensor sensor,
Transform3D sensorToVworld)
Updates the echo position and orientation.
|
Constructor and Description |
---|
ResetViewListener(Sensor s,
int count)
Creates a sensor listener that resets the view when the specified
number of buttons are down simultaneously.
|
RotationListener2D(Sensor sensor2D,
Sensor sensor6D)
Construct an instance of this class with the specified sensors.
|
ScaleListener2D(Sensor sensor2D,
Sensor sensor6D)
Construct an instance of this class with the specified sensors.
|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
ViewInfo.getSensorToVworld(Canvas3D c3d,
Sensor sensor,
Transform3D s2vw)
Gets a read from the specified sensor and transforms it to virtual
world coordinates.
|
Copyright © 2016–2022 SciJava. All rights reserved.