Interface X3DPickSensorNode
- All Superinterfaces:
- X3DChildNode,- X3DNode,- X3DSensorNode
- All Known Subinterfaces:
- LinePickSensor,- PointPickSensor,- PrimitivePickSensor,- VolumePickSensor
- All Known Implementing Classes:
- LinePickSensor,- PointPickSensor,- PrimitivePickSensor,- VolumePickSensor
The X3DPickSensorNode abstract node type is the base node type that represents the lowest common denominator of picking capabilities.
 
 
 
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPickTarget(X3DNode[] newValue) Add array of child pickTarget nodes to array of existing nodes (if any).Provide String value from inputOutput SFString field named description.booleanProvide boolean value from inputOutput SFBool field named enabled.Provide String enumeration value (baseType xs:NMTOKEN) ["BOUNDS" | "GEOMETRY" | 'etc.'] from initializeOnly SFString field named intersectionType.booleanProvide boolean value from outputOnly SFBool field named isActive.Provide String enumeration value (baseType xs:NMTOKEN) ["MATCH_ANY" | "MATCH_EVERY" | "MATCH_ONLY_ONE"] from inputOutput SFString field named matchCriterion.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.String[]Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.X3DNode[]Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from outputOnly MFNode field pickedGeometry.Provide org.web3d.x3d.sai.Rendering.X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field pickingGeometry.X3DNode[]Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) with acceptable node types limited to X3DGroupingNode|X3DShapeNode|Inline, from inputOutput MFNode field pickTarget.Provide String enumeration value (baseType xs:NMTOKEN) ["ANY" | "CLOSEST" | "ALL" | "ALL_SORTED" | 'etc.'] from initializeOnly SFString field named sortOrder.setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setEnabled(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named enabled.setIntersectionType(String newValue) Accessor method to assign String enumeration value ("BOUNDS" | "GEOMETRY") to initializeOnly SFString field named intersectionType.setMatchCriterion(String newValue) Accessor method to assign String enumeration value ("MATCH_ANY" | "MATCH_EVERY" | "MATCH_ONLY_ONE") to inputOutput SFString field named matchCriterion.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setObjectType(String[] newValue) Accessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.setPickingGeometry(X3DGeometryNode newValue) Accessor method to assign org.web3d.x3d.sai.Rendering.X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field pickingGeometry.voidsetPickTarget(X3DNode newValue) Set single child pickTarget node, replacing prior array of existing nodes (if any).setPickTarget(X3DNode[] newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field pickTarget.setSortOrder(String newValue) Accessor method to assign String enumeration value ("ANY" | "CLOSEST" | "ALL" | "ALL_SORTED") to initializeOnly SFString field named sortOrder.
- 
Method Details- 
getDescriptionString getDescription()Provide String value from inputOutput SFString field named description.- Specified by:
- getDescriptionin interface- X3DSensorNode
- Returns:
- value of description field
 
- 
setDescriptionAccessor method to assign String value to inputOutput SFString field named description.- Specified by:
- setDescriptionin interface- X3DSensorNode
- Parameters:
- newValue- is new value for the description field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getEnabledboolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.- Specified by:
- getEnabledin interface- X3DSensorNode
- Returns:
- value of enabled field
 
- 
setEnabledAccessor method to assign boolean value to inputOutput SFBool field named enabled.- Specified by:
- setEnabledin interface- X3DSensorNode
- Parameters:
- newValue- is new value for the enabled field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getIntersectionTypeString getIntersectionType()Provide String enumeration value (baseType xs:NMTOKEN) ["BOUNDS" | "GEOMETRY" | 'etc.'] from initializeOnly SFString field named intersectionType.- Returns:
- value of intersectionType field
 
- 
setIntersectionTypeAccessor method to assign String enumeration value ("BOUNDS" | "GEOMETRY") to initializeOnly SFString field named intersectionType.- Parameters:
- newValue- is new value for the intersectionType field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getIsActiveboolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.- Specified by:
- getIsActivein interface- X3DSensorNode
- Returns:
- value of isActive field
 
- 
getMatchCriterionString getMatchCriterion()Provide String enumeration value (baseType xs:NMTOKEN) ["MATCH_ANY" | "MATCH_EVERY" | "MATCH_ONLY_ONE"] from inputOutput SFString field named matchCriterion.- Returns:
- value of matchCriterion field
 
- 
setMatchCriterionAccessor method to assign String enumeration value ("MATCH_ANY" | "MATCH_EVERY" | "MATCH_ONLY_ONE") to inputOutput SFString field named matchCriterion.- Parameters:
- newValue- is new value for the matchCriterion field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getMetadataX3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
- getMetadatain interface- X3DChildNode
- Specified by:
- getMetadatain interface- X3DNode
- Specified by:
- getMetadatain interface- X3DSensorNode
- Returns:
- value of metadata field
- See Also:
 
- 
setMetadataAccessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
- setMetadatain interface- X3DChildNode
- Specified by:
- setMetadatain interface- X3DNode
- Specified by:
- setMetadatain interface- X3DSensorNode
- Parameters:
- newValue- is new value for the metadata field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
- See Also:
 
- 
getObjectTypeString[] getObjectType()Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.- Returns:
- value of objectType field
 
- 
setObjectTypeAccessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.- Parameters:
- newValue- is new value for the objectType field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getPickedGeometryX3DNode[] getPickedGeometry()Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from outputOnly MFNode field pickedGeometry.
 Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DChildNode.- Returns:
- value of pickedGeometry field
- See Also:
 
- 
getPickingGeometryX3DGeometryNode getPickingGeometry()Provide org.web3d.x3d.sai.Rendering.X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field pickingGeometry.- Returns:
- value of pickingGeometry field
 
- 
setPickingGeometryAccessor method to assign org.web3d.x3d.sai.Rendering.X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field pickingGeometry.- Parameters:
- newValue- is new value for the pickingGeometry field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
getPickTargetX3DNode[] getPickTarget()Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) with acceptable node types limited to X3DGroupingNode|X3DShapeNode|Inline, from inputOutput MFNode field pickTarget.
 Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DGroupingNode|X3DShapeNode|Inline.- Returns:
- value of pickTarget field
- See Also:
 
- 
setPickTargetAccessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field pickTarget.
 Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DGroupingNode|X3DShapeNode|Inline.- Parameters:
- newValue- is new value for the pickTarget field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
- 
addPickTargetAdd array of child pickTarget nodes to array of existing nodes (if any).
 Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DGroupingNode|X3DShapeNode|Inline.- Parameters:
- newValue- is new value array to be appended the pickTarget field.
 
- 
setPickTargetSet single child pickTarget node, replacing prior array of existing nodes (if any).- Parameters:
- newValue- is new node for the pickTarget field
 
- 
getSortOrderString getSortOrder()Provide String enumeration value (baseType xs:NMTOKEN) ["ANY" | "CLOSEST" | "ALL" | "ALL_SORTED" | 'etc.'] from initializeOnly SFString field named sortOrder.- Returns:
- value of sortOrder field
 
- 
setSortOrderAccessor method to assign String enumeration value ("ANY" | "CLOSEST" | "ALL" | "ALL_SORTED") to initializeOnly SFString field named sortOrder.- Parameters:
- newValue- is new value for the sortOrder field.
- Returns:
- X3DPickSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
 
 
-