Package org.web3d.x3d.sai
Interface X3DPickingNode
- All Superinterfaces:
X3DChildNode
,X3DNode
,X3DSensorNode
- All Known Subinterfaces:
LinePickSensor
,PointPickSensor
,PrimitivePickSensor
,VolumePickSensor
- All Known Implementing Classes:
SAILinePickSensor
,SAILinePickSensor
,SAIPointPickSensor
,SAIPointPickSensor
,SAIPrimitivePickSensor
,SAIPrimitivePickSensor
,SAIVolumePickSensor
,SAIVolumePickSensor
Defines the requirements of an X3DPickingNode abstract node type
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionReturn the intersectionType String 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
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 interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getPickingGeometry
X3DNode getPickingGeometry()Return the pickingGeometry X3DNode value.- Returns:
- The pickingGeometry X3DNode value.
-
setPickingGeometry
Set the pickingGeometry field.- Parameters:
val
- The X3DNode to set.
-
getNumPickTarget
int getNumPickTarget()Return the number of MFNode items in the pickTarget field.- Returns:
- the number of MFNode items in the pickTarget field.
-
getPickTarget
Return the pickTarget value in the argument X3DNode[]- Parameters:
val
- The X3DNode[] to initialize.
-
setPickTarget
-
getIntersectionType
String getIntersectionType()Return the intersectionType String value.- Returns:
- The intersectionType String value.
-
setIntersectionType
Set the intersectionType field.- Parameters:
val
- The String to set.
-
getNumPickedGeometry
int getNumPickedGeometry()Return the number of MFNode items in the pickedGeometry field.- Returns:
- the number of MFNode items in the pickedGeometry field.
-
getPickedGeometry
Return the pickedGeometry value in the argument X3DNode[]- Parameters:
val
- The X3DNode[] to initialize.
-
getSortOrder
-
setSortOrder
-
getNumObjectType
int getNumObjectType()Return the number of MFString items in the objectType field.- Returns:
- the number of MFString items in the objectType field.
-
getObjectType
Return the objectType value in the argument String[]- Parameters:
val
- The String[] to initialize.
-
setObjectType
-