Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.pointingdevicesensor
Interface CylinderSensor

All Superinterfaces:
X3DChildNode, X3DDragSensorNode, X3DNode, X3DPointingDeviceSensorNode, X3DSensorNode

public interface CylinderSensor
extends X3DDragSensorNode

Defines the requirements of an X3D CylinderSensor node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 float getDiskAngle()
          Return the diskAngle float value.
 float getMaxAngle()
          Return the maxAngle float value.
 float getMinAngle()
          Return the minAngle float value.
 float getOffset()
          Return the offset float value.
 void getRotation(float[] val)
          Return the rotation value in the argument float[]
 void setDiskAngle(float val)
          Set the diskAngle 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 interface org.web3d.x3d.sai.X3DDragSensorNode
getAutoOffset, getTrackPoint, setAutoOffset
 
Methods inherited from interface org.web3d.x3d.sai.X3DPointingDeviceSensorNode
getDescription, getIsOver, setDescription
 
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getIsActive
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium