Class SAICylinderSensor
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.pointingdevicesensor.SAICylinderSensor
- All Implemented Interfaces:
CylinderSensor
,X3DChildNode
,X3DDragSensorNode
,X3DNode
,X3DPointingDeviceSensorNode
,X3DSensorNode
A concrete implementation of the CylinderSensor node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAICylinderSensor
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the autoOffset boolean value.Return the description String value.float
Return the diskAngle float value.boolean
Return the enabled boolean value.boolean
Return the isActive boolean value.boolean
Return the isOver boolean value.float
Return the maxAngle float value.float
Return the minAngle float value.float
Return the offset float value.void
getRotation
(float[] val) Return the rotation_changed value in the argument float[]void
getTrackPoint
(float[] val) Return the trackPoint_changed value in the argument float[]void
setAutoOffset
(boolean val) Set the autoOffset field.void
setDescription
(String val) Set the description field.void
setDiskAngle
(float val) Set the diskAngle field.void
setEnabled
(boolean val) Set the enabled field.void
setMaxAngle
(float val) Set the maxAngle field.void
setMinAngle
(float val) Set the minAngle field.void
setOffset
(float val) Set the offset field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAICylinderSensor
public SAICylinderSensor(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabled
in interfaceX3DSensorNode
- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabled
in interfaceX3DSensorNode
- Parameters:
val
- The boolean to set.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActive
in interfaceX3DSensorNode
- Returns:
- The isActive boolean value.
-
getAutoOffset
public boolean getAutoOffset()Return the autoOffset boolean value.- Specified by:
getAutoOffset
in interfaceX3DDragSensorNode
- Returns:
- The autoOffset boolean value.
-
setAutoOffset
public void setAutoOffset(boolean val) Set the autoOffset field.- Specified by:
setAutoOffset
in interfaceX3DDragSensorNode
- Parameters:
val
- The boolean to set.
-
getTrackPoint
public void getTrackPoint(float[] val) Return the trackPoint_changed value in the argument float[]- Specified by:
getTrackPoint
in interfaceX3DDragSensorNode
- Parameters:
val
- The float[] to initialize.
-
getDescription
Return the description String value.- Specified by:
getDescription
in interfaceX3DPointingDeviceSensorNode
- Returns:
- The description String value.
-
setDescription
Set the description field.- Specified by:
setDescription
in interfaceX3DPointingDeviceSensorNode
- Parameters:
val
- The String to set.
-
getIsOver
public boolean getIsOver()Return the isOver boolean value.- Specified by:
getIsOver
in interfaceX3DPointingDeviceSensorNode
- Returns:
- The isOver boolean value.
-
getMaxAngle
public float getMaxAngle()Return the maxAngle float value.- Specified by:
getMaxAngle
in interfaceCylinderSensor
- Returns:
- The maxAngle float value.
-
setMaxAngle
public void setMaxAngle(float val) Set the maxAngle field.- Specified by:
setMaxAngle
in interfaceCylinderSensor
- Parameters:
val
- The float to set.
-
getMinAngle
public float getMinAngle()Return the minAngle float value.- Specified by:
getMinAngle
in interfaceCylinderSensor
- Returns:
- The minAngle float value.
-
setMinAngle
public void setMinAngle(float val) Set the minAngle field.- Specified by:
setMinAngle
in interfaceCylinderSensor
- Parameters:
val
- The float to set.
-
getDiskAngle
public float getDiskAngle()Return the diskAngle float value.- Specified by:
getDiskAngle
in interfaceCylinderSensor
- Returns:
- The diskAngle float value.
-
setDiskAngle
public void setDiskAngle(float val) Set the diskAngle field.- Specified by:
setDiskAngle
in interfaceCylinderSensor
- Parameters:
val
- The float to set.
-
getRotation
public void getRotation(float[] val) Return the rotation_changed value in the argument float[]- Specified by:
getRotation
in interfaceCylinderSensor
- Parameters:
val
- The float[] to initialize.
-
getOffset
public float getOffset()Return the offset float value.- Specified by:
getOffset
in interfaceCylinderSensor
- Returns:
- The offset float value.
-
setOffset
public void setOffset(float val) Set the offset field.- Specified by:
setOffset
in interfaceCylinderSensor
- Parameters:
val
- The float to set.
-