All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.GeometrySensor
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.ChildrenNode
|
+----vlc.vrml.external.geometry.Sensor
|
+----vlc.vrml.external.geometry.GeometrySensor
- public abstract class GeometrySensor
- extends Sensor
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
For definition of the Anchor node please see the
VRML 97 Anchor specification
Geometry sensor abstract class for the plane, sphere and cylinder sensors
- Author:
- Justin Couch justin@vlc.com.au
-
_autoOffset
- Internal storage of the autoOffset condition
-
_get_rotation_changed
- Reference to the get_rotation_changed eventOut.
-
_get_trackPoint_changed
- Reference to the trackPoint_changed eventOut.
-
_offset
- Internal storage of the currently set offset
-
_set_autoOffset
- Reference to the set_autoOffset eventIn.
-
_set_offset
- Reference to the set_offset eventIn.
-
GeometrySensor()
- Empty constructor to prevent people creating instances of this class
-
GeometrySensor(Browser)
- Constructor to pass the browser reference down to the base class
-
get_autoOffset()
- Get the current value of the autoOffset node
-
get_offset()
- Get the current offset of the sensor
-
get_rotation_changed()
- Get the value of the rotation_changed eventOut
-
get_trackPoint_changed()
- Get the value of the trackPoint_changed eventOut
-
set_autoOffset(boolean)
- Set the autoOffset condition
-
set_offset(float[])
- Set the offset of the sensor
_set_offset
protected EventInSFRotation _set_offset
- Reference to the set_offset eventIn. This should be supplied by the
derived class after creating its node instance.
_set_autoOffset
protected EventInSFBool _set_autoOffset
- Reference to the set_autoOffset eventIn. This should be supplied by the
derived class after creating its node instance.
_get_rotation_changed
protected EventOutSFRotation _get_rotation_changed
- Reference to the get_rotation_changed eventOut. This should be supplied
by the derived class after creating its node instance.
_get_trackPoint_changed
protected EventOutSFVec3f _get_trackPoint_changed
- Reference to the trackPoint_changed eventOut. This should be supplied by
the derived class after creating its node instance.
_offset
protected float _offset[]
- Internal storage of the currently set offset
_autoOffset
protected boolean _autoOffset
- Internal storage of the autoOffset condition
GeometrySensor
protected GeometrySensor()
- Empty constructor to prevent people creating instances of this class
GeometrySensor
protected GeometrySensor(Browser b)
- Constructor to pass the browser reference down to the base class
- Parameters:
- b - The browser reference to be passed on
set_offset
public void set_offset(float offset[])
- Set the offset of the sensor
- Parameters:
- offset - A vector of the offset where
offset[0] = x, offset[1] = y, offset[2] = z
get_offset
public float[] get_offset()
- Get the current offset of the sensor
- Returns:
- A vector of the offset where
offset[0] = x, offset[1] = y, offset[2] = z
set_autoOffset
public void set_autoOffset(boolean auto)
- Set the autoOffset condition
- Parameters:
- auto - True will enable autoOffset of the sensor
get_autoOffset
public boolean get_autoOffset()
- Get the current value of the autoOffset node
- Returns:
- The current setting.
get_rotation_changed
public float[] get_rotation_changed()
- Get the value of the rotation_changed eventOut
- Returns:
- The last value that appeared on the eventOut.
get_trackPoint_changed
public float[] get_trackPoint_changed()
- Get the value of the trackPoint_changed eventOut
- Returns:
- The last value that appeared on the eventOut
All Packages Class Hierarchy This Package Previous Next Index