public interface X3DPickSensorNode extends X3DSensorNode
| Modifier and Type | Method and Description |
|---|---|
void |
addPickTarget(X3DNode[] newValue)
Add array of child pickTarget nodes to array of existing nodes (if any).
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
java.lang.String |
getIntersectionType()
Provide String enumeration value ['BOUNDS'|'GEOMETRY'|'etc.'] from initializeOnly SFString field named intersectionType.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
java.lang.String |
getMatchCriterion()
Provide String enumeration value ['MATCH_ANY'|'MATCH_EVERY'|'MATCH_ONLY_ONE'] from inputOutput SFString field named matchCriterion.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String[] |
getObjectType()
Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.
|
X3DNode[] |
getPickedGeometry()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from outputOnly MFNode field pickedGeometry.
|
X3DGeometryNode |
getPickingGeometry()
Provide X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field pickingGeometry.
|
X3DNode[] |
getPickTarget()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to X3DGroupingNode|X3DShapeNode|Inline, from inputOutput MFNode field pickTarget.
|
java.lang.String |
getSortOrder()
Provide String enumeration value ['ANY'|'CLOSEST'|'ALL'|'ALL_SORTED'|'etc.'] from initializeOnly SFString field named sortOrder.
|
X3DPickSensorNode |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
X3DPickSensorNode |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
X3DPickSensorNode |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
X3DPickSensorNode |
setIntersectionType(java.lang.String newValue)
Assign String enumeration value ("BOUNDS"|"GEOMETRY") ['BOUNDS'|'GEOMETRY'|'etc.'] to initializeOnly SFString field named intersectionType.
|
X3DPickSensorNode |
setMatchCriterion(java.lang.String newValue)
Assign String enumeration value ("MATCH_ANY"|"MATCH_EVERY"|"MATCH_ONLY_ONE") ['MATCH_ANY'|'MATCH_EVERY'|'MATCH_ONLY_ONE'] to inputOutput SFString field named matchCriterion.
|
X3DPickSensorNode |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
X3DPickSensorNode |
setObjectType(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE""|""TERRAIN"") with quoted value(s) ["ALL","NONE","TERRAIN",...] to inputOutput MFString field named objectType.
|
X3DPickSensorNode |
setPickingGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field pickingGeometry.
|
void |
setPickTarget(X3DNode newValue)
Set single child pickTarget node, replacing prior array of existing nodes (if any).
|
X3DPickSensorNode |
setPickTarget(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to X3DGroupingNode|X3DShapeNode|Inline, to inputOutput MFNode field pickTarget.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Grouping.X3DGroupingNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Shape.X3DShapeNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Networking.InlineObject);
if (!
|
X3DPickSensorNode |
setSortOrder(java.lang.String newValue)
Assign String enumeration value ("ANY"|"CLOSEST"|"ALL"|"ALL_SORTED") ['ANY'|'CLOSEST'|'ALL'|'ALL_SORTED'|'etc.'] to initializeOnly SFString field named sortOrder.
|
X3DPickSensorNode |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getEnabled()
getEnabled in interface X3DSensorNodeX3DPickSensorNode setEnabled(boolean newValue)
setEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getIntersectionType()
X3DPickSensorNode setIntersectionType(java.lang.String newValue)
newValue - is new value for the intersectionType field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
getIsActive in interface X3DSensorNodejava.lang.String getMatchCriterion()
X3DPickSensorNode setMatchCriterion(java.lang.String newValue)
newValue - is new value for the matchCriterion field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodeX3DPickSensorNode setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getObjectType()
X3DPickSensorNode setObjectType(java.lang.String[] newValue)
newValue - is new value for the objectType field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getPickedGeometry()
X3DChildNodeX3DGeometryNode getPickingGeometry()
X3DPickSensorNode setPickingGeometry(X3DGeometryNode newValue)
newValue - is new value for the pickingGeometry field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getPickTarget()
X3DGroupingNode,
X3DShapeNode,
InlineObjectX3DPickSensorNode setPickTarget(X3DNode[] newValue)
newValue - is new value for the pickTarget field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addPickTarget(X3DNode[] newValue)
newValue - is new value array to be appended the pickTarget field.void setPickTarget(X3DNode newValue)
newValue - is new node for the pickTarget fieldjava.lang.String getSortOrder()
X3DPickSensorNode setSortOrder(java.lang.String newValue)
newValue - is new value for the sortOrder field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DPickSensorNode setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DPickSensorNode setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DPickSensorNode setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.X3DPickSensorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.