Class SAIGeoTouchSensor
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geospatial.SAIGeoTouchSensor
- All Implemented Interfaces:
GeoTouchSensor,X3DChildNode,X3DNode,X3DPointingDeviceSensorNode,X3DSensorNode,X3DTouchSensorNode
A concrete implementation of the GeoTouchSensor 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
ConstructorsConstructorDescriptionSAIGeoTouchSensor(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the description String value.booleanReturn the enabled boolean value.Return the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]voidgetHitGeoCoord(double[] val) Return the hitGeoCoord_changed value in the argument double[]voidgetHitNormal(float[] val) Return the hitNormal_changed value in the argument float[]voidgetHitPoint(float[] val) Return the hitPoint_changed value in the argument float[]voidgetHitTexCoord(float[] val) Return the hitTexCoord_changed value in the argument float[]booleanReturn the isActive boolean value.booleanReturn the isOver boolean value.intReturn the number of MFString items in the geoSystem field.doubleReturn the touchTime double value.voidsetDescription(String val) Set the description field.voidsetEnabled(boolean val) Set the enabled field.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoTouchSensor
public SAIGeoTouchSensor(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:
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.
-
getHitNormal
public void getHitNormal(float[] val) Return the hitNormal_changed value in the argument float[]- Specified by:
getHitNormalin interfaceGeoTouchSensor- Parameters:
val- The float[] to initialize.
-
getHitPoint
public void getHitPoint(float[] val) Return the hitPoint_changed value in the argument float[]- Specified by:
getHitPointin interfaceGeoTouchSensor- Parameters:
val- The float[] to initialize.
-
getHitTexCoord
public void getHitTexCoord(float[] val) Return the hitTexCoord_changed value in the argument float[]- Specified by:
getHitTexCoordin interfaceGeoTouchSensor- Parameters:
val- The float[] to initialize.
-
getHitGeoCoord
public void getHitGeoCoord(double[] val) Return the hitGeoCoord_changed value in the argument double[]- Specified by:
getHitGeoCoordin interfaceGeoTouchSensor- Parameters:
val- The double[] to initialize.
-
getIsOver
public boolean getIsOver()Return the isOver boolean value.- Specified by:
getIsOverin interfaceX3DPointingDeviceSensorNode- Returns:
- The isOver boolean value.
-
getTouchTime
public double getTouchTime()Return the touchTime double value.- Specified by:
getTouchTimein interfaceX3DTouchSensorNode- Returns:
- The touchTime double value.
-
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.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoTouchSensor- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoTouchSensor- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoTouchSensor- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoTouchSensor- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoTouchSensor- Parameters:
val- The String[] to set.
-