All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.generic.geometry.GeometrySensor
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.generic.geometry.ChildrenNode
|
+----vlc.vrml.generic.geometry.Sensor
|
+----vlc.vrml.generic.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
-
_offset
- Internal storage of the currently set offset
-
GeometrySensor()
- Empty constructor to prevent people creating instances of this class
-
clone()
- Make a clone of this object
-
get_autoOffset()
- Get the current value of the autoOffset node
-
get_offset()
- Get the current offset of the sensor
-
set_autoOffset(boolean)
- Set the autoOffset condition
-
set_offset(float[])
- Set the offset of the sensor
_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
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.
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class Sensor
All Packages Class Hierarchy This Package Previous Next Index