Class SAIGeoLOD
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geospatial.SAIGeoLOD
- All Implemented Interfaces:
GeoLOD
,X3DBoundedObject
,X3DChildNode
,X3DNode
A concrete implementation of the GeoLOD node interface
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoLOD
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getBboxCenter
(float[] val) Return the bboxCenter value in the argument float[]void
getBboxSize
(float[] val) Return the bboxSize value in the argument float[]void
getCenter
(double[] val) Return the center value in the argument double[]void
getChild1Url
(String[] val) Return the child1Url value in the argument String[]void
getChild2Url
(String[] val) Return the child2Url value in the argument String[]void
getChild3Url
(String[] val) Return the child3Url value in the argument String[]void
getChild4Url
(String[] val) Return the child4Url value in the argument String[]void
getChildren
(X3DNode[] val) Return the children value in the argument X3DNode[]Return the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]int
getLevel()
Return the level_changed int value.int
Return the number of MFString items in the child1Url field.int
Return the number of MFString items in the child2Url field.int
Return the number of MFString items in the child3Url field.int
Return the number of MFString items in the child4Url field.int
Return the number of MFNode items in the children field.int
Return the number of MFString items in the geoSystem field.int
Return the number of MFNode items in the rootNode field.int
Return the number of MFString items in the rootUrl field.float
getRange()
Return the range float value.void
getRootNode
(X3DNode[] val) Return the rootNode value in the argument X3DNode[]void
getRootUrl
(String[] val) Return the rootUrl value in the argument String[]void
setBboxCenter
(float[] val) Set the bboxCenter field.void
setBboxSize
(float[] val) Set the bboxSize field.void
setCenter
(double[] val) Set the center field.void
setChild1Url
(String[] val) Set the child1Url field.void
setChild2Url
(String[] val) Set the child2Url field.void
setChild3Url
(String[] val) Set the child3Url field.void
setChild4Url
(String[] val) Set the child4Url field.void
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setRange
(float val) Set the range field.void
setRootNode
(X3DNode[] val) Set the rootNode field.void
setRootUrl
(String[] val) Set the rootUrl field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoLOD
public SAIGeoLOD(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getNumChildren
public int getNumChildren()Return the number of MFNode items in the children field.- Specified by:
getNumChildren
in interfaceGeoLOD
- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildren
in interfaceGeoLOD
- Parameters:
val
- The X3DNode[] to initialize.
-
getBboxCenter
public void getBboxCenter(float[] val) Return the bboxCenter value in the argument float[]- Specified by:
getBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxCenter
public void setBboxCenter(float[] val) Set the bboxCenter field.- Specified by:
setBboxCenter
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-
getBboxSize
public void getBboxSize(float[] val) Return the bboxSize value in the argument float[]- Specified by:
getBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to initialize.
-
setBboxSize
public void setBboxSize(float[] val) Set the bboxSize field.- Specified by:
setBboxSize
in interfaceX3DBoundedObject
- Parameters:
val
- The float[] to set.
-
getNumRootNode
public int getNumRootNode()Return the number of MFNode items in the rootNode field.- Specified by:
getNumRootNode
in interfaceGeoLOD
- Returns:
- the number of MFNode items in the rootNode field.
-
getRootNode
Return the rootNode value in the argument X3DNode[]- Specified by:
getRootNode
in interfaceGeoLOD
- Parameters:
val
- The X3DNode[] to initialize.
-
setRootNode
Set the rootNode field.- Specified by:
setRootNode
in interfaceGeoLOD
- Parameters:
val
- The X3DNode[] to set.
-
getNumRootUrl
public int getNumRootUrl()Return the number of MFString items in the rootUrl field.- Specified by:
getNumRootUrl
in interfaceGeoLOD
- Returns:
- the number of MFString items in the rootUrl field.
-
getRootUrl
Return the rootUrl value in the argument String[]- Specified by:
getRootUrl
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setRootUrl
Set the rootUrl field.- Specified by:
setRootUrl
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getNumChild1Url
public int getNumChild1Url()Return the number of MFString items in the child1Url field.- Specified by:
getNumChild1Url
in interfaceGeoLOD
- Returns:
- the number of MFString items in the child1Url field.
-
getChild1Url
Return the child1Url value in the argument String[]- Specified by:
getChild1Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setChild1Url
Set the child1Url field.- Specified by:
setChild1Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getNumChild2Url
public int getNumChild2Url()Return the number of MFString items in the child2Url field.- Specified by:
getNumChild2Url
in interfaceGeoLOD
- Returns:
- the number of MFString items in the child2Url field.
-
getChild2Url
Return the child2Url value in the argument String[]- Specified by:
getChild2Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setChild2Url
Set the child2Url field.- Specified by:
setChild2Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getNumChild3Url
public int getNumChild3Url()Return the number of MFString items in the child3Url field.- Specified by:
getNumChild3Url
in interfaceGeoLOD
- Returns:
- the number of MFString items in the child3Url field.
-
getChild3Url
Return the child3Url value in the argument String[]- Specified by:
getChild3Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setChild3Url
Set the child3Url field.- Specified by:
setChild3Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getNumChild4Url
public int getNumChild4Url()Return the number of MFString items in the child4Url field.- Specified by:
getNumChild4Url
in interfaceGeoLOD
- Returns:
- the number of MFString items in the child4Url field.
-
getChild4Url
Return the child4Url value in the argument String[]- Specified by:
getChild4Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setChild4Url
Set the child4Url field.- Specified by:
setChild4Url
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoLOD
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoLOD
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoLOD
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoLOD
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoLOD
- Parameters:
val
- The String[] to set.
-
getCenter
-
setCenter
-
getRange
-
setRange
-
getLevel
-