Class SAIPlaneSensor
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.pointingdevicesensor.SAIPlaneSensor
- All Implemented Interfaces:
PlaneSensor,X3DChildNode,X3DDragSensorNode,X3DNode,X3DPointingDeviceSensorNode,X3DSensorNode
A concrete implementation of the PlaneSensor node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPlaneSensor(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the autoOffset boolean value.Return the description String value.booleanReturn the enabled boolean value.booleanReturn the isActive boolean value.booleanReturn the isOver boolean value.voidgetMaxPosition(float[] val) Return the maxPosition value in the argument float[]voidgetMinPosition(float[] val) Return the minPosition value in the argument float[]voidgetOffset(float[] val) Return the offset value in the argument float[]voidgetTrackPoint(float[] val) Return the trackPoint_changed value in the argument float[]voidgetTranslation(float[] val) Return the translation_changed value in the argument float[]voidsetAutoOffset(boolean val) Set the autoOffset field.voidsetDescription(String val) Set the description field.voidsetEnabled(boolean val) Set the enabled field.voidsetMaxPosition(float[] val) Set the maxPosition field.voidsetMinPosition(float[] val) Set the minPosition field.voidsetOffset(float[] val) Set the offset field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIPlaneSensor
public SAIPlaneSensor(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabledin interfaceX3DSensorNode- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabledin interfaceX3DSensorNode- Parameters:
val- The boolean to set.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActivein interfaceX3DSensorNode- Returns:
- The isActive boolean value.
-
getAutoOffset
public boolean getAutoOffset()Return the autoOffset boolean value.- Specified by:
getAutoOffsetin interfaceX3DDragSensorNode- Returns:
- The autoOffset boolean value.
-
setAutoOffset
public void setAutoOffset(boolean val) Set the autoOffset field.- Specified by:
setAutoOffsetin interfaceX3DDragSensorNode- Parameters:
val- The boolean to set.
-
getTrackPoint
public void getTrackPoint(float[] val) Return the trackPoint_changed value in the argument float[]- Specified by:
getTrackPointin interfaceX3DDragSensorNode- Parameters:
val- The float[] to initialize.
-
getDescription
Return the description String value.- Specified by:
getDescriptionin interfaceX3DPointingDeviceSensorNode- Returns:
- The description String value.
-
setDescription
Set the description field.- Specified by:
setDescriptionin interfaceX3DPointingDeviceSensorNode- Parameters:
val- The String to set.
-
getIsOver
public boolean getIsOver()Return the isOver boolean value.- Specified by:
getIsOverin interfaceX3DPointingDeviceSensorNode- Returns:
- The isOver boolean value.
-
getMaxPosition
public void getMaxPosition(float[] val) Return the maxPosition value in the argument float[]- Specified by:
getMaxPositionin interfacePlaneSensor- Parameters:
val- The float[] to initialize.
-
setMaxPosition
public void setMaxPosition(float[] val) Set the maxPosition field.- Specified by:
setMaxPositionin interfacePlaneSensor- Parameters:
val- The float[] to set.
-
getMinPosition
public void getMinPosition(float[] val) Return the minPosition value in the argument float[]- Specified by:
getMinPositionin interfacePlaneSensor- Parameters:
val- The float[] to initialize.
-
setMinPosition
public void setMinPosition(float[] val) Set the minPosition field.- Specified by:
setMinPositionin interfacePlaneSensor- Parameters:
val- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation_changed value in the argument float[]- Specified by:
getTranslationin interfacePlaneSensor- Parameters:
val- The float[] to initialize.
-
getOffset
public void getOffset(float[] val) Return the offset value in the argument float[]- Specified by:
getOffsetin interfacePlaneSensor- Parameters:
val- The float[] to initialize.
-
setOffset
public void setOffset(float[] val) Set the offset field.- Specified by:
setOffsetin interfacePlaneSensor- Parameters:
val- The float[] to set.
-