public class VolumePickSensorObject extends X3DConcreteNode implements VolumePickSensor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the VolumePickSensor 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_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: 3
|
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: VolumePickSensor.
|
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 |
|---|
VolumePickSensorObject()
Constructor for VolumePickSensorObject to initialize member variables with default values.
|
VolumePickSensorObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
VolumePickSensorObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
VolumePickSensorObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
VolumePickSensorObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
VolumePickSensorObject |
addObjectType(SFStringObject newValue)
Add singleton SFStringObject value to MFString objectType field.
|
VolumePickSensorObject |
addObjectType(java.lang.String newValue)
Add singleton String value to MFString objectType field.
|
VolumePickSensorObject |
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).
|
VolumePickSensorObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
VolumePickSensorObject |
clearObjectType()
Utility method to clear MFString value of objectType field.
|
VolumePickSensorObject |
clearPickingGeometry()
Utility method to clear SFNode value of pickingGeometry field.
|
VolumePickSensorObject |
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 VolumePickSensor element: Picking
|
int |
getComponentLevel()
Provides default X3D component level for this element: 3
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: VolumePickSensor
|
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(). |
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.
|
VolumePickSensorObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
VolumePickSensorObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
VolumePickSensorObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
VolumePickSensorObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
VolumePickSensorObject |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
VolumePickSensorObject |
setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
VolumePickSensorObject |
setIntersectionType(SFStringObject newValue)
Assign typed object value to SFString intersectionType field, similar to
setIntersectionType(String). |
VolumePickSensorObject |
setIntersectionType(java.lang.String newValue)
Assign String enumeration value ("BOUNDS"|"GEOMETRY") ['BOUNDS'|'GEOMETRY'|'etc.'] to initializeOnly SFString field named intersectionType.
|
VolumePickSensorObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
VolumePickSensorObject |
setMatchCriterion(SFStringObject newValue)
Assign typed object value to SFString matchCriterion field, similar to
setMatchCriterion(String). |
VolumePickSensorObject |
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.
|
VolumePickSensorObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
VolumePickSensorObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
VolumePickSensorObject |
setObjectType(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString objectType field, similar to
setObjectType(String[]). |
VolumePickSensorObject |
setObjectType(MFStringObject newValue)
Assign typed object value to MFString objectType field, similar to
setObjectType(String[]). |
VolumePickSensorObject |
setObjectType(SFStringObject newValue)
Assign single SFString object value to MFString objectType field, similar to
setObjectType(String[]). |
VolumePickSensorObject |
setObjectType(java.lang.String newValue)
Assign singleton String value to MFString objectType field, similar to
setObjectType(String[]). |
VolumePickSensorObject |
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.
|
VolumePickSensorObject |
setPickingGeometry(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field pickingGeometry.
|
VolumePickSensorObject |
setPickingGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field pickingGeometry.
|
VolumePickSensorObject |
setPickTarget(java.util.ArrayList<X3DNode> newValue)
Assign ArrayList value of MFNode pickTarget field, similar to
setPickTarget(X3DNode[]). |
VolumePickSensorObject |
setPickTarget(X3DConcreteNode newValue)
Utility method to set single SFNode as VolumePickSensorObject pickTarget.
|
void |
setPickTarget(X3DNode newValue)
Set single child pickTarget node, replacing prior array of existing nodes (if any).
|
VolumePickSensorObject |
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 (!
|
VolumePickSensorObject |
setSortOrder(SFStringObject newValue)
Assign typed object value to SFString sortOrder field, similar to
setSortOrder(String). |
VolumePickSensorObject |
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.
|
VolumePickSensorObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
VolumePickSensorObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
VolumePickSensorObject |
setUSE(VolumePickSensorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
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_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 VolumePickSensorObject()
public VolumePickSensorObject(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 VolumePickSensorgetEnabled in interface X3DPickSensorNodepublic VolumePickSensorObject setEnabled(boolean newValue)
setEnabled in interface X3DSensorNodesetEnabled in interface VolumePickSensorsetEnabled in interface X3DPickSensorNodenewValue - is new value for the enabled field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setEnabled(SFBoolObject newValue)
setEnabled(boolean).newValue - is new value for the enabled field.VolumePickSensorObject - 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 VolumePickSensorgetIntersectionType in interface X3DPickSensorNodepublic VolumePickSensorObject setIntersectionType(java.lang.String newValue)
BOUNDS, GEOMETRY).
setIntersectionType in interface VolumePickSensorsetIntersectionType in interface X3DPickSensorNodenewValue - is new value for the intersectionType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setIntersectionType(SFStringObject newValue)
setIntersectionType(String).newValue - is new value for the intersectionType field.VolumePickSensorObject - 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 VolumePickSensorgetIsActive in interface X3DPickSensorNodepublic java.lang.String getMatchCriterion()
MATCH_ANY, MATCH_EVERY, MATCH_ONLY_ONE.getMatchCriterion in interface VolumePickSensorgetMatchCriterion in interface X3DPickSensorNodepublic VolumePickSensorObject setMatchCriterion(java.lang.String newValue)
MATCH_ANY, MATCH_EVERY, MATCH_ONLY_ONE).
setMatchCriterion in interface VolumePickSensorsetMatchCriterion in interface X3DPickSensorNodenewValue - is new value for the matchCriterion field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setMatchCriterion(SFStringObject newValue)
setMatchCriterion(String).newValue - is new value for the matchCriterion field.VolumePickSensorObject - 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 VolumePickSensorgetMetadata in interface X3DPickSensorNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic VolumePickSensorObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodesetMetadata in interface VolumePickSensorsetMetadata in interface X3DPickSensorNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.VolumePickSensorObject - 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 VolumePickSensorObject clearMetadata()
VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.VolumePickSensorObject - 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 VolumePickSensorgetObjectType in interface X3DPickSensorNodepublic java.util.ArrayList<java.lang.String> getObjectTypeList()
getObjectType().public VolumePickSensorObject setObjectType(java.lang.String[] newValue)
ALL, NONE, TERRAIN).
setObjectType in interface VolumePickSensorsetObjectType in interface X3DPickSensorNodenewValue - is new value for the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setObjectType(MFStringObject newValue)
setObjectType(String[]).newValue - is new value for the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setObjectType(SFStringObject newValue)
setObjectType(String[]).newValue - is new value for the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public VolumePickSensorObject setObjectType(java.lang.String newValue)
setObjectType(String[]).newValue - is new value for the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public VolumePickSensorObject setObjectType(java.util.ArrayList<java.lang.String> newValue)
setObjectType(String[]).newValue - is new value for the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject clearObjectType()
VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject addObjectType(java.lang.String newValue)
newValue - is new value to add to the objectType field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public VolumePickSensorObject addObjectType(SFStringObject newValue)
newValue - is new value to add to the objectType field.VolumePickSensorObject - 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 VolumePickSensorgetPickedGeometry in interface X3DPickSensorNodeX3DChildNodepublic java.util.ArrayList<X3DNode> getPickedGeometryList()
getPickedGeometry().public X3DGeometryNode getPickingGeometry()
getPickingGeometry in interface VolumePickSensorgetPickingGeometry in interface X3DPickSensorNode
Tooltip: [X3DGeometryNode] pickingGeometry specifies the exact geometry coordinates that are used to perform the intersection testing of the picking operation. *
public VolumePickSensorObject setPickingGeometry(X3DGeometryNode newValue)
setPickingGeometry in interface VolumePickSensorsetPickingGeometry in interface X3DPickSensorNodenewValue - is new value for the pickingGeometry field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DGeometryNode] pickingGeometry specifies the exact geometry coordinates that are used to perform the intersection testing of the picking operation.public VolumePickSensorObject clearPickingGeometry()
VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject setPickingGeometry(ProtoInstanceObject newValue)
newValue - is new value for the pickingGeometry field.VolumePickSensorObject - 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 VolumePickSensorgetPickTarget in interface X3DPickSensorNodeX3DGroupingNode,
X3DShapeNode,
InlineObjectpublic java.util.ArrayList<X3DNode> getPickTargetList()
getPickTarget().public VolumePickSensorObject setPickTarget(X3DNode[] newValue)
setPickTarget in interface VolumePickSensorsetPickTarget in interface X3DPickSensorNodenewValue - is new value for the pickTarget field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setPickTarget(java.util.ArrayList<X3DNode> newValue)
setPickTarget(X3DNode[]).newValue - is new value for the pickTarget field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject addPickTarget(X3DNode newValue)
newValue - is new value to be appended the pickTarget field.VolumePickSensorObject - 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 VolumePickSensoraddPickTarget in interface X3DPickSensorNodenewValue - is new value array to be appended the pickTarget field.public void setPickTarget(X3DNode newValue)
setPickTarget in interface VolumePickSensorsetPickTarget in interface X3DPickSensorNodenewValue - is new node for the pickTarget field (restricted to X3DGroupingNode|X3DShapeNode|Inline)public VolumePickSensorObject setPickTarget(X3DConcreteNode newValue)
newValue - VolumePickSensorObject node to setVolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject clearPickTarget()
VolumePickSensorObject - 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 VolumePickSensorgetSortOrder in interface X3DPickSensorNodepublic VolumePickSensorObject setSortOrder(java.lang.String newValue)
ANY, CLOSEST, ALL, ALL_SORTED).
setSortOrder in interface VolumePickSensorsetSortOrder in interface X3DPickSensorNodenewValue - is new value for the sortOrder field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setSortOrder(SFStringObject newValue)
setSortOrder(String).newValue - is new value for the sortOrder field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final VolumePickSensorObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodesetDEF in interface VolumePickSensorsetDEF in interface X3DPickSensorNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final VolumePickSensorObject 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 VolumePickSensorsetUSE in interface X3DPickSensorNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final VolumePickSensorObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodesetCssClass in interface VolumePickSensorsetCssClass in interface X3DPickSensorNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.VolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.VolumePickSensorObject - 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 VolumePickSensorObject setUSE(VolumePickSensorObject 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 definedVolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public VolumePickSensorObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueVolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsVolumePickSensorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public VolumePickSensorObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addVolumePickSensorObject - 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.