public class LinePickSensorObject extends X3DConcreteNode implements LinePickSensor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the LinePickSensor element: Picking
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static boolean |
ENABLED_DEFAULT_VALUE
SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
|
static java.lang.String |
fromField_ENABLED
fromField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
fromField_ISACTIVE
fromField ROUTE name for SFBool field named isActive.
|
static java.lang.String |
fromField_MATCHCRITERION
fromField ROUTE name for SFString field named matchCriterion.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_OBJECTTYPE
fromField ROUTE name for MFString field named objectType.
|
static java.lang.String |
fromField_PICKEDGEOMETRY
fromField ROUTE name for MFNode field named pickedGeometry.
|
static java.lang.String |
fromField_PICKEDNORMAL
fromField ROUTE name for MFVec3f field named pickedNormal.
|
static java.lang.String |
fromField_PICKEDPOINT
fromField ROUTE name for MFVec3f field named pickedPoint.
|
static java.lang.String |
fromField_PICKEDTEXTURECOORDINATE
fromField ROUTE name for MFVec3f field named pickedTextureCoordinate.
|
static java.lang.String |
fromField_PICKINGGEOMETRY
fromField ROUTE name for SFNode field named pickingGeometry.
|
static java.lang.String |
fromField_PICKTARGET
fromField ROUTE name for MFNode field named pickTarget.
|
static java.lang.String |
INTERSECTIONTYPE_BOUNDS
SFString field named intersectionType can equal this enumeration value "BOUNDS" (Java syntax) or BOUNDS (XML syntax).
|
static java.lang.String |
INTERSECTIONTYPE_DEFAULT_VALUE
SFString field named intersectionType has default value "BOUNDS" (Java syntax) or BOUNDS (XML syntax).
|
static java.lang.String |
INTERSECTIONTYPE_GEOMETRY
SFString field named intersectionType can equal this enumeration value "GEOMETRY" (Java syntax) or GEOMETRY (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Picking component level for this element: 1
|
static java.lang.String |
MATCHCRITERION_DEFAULT_VALUE
SFString field named matchCriterion has default value "MATCH_ANY" (Java syntax) or MATCH_ANY (XML syntax).
|
static java.lang.String |
MATCHCRITERION_MATCH_ANY
SFString field named matchCriterion can equal this enumeration value "MATCH_ANY" (Java syntax) or MATCH_ANY (XML syntax).
|
static java.lang.String |
MATCHCRITERION_MATCH_EVERY
SFString field named matchCriterion can equal this enumeration value "MATCH_EVERY" (Java syntax) or MATCH_EVERY (XML syntax).
|
static java.lang.String |
MATCHCRITERION_MATCH_ONLY_ONE
SFString field named matchCriterion can equal this enumeration value "MATCH_ONLY_ONE" (Java syntax) or MATCH_ONLY_ONE (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: LinePickSensor.
|
static java.util.ArrayList<java.lang.String> |
OBJECTTYPE_ALL
MFString field named objectType is an array that can include this quoted enumeration value new String[] {"ALL"} (Java syntax) or '"ALL"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
OBJECTTYPE_DEFAULT_VALUE
MFString field named objectType has default quoted value new String[] {"ALL"} (Java syntax) or quoted value "ALL" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
OBJECTTYPE_NONE
MFString field named objectType is an array that can include this quoted enumeration value new String[] {"NONE"} (Java syntax) or '"NONE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
OBJECTTYPE_TERRAIN
MFString field named objectType is an array that can include this quoted enumeration value new String[] {"TERRAIN"} (Java syntax) or '"TERRAIN"' (XML syntax).
|
static java.lang.String |
SORTORDER_ALL
SFString field named sortOrder can equal this enumeration value "ALL" (Java syntax) or ALL (XML syntax).
|
static java.lang.String |
SORTORDER_ALL_SORTED
SFString field named sortOrder can equal this enumeration value "ALL_SORTED" (Java syntax) or ALL_SORTED (XML syntax).
|
static java.lang.String |
SORTORDER_ANY
SFString field named sortOrder can equal this enumeration value "ANY" (Java syntax) or ANY (XML syntax).
|
static java.lang.String |
SORTORDER_CLOSEST
SFString field named sortOrder can equal this enumeration value "CLOSEST" (Java syntax) or CLOSEST (XML syntax).
|
static java.lang.String |
SORTORDER_DEFAULT_VALUE
SFString field named sortOrder has default value "CLOSEST" (Java syntax) or CLOSEST (XML syntax).
|
static java.lang.String |
toField_ENABLED
toField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
toField_MATCHCRITERION
toField ROUTE name for SFString field named matchCriterion.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_OBJECTTYPE
toField ROUTE name for MFString field named objectType.
|
static java.lang.String |
toField_PICKINGGEOMETRY
toField ROUTE name for SFNode field named pickingGeometry.
|
static java.lang.String |
toField_PICKTARGET
toField ROUTE name for MFNode field named pickTarget.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
LinePickSensorObject()
Constructor for LinePickSensorObject to initialize member variables with default values.
|
LinePickSensorObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
LinePickSensorObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
LinePickSensorObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
LinePickSensorObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
LinePickSensorObject |
addObjectType(SFStringObject newValue)
Add singleton SFStringObject value to MFString objectType field.
|
LinePickSensorObject |
addObjectType(java.lang.String newValue)
Add singleton String value to MFString objectType field.
|
LinePickSensorObject |
addPickTarget(X3DNode newValue)
Add single child node to existing array of pickTarget nodes (if any).
|
void |
addPickTarget(X3DNode[] newValue)
Add array of child pickTarget nodes to array of existing nodes (if any).
|
LinePickSensorObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
LinePickSensorObject |
clearObjectType()
Utility method to clear MFString value of objectType field.
|
LinePickSensorObject |
clearPickingGeometry()
Utility method to clear SFNode value of pickingGeometry field.
|
LinePickSensorObject |
clearPickTarget()
Utility method to clear MFNode value of pickTarget field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
java.lang.String |
getComponent()
Defines X3D component for the LinePickSensor element: Picking
|
int |
getComponentLevel()
Provides default X3D component level for this element: 1
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: LinePickSensor
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
java.lang.String |
getIntersectionType()
Provide String enumeration value ['BOUNDS'|'GEOMETRY'|'etc.'] from initializeOnly SFString field named intersectionType.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
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.
|
java.util.ArrayList<java.lang.String> |
getObjectTypeList()
Utility method to get ArrayList value of MFString objectType field, similar to
getObjectType(). |
X3DNode[] |
getPickedGeometry()
Provide array of X3DChildNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from outputOnly MFNode field pickedGeometry.
|
java.util.ArrayList<X3DNode> |
getPickedGeometryList()
Utility method to get ArrayList value of MFNode pickedGeometry field, similar to
getPickedGeometry(). |
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.util.ArrayList<X3DNode> |
getPickTargetList()
Utility method to get ArrayList value of MFNode pickTarget field, similar to
getPickTarget(). |
java.lang.String |
getSortOrder()
Provide String enumeration value ['ANY'|'CLOSEST'|'ALL'|'ALL_SORTED'|'etc.'] from initializeOnly SFString field named sortOrder.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
boolean |
hasPickingGeometry()
Indicate whether an object is available for inputOutput SFNode field pickingGeometry.
|
boolean |
hasPickTarget()
Indicate whether an object is available for inputOutput MFNode field pickTarget.
|
void |
initialize()
Initialize all member variables to default values.
|
LinePickSensorObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
LinePickSensorObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
LinePickSensorObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
LinePickSensorObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
LinePickSensorObject |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
LinePickSensorObject |
setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
LinePickSensorObject |
setIntersectionType(SFStringObject newValue)
Assign typed object value to SFString intersectionType field, similar to
setIntersectionType(String). |
LinePickSensorObject |
setIntersectionType(java.lang.String newValue)
Assign String enumeration value ("BOUNDS"|"GEOMETRY") ['BOUNDS'|'GEOMETRY'|'etc.'] to initializeOnly SFString field named intersectionType.
|
LinePickSensorObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
LinePickSensorObject |
setMatchCriterion(SFStringObject newValue)
Assign typed object value to SFString matchCriterion field, similar to
setMatchCriterion(String). |
LinePickSensorObject |
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.
|
LinePickSensorObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
LinePickSensorObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
LinePickSensorObject |
setObjectType(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString objectType field, similar to
setObjectType(String[]). |
LinePickSensorObject |
setObjectType(MFStringObject newValue)
Assign typed object value to MFString objectType field, similar to
setObjectType(String[]). |
LinePickSensorObject |
setObjectType(SFStringObject newValue)
Assign single SFString object value to MFString objectType field, similar to
setObjectType(String[]). |
LinePickSensorObject |
setObjectType(java.lang.String newValue)
Assign singleton String value to MFString objectType field, similar to
setObjectType(String[]). |
LinePickSensorObject |
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.
|
LinePickSensorObject |
setPickingGeometry(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field pickingGeometry.
|
LinePickSensorObject |
setPickingGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field pickingGeometry.
|
LinePickSensorObject |
setPickTarget(java.util.ArrayList<X3DNode> newValue)
Assign ArrayList value of MFNode pickTarget field, similar to
setPickTarget(X3DNode[]). |
LinePickSensorObject |
setPickTarget(X3DConcreteNode newValue)
Utility method to set single SFNode as LinePickSensorObject pickTarget.
|
void |
setPickTarget(X3DNode newValue)
Set single child pickTarget node, replacing prior array of existing nodes (if any).
|
LinePickSensorObject |
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 (!
|
LinePickSensorObject |
setSortOrder(SFStringObject newValue)
Assign typed object value to SFString sortOrder field, similar to
setSortOrder(String). |
LinePickSensorObject |
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.
|
LinePickSensorObject |
setUSE(LinePickSensorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
LinePickSensorObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
LinePickSensorObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements,
using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String INTERSECTIONTYPE_BOUNDS
public static final java.lang.String INTERSECTIONTYPE_GEOMETRY
public static final java.lang.String MATCHCRITERION_MATCH_ANY
public static final java.lang.String MATCHCRITERION_MATCH_EVERY
public static final java.lang.String MATCHCRITERION_MATCH_ONLY_ONE
public static final java.util.ArrayList<java.lang.String> OBJECTTYPE_ALL
public static final java.util.ArrayList<java.lang.String> OBJECTTYPE_NONE
public static final java.util.ArrayList<java.lang.String> OBJECTTYPE_TERRAIN
public static final java.lang.String SORTORDER_ANY
public static final java.lang.String SORTORDER_CLOSEST
public static final java.lang.String SORTORDER_ALL
public static final java.lang.String SORTORDER_ALL_SORTED
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final boolean ENABLED_DEFAULT_VALUE
public static final java.lang.String INTERSECTIONTYPE_DEFAULT_VALUE
public static final java.lang.String MATCHCRITERION_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> OBJECTTYPE_DEFAULT_VALUE
public static final java.lang.String SORTORDER_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_ENABLED
public static final java.lang.String toField_ENABLED
public static final java.lang.String fromField_ISACTIVE
public static final java.lang.String fromField_MATCHCRITERION
public static final java.lang.String toField_MATCHCRITERION
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_OBJECTTYPE
public static final java.lang.String toField_OBJECTTYPE
public static final java.lang.String fromField_PICKEDGEOMETRY
public static final java.lang.String fromField_PICKEDNORMAL
public static final java.lang.String fromField_PICKEDPOINT
public static final java.lang.String fromField_PICKEDTEXTURECOORDINATE
public static final java.lang.String fromField_PICKINGGEOMETRY
public static final java.lang.String toField_PICKINGGEOMETRY
public static final java.lang.String fromField_PICKTARGET
public static final java.lang.String toField_PICKTARGET
public LinePickSensorObject()
public LinePickSensorObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic boolean getEnabled()
getEnabled in interface X3DSensorNodegetEnabled in interface LinePickSensorgetEnabled in interface X3DPickSensorNodepublic LinePickSensorObject setEnabled(boolean newValue)
setEnabled in interface X3DSensorNodesetEnabled in interface LinePickSensorsetEnabled in interface X3DPickSensorNodenewValue - is new value for the enabled field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setEnabled(SFBoolObject newValue)
setEnabled(boolean).newValue - is new value for the enabled field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getIntersectionType()
BOUNDS, GEOMETRY.getIntersectionType in interface LinePickSensorgetIntersectionType in interface X3DPickSensorNodepublic LinePickSensorObject setIntersectionType(java.lang.String newValue)
BOUNDS, GEOMETRY).
setIntersectionType in interface LinePickSensorsetIntersectionType in interface X3DPickSensorNodenewValue - is new value for the intersectionType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setIntersectionType(SFStringObject newValue)
setIntersectionType(String).newValue - is new value for the intersectionType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getIsActive()
getIsActive in interface X3DSensorNodegetIsActive in interface LinePickSensorgetIsActive in interface X3DPickSensorNodepublic java.lang.String getMatchCriterion()
MATCH_ANY, MATCH_EVERY, MATCH_ONLY_ONE.getMatchCriterion in interface LinePickSensorgetMatchCriterion in interface X3DPickSensorNodepublic LinePickSensorObject setMatchCriterion(java.lang.String newValue)
MATCH_ANY, MATCH_EVERY, MATCH_ONLY_ONE).
setMatchCriterion in interface LinePickSensorsetMatchCriterion in interface X3DPickSensorNodenewValue - is new value for the matchCriterion field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setMatchCriterion(SFStringObject newValue)
setMatchCriterion(String).newValue - is new value for the matchCriterion field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodegetMetadata in interface LinePickSensorgetMetadata in interface X3DPickSensorNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic LinePickSensorObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodesetMetadata in interface LinePickSensorsetMetadata in interface X3DPickSensorNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic LinePickSensorObject clearMetadata()
LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic java.lang.String[] getObjectType()
ALL, NONE, TERRAIN.getObjectType in interface LinePickSensorgetObjectType in interface X3DPickSensorNodepublic java.util.ArrayList<java.lang.String> getObjectTypeList()
getObjectType().public LinePickSensorObject setObjectType(java.lang.String[] newValue)
ALL, NONE, TERRAIN).
setObjectType in interface LinePickSensorsetObjectType in interface X3DPickSensorNodenewValue - is new value for the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setObjectType(MFStringObject newValue)
setObjectType(String[]).newValue - is new value for the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setObjectType(SFStringObject newValue)
setObjectType(String[]).newValue - is new value for the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public LinePickSensorObject setObjectType(java.lang.String newValue)
setObjectType(String[]).newValue - is new value for the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public LinePickSensorObject setObjectType(java.util.ArrayList<java.lang.String> newValue)
setObjectType(String[]).newValue - is new value for the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject clearObjectType()
LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject addObjectType(java.lang.String newValue)
newValue - is new value to add to the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public LinePickSensorObject addObjectType(SFStringObject newValue)
newValue - is new value to add to the objectType field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public X3DNode[] getPickedGeometry()
getPickedGeometry in interface LinePickSensorgetPickedGeometry in interface X3DPickSensorNodeX3DChildNodepublic java.util.ArrayList<X3DNode> getPickedGeometryList()
getPickedGeometry().public float[] getPickedNormal()
getPickedNormal in interface LinePickSensorpublic float[] getPickedPoint()
getPickedPoint in interface LinePickSensorpublic float[] getPickedTextureCoordinate()
getPickedTextureCoordinate in interface LinePickSensorpublic X3DGeometryNode getPickingGeometry()
getPickingGeometry in interface LinePickSensorgetPickingGeometry in interface X3DPickSensorNode
Tooltip: [IndexedLineSet|LineSet] pickingGeometry specifies the exact geometry coordinates that are used to perform the intersection testing of the picking operation. *
public LinePickSensorObject setPickingGeometry(X3DGeometryNode newValue)
setPickingGeometry in interface LinePickSensorsetPickingGeometry in interface X3DPickSensorNodenewValue - is new value for the pickingGeometry field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [IndexedLineSet|LineSet] pickingGeometry specifies the exact geometry coordinates that are used to perform the intersection testing of the picking operation.public LinePickSensorObject clearPickingGeometry()
LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject setPickingGeometry(ProtoInstanceObject newValue)
newValue - is new value for the pickingGeometry field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setPickingGeometry(X3DGeometryNode)public boolean hasPickingGeometry()
getPickingGeometry(),
getPickingGeometryProtoInstance()public X3DNode[] getPickTarget()
getPickTarget in interface LinePickSensorgetPickTarget in interface X3DPickSensorNodeX3DGroupingNode,
X3DShapeNode,
InlineObjectpublic java.util.ArrayList<X3DNode> getPickTargetList()
getPickTarget().public LinePickSensorObject setPickTarget(X3DNode[] newValue)
setPickTarget in interface LinePickSensorsetPickTarget in interface X3DPickSensorNodenewValue - is new value for the pickTarget field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setPickTarget(java.util.ArrayList<X3DNode> newValue)
setPickTarget(X3DNode[]).newValue - is new value for the pickTarget field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject addPickTarget(X3DNode newValue)
newValue - is new value to be appended the pickTarget field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public void addPickTarget(X3DNode[] newValue)
addPickTarget in interface LinePickSensoraddPickTarget in interface X3DPickSensorNodenewValue - is new value array to be appended the pickTarget field.public void setPickTarget(X3DNode newValue)
setPickTarget in interface LinePickSensorsetPickTarget in interface X3DPickSensorNodenewValue - is new node for the pickTarget field (restricted to X3DGroupingNode|X3DShapeNode|Inline)public LinePickSensorObject setPickTarget(X3DConcreteNode newValue)
newValue - LinePickSensorObject node to setLinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject clearPickTarget()
LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasPickTarget()
getPickTarget()public java.lang.String getSortOrder()
ANY, CLOSEST, ALL, ALL_SORTED.getSortOrder in interface LinePickSensorgetSortOrder in interface X3DPickSensorNodepublic LinePickSensorObject setSortOrder(java.lang.String newValue)
ANY, CLOSEST, ALL, ALL_SORTED).
setSortOrder in interface LinePickSensorsetSortOrder in interface X3DPickSensorNodenewValue - is new value for the sortOrder field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setSortOrder(SFStringObject newValue)
setSortOrder(String).newValue - is new value for the sortOrder field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final LinePickSensorObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodesetDEF in interface LinePickSensorsetDEF in interface X3DPickSensorNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final LinePickSensorObject 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 X3DSensorNodesetUSE in interface LinePickSensorsetUSE in interface X3DPickSensorNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final LinePickSensorObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodesetCssClass in interface LinePickSensorsetCssClass in interface X3DPickSensorNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.LinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic LinePickSensorObject setUSE(LinePickSensorObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedLinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public LinePickSensorObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueLinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsLinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public LinePickSensorObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addLinePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_CLASSICVRML,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
nameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.