Interface CylinderSensor
- All Superinterfaces:
X3DChildNode,X3DDragSensorNode,X3DNode,X3DPointingDeviceSensorNode,X3DSensorNode
- All Known Implementing Classes:
SAICylinderSensor,SAICylinderSensor
Defines the requirements of an X3D CylinderSensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the diskAngle float value.floatReturn the maxAngle float value.floatReturn the minAngle float value.floatReturn the offset float value.voidgetRotation(float[] val) Return the rotation value in the argument float[]voidsetDiskAngle(float val) Set the diskAngle field.voidsetMaxAngle(float val) Set the maxAngle field.voidsetMinAngle(float val) Set the minAngle field.voidsetOffset(float val) Set the offset field.Methods inherited from interface org.web3d.x3d.sai.X3DDragSensorNode
getAutoOffset, getTrackPoint, setAutoOffsetMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DPointingDeviceSensorNode
getDescription, getIsOver, setDescriptionMethods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getMaxAngle
float getMaxAngle()Return the maxAngle float value.- Returns:
- The maxAngle float value.
-
setMaxAngle
void setMaxAngle(float val) Set the maxAngle field.- Parameters:
val- The float to set.
-
getMinAngle
float getMinAngle()Return the minAngle float value.- Returns:
- The minAngle float value.
-
setMinAngle
void setMinAngle(float val) Set the minAngle field.- Parameters:
val- The float to set.
-
getDiskAngle
float getDiskAngle()Return the diskAngle float value.- Returns:
- The diskAngle float value.
-
setDiskAngle
void setDiskAngle(float val) Set the diskAngle field.- Parameters:
val- The float to set.
-
getRotation
void getRotation(float[] val) Return the rotation value in the argument float[]- Parameters:
val- The float[] to initialize.
-
getOffset
float getOffset()Return the offset float value.- Returns:
- The offset float value.
-
setOffset
void setOffset(float val) Set the offset field.- Parameters:
val- The float to set.
-