Class SAIVolumePickSensor
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.picking.SAIVolumePickSensor
- All Implemented Interfaces:
VolumePickSensor
,X3DChildNode
,X3DNode
,X3DPickingNode
,X3DSensorNode
A concrete implementation of the VolumePickSensor node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIVolumePickSensor
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the enabled boolean value.Return the intersectionType String value.boolean
Return the isActive boolean value.int
Return the number of MFString items in the objectType field.int
Return the number of MFNode items in the pickedGeometry field.int
Return the number of MFNode items in the pickTarget field.void
getObjectType
(String[] val) Return the objectType value in the argument String[]void
getPickedGeometry
(X3DNode[] val) Return the pickedGeometry value in the argument X3DNode[]Return the pickingGeometry X3DNode value.void
getPickTarget
(X3DNode[] val) Return the pickTarget value in the argument X3DNode[]Return the sortOrder String value.void
setEnabled
(boolean val) Set the enabled field.void
Set the intersectionType field.void
setObjectType
(String[] val) Set the objectType field.void
Set the pickingGeometry field.void
setPickTarget
(X3DNode[] val) Set the pickTarget field.void
setSortOrder
(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, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIVolumePickSensor
public SAIVolumePickSensor(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabled
in interfaceX3DSensorNode
- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabled
in interfaceX3DSensorNode
- Parameters:
val
- The boolean to set.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActive
in interfaceX3DSensorNode
- Returns:
- The isActive boolean value.
-
getPickingGeometry
Return the pickingGeometry X3DNode value.- Specified by:
getPickingGeometry
in interfaceX3DPickingNode
- Returns:
- The pickingGeometry X3DNode value.
-
setPickingGeometry
Set the pickingGeometry field.- Specified by:
setPickingGeometry
in interfaceX3DPickingNode
- Parameters:
val
- The X3DNode to set.
-
getNumPickTarget
public int getNumPickTarget()Return the number of MFNode items in the pickTarget field.- Specified by:
getNumPickTarget
in interfaceX3DPickingNode
- Returns:
- the number of MFNode items in the pickTarget field.
-
getPickTarget
Return the pickTarget value in the argument X3DNode[]- Specified by:
getPickTarget
in interfaceX3DPickingNode
- Parameters:
val
- The X3DNode[] to initialize.
-
setPickTarget
Set the pickTarget field.- Specified by:
setPickTarget
in interfaceX3DPickingNode
- Parameters:
val
- The X3DNode[] to set.
-
getIntersectionType
Return the intersectionType String value.- Specified by:
getIntersectionType
in interfaceX3DPickingNode
- Returns:
- The intersectionType String value.
-
setIntersectionType
Set the intersectionType field.- Specified by:
setIntersectionType
in interfaceX3DPickingNode
- Parameters:
val
- The String to set.
-
getNumPickedGeometry
public int getNumPickedGeometry()Return the number of MFNode items in the pickedGeometry field.- Specified by:
getNumPickedGeometry
in interfaceX3DPickingNode
- Returns:
- the number of MFNode items in the pickedGeometry field.
-
getPickedGeometry
Return the pickedGeometry value in the argument X3DNode[]- Specified by:
getPickedGeometry
in interfaceX3DPickingNode
- Parameters:
val
- The X3DNode[] to initialize.
-
getSortOrder
Return the sortOrder String value.- Specified by:
getSortOrder
in interfaceX3DPickingNode
- Returns:
- The sortOrder String value.
-
setSortOrder
Set the sortOrder field.- Specified by:
setSortOrder
in interfaceX3DPickingNode
- Parameters:
val
- The String to set.
-
getNumObjectType
public int getNumObjectType()Return the number of MFString items in the objectType field.- Specified by:
getNumObjectType
in interfaceX3DPickingNode
- Returns:
- the number of MFString items in the objectType field.
-
getObjectType
Return the objectType value in the argument String[]- Specified by:
getObjectType
in interfaceX3DPickingNode
- Parameters:
val
- The String[] to initialize.
-
setObjectType
Set the objectType field.- Specified by:
setObjectType
in interfaceX3DPickingNode
- Parameters:
val
- The String[] to set.
-