Class SAIPointPickSensor
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.picking.SAIPointPickSensor
- All Implemented Interfaces:
PointPickSensor,X3DChildNode,X3DNode,X3DPickingNode,X3DSensorNode
A concrete implementation of the PointPickSensor node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPointPickSensor(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the enabled boolean value.Return the intersectionType String value.booleanReturn the isActive boolean value.intReturn the number of MFString items in the objectType field.intReturn the number of MFNode items in the pickedGeometry field.intReturn the number of MFVec3f items in the pickedPoint field.intReturn the number of MFNode items in the pickTarget field.voidgetObjectType(String[] val) Return the objectType value in the argument String[]voidgetPickedGeometry(X3DNode[] val) Return the pickedGeometry value in the argument X3DNode[]voidgetPickedPoint(float[] val) Return the pickedPoint value in the argument float[]Return the pickingGeometry X3DNode value.voidgetPickTarget(X3DNode[] val) Return the pickTarget value in the argument X3DNode[]Return the sortOrder String value.voidsetEnabled(boolean val) Set the enabled field.voidSet the intersectionType field.voidsetObjectType(String[] val) Set the objectType field.voidSet the pickingGeometry field.voidsetPickTarget(X3DNode[] val) Set the pickTarget field.voidsetSortOrder(String val) Set the sortOrder 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
-
SAIPointPickSensor
public SAIPointPickSensor(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.
-
getPickingGeometry
Return the pickingGeometry X3DNode value.- Specified by:
getPickingGeometryin interfaceX3DPickingNode- Returns:
- The pickingGeometry X3DNode value.
-
setPickingGeometry
Set the pickingGeometry field.- Specified by:
setPickingGeometryin interfaceX3DPickingNode- Parameters:
val- The X3DNode to set.
-
getNumPickTarget
public int getNumPickTarget()Return the number of MFNode items in the pickTarget field.- Specified by:
getNumPickTargetin interfaceX3DPickingNode- Returns:
- the number of MFNode items in the pickTarget field.
-
getPickTarget
Return the pickTarget value in the argument X3DNode[]- Specified by:
getPickTargetin interfaceX3DPickingNode- Parameters:
val- The X3DNode[] to initialize.
-
setPickTarget
Set the pickTarget field.- Specified by:
setPickTargetin interfaceX3DPickingNode- Parameters:
val- The X3DNode[] to set.
-
getIntersectionType
Return the intersectionType String value.- Specified by:
getIntersectionTypein interfaceX3DPickingNode- Returns:
- The intersectionType String value.
-
setIntersectionType
Set the intersectionType field.- Specified by:
setIntersectionTypein interfaceX3DPickingNode- Parameters:
val- The String to set.
-
getNumPickedGeometry
public int getNumPickedGeometry()Return the number of MFNode items in the pickedGeometry field.- Specified by:
getNumPickedGeometryin interfaceX3DPickingNode- Returns:
- the number of MFNode items in the pickedGeometry field.
-
getPickedGeometry
Return the pickedGeometry value in the argument X3DNode[]- Specified by:
getPickedGeometryin interfaceX3DPickingNode- Parameters:
val- The X3DNode[] to initialize.
-
getSortOrder
Return the sortOrder String value.- Specified by:
getSortOrderin interfaceX3DPickingNode- Returns:
- The sortOrder String value.
-
setSortOrder
Set the sortOrder field.- Specified by:
setSortOrderin interfaceX3DPickingNode- Parameters:
val- The String to set.
-
getNumObjectType
public int getNumObjectType()Return the number of MFString items in the objectType field.- Specified by:
getNumObjectTypein interfaceX3DPickingNode- Returns:
- the number of MFString items in the objectType field.
-
getObjectType
Return the objectType value in the argument String[]- Specified by:
getObjectTypein interfaceX3DPickingNode- Parameters:
val- The String[] to initialize.
-
setObjectType
Set the objectType field.- Specified by:
setObjectTypein interfaceX3DPickingNode- Parameters:
val- The String[] to set.
-
getNumPickedPoint
public int getNumPickedPoint()Return the number of MFVec3f items in the pickedPoint field.- Specified by:
getNumPickedPointin interfacePointPickSensor- Returns:
- the number of MFVec3f items in the pickedPoint field.
-
getPickedPoint
public void getPickedPoint(float[] val) Return the pickedPoint value in the argument float[]- Specified by:
getPickedPointin interfacePointPickSensor- Parameters:
val- The float[] to initialize.
-