public interface LinePickSensor extends X3DPickSensorNode
| 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.
|
float[] |
getPickedNormal()
Provide array of 3-tuple float results from outputOnly MFVec3f field named pickedNormal.
|
float[] |
getPickedPoint()
Provide array of 3-tuple float results from outputOnly MFVec3f field named pickedPoint.
|
float[] |
getPickedTextureCoordinate()
Provide array of 3-tuple float results from outputOnly MFVec3f field named pickedTextureCoordinate.
|
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.
|
LinePickSensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
LinePickSensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
LinePickSensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
LinePickSensor |
setIntersectionType(java.lang.String newValue)
Assign String enumeration value ("BOUNDS"|"GEOMETRY") ['BOUNDS'|'GEOMETRY'|'etc.'] to initializeOnly SFString field named intersectionType.
|
LinePickSensor |
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.
|
LinePickSensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
LinePickSensor |
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.
|
LinePickSensor |
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).
|
LinePickSensor |
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 (!
|
LinePickSensor |
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.
|
LinePickSensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getEnabled()
getEnabled in interface X3DPickSensorNodegetEnabled in interface X3DSensorNodeLinePickSensor setEnabled(boolean newValue)
setEnabled in interface X3DPickSensorNodesetEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getIntersectionType()
getIntersectionType in interface X3DPickSensorNodeLinePickSensor setIntersectionType(java.lang.String newValue)
setIntersectionType in interface X3DPickSensorNodenewValue - is new value for the intersectionType field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
getIsActive in interface X3DPickSensorNodegetIsActive in interface X3DSensorNodejava.lang.String getMatchCriterion()
getMatchCriterion in interface X3DPickSensorNodeLinePickSensor setMatchCriterion(java.lang.String newValue)
setMatchCriterion in interface X3DPickSensorNodenewValue - is new value for the matchCriterion field.LinePickSensor - 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 X3DPickSensorNodegetMetadata in interface X3DSensorNodeLinePickSensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DPickSensorNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getObjectType()
getObjectType in interface X3DPickSensorNodeLinePickSensor setObjectType(java.lang.String[] newValue)
setObjectType in interface X3DPickSensorNodenewValue - is new value for the objectType field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getPickedGeometry()
getPickedGeometry in interface X3DPickSensorNodeX3DChildNodefloat[] getPickedNormal()
float[] getPickedPoint()
float[] getPickedTextureCoordinate()
X3DGeometryNode getPickingGeometry()
getPickingGeometry in interface X3DPickSensorNodeLinePickSensor setPickingGeometry(X3DGeometryNode newValue)
setPickingGeometry in interface X3DPickSensorNodenewValue - is new value for the pickingGeometry field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getPickTarget()
getPickTarget in interface X3DPickSensorNodeX3DGroupingNode,
X3DShapeNode,
InlineObjectLinePickSensor setPickTarget(X3DNode[] newValue)
setPickTarget in interface X3DPickSensorNodenewValue - is new value for the pickTarget field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addPickTarget(X3DNode[] newValue)
addPickTarget in interface X3DPickSensorNodenewValue - is new value array to be appended the pickTarget field.void setPickTarget(X3DNode newValue)
setPickTarget in interface X3DPickSensorNodenewValue - is new node for the pickTarget fieldjava.lang.String getSortOrder()
getSortOrder in interface X3DPickSensorNodeLinePickSensor setSortOrder(java.lang.String newValue)
setSortOrder in interface X3DPickSensorNodenewValue - is new value for the sortOrder field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LinePickSensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DPickSensorNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LinePickSensor 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 X3DPickSensorNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.LinePickSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LinePickSensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DPickSensorNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.LinePickSensor - 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.