Class SAIGeoLOD
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoLOD(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBboxCenter(float[] val) Return the bboxCenter value in the argument float[]voidgetBboxSize(float[] val) Return the bboxSize value in the argument float[]voidgetCenter(double[] val) Return the center value in the argument double[]voidgetChild1Url(String[] val) Return the child1Url value in the argument String[]voidgetChild2Url(String[] val) Return the child2Url value in the argument String[]voidgetChild3Url(String[] val) Return the child3Url value in the argument String[]voidgetChild4Url(String[] val) Return the child4Url value in the argument String[]voidgetChildren(X3DNode[] val) Return the children value in the argument X3DNode[]Return the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]intgetLevel()Return the level_changed int value.intReturn the number of MFString items in the child1Url field.intReturn the number of MFString items in the child2Url field.intReturn the number of MFString items in the child3Url field.intReturn the number of MFString items in the child4Url field.intReturn the number of MFNode items in the children field.intReturn the number of MFString items in the geoSystem field.intReturn the number of MFNode items in the rootNode field.intReturn the number of MFString items in the rootUrl field.floatgetRange()Return the range float value.voidgetRootNode(X3DNode[] val) Return the rootNode value in the argument X3DNode[]voidgetRootUrl(String[] val) Return the rootUrl value in the argument String[]voidsetBboxCenter(float[] val) Set the bboxCenter field.voidsetBboxSize(float[] val) Set the bboxSize field.voidsetCenter(double[] val) Set the center field.voidsetChild1Url(String[] val) Set the child1Url field.voidsetChild2Url(String[] val) Set the child2Url field.voidsetChild3Url(String[] val) Set the child3Url field.voidsetChild4Url(String[] val) Set the child4Url field.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.voidsetRange(float val) Set the range field.voidsetRootNode(X3DNode[] val) Set the rootNode field.voidsetRootUrl(String[] val) Set the rootUrl field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoLOD
public SAIGeoLOD(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumChildren
public int getNumChildren()Return the number of MFNode items in the children field.- Specified by:
getNumChildrenin interfaceGeoLOD- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildrenin interfaceGeoLOD- Parameters:
val- The X3DNode[] to initialize.
-
getBboxCenter
public void getBboxCenter(float[] val) Return the bboxCenter value in the argument float[]- Specified by:
getBboxCenterin interfaceX3DBoundedObject- Parameters:
val- The float[] to initialize.
-
setBboxCenter
public void setBboxCenter(float[] val) Set the bboxCenter field.- Specified by:
setBboxCenterin interfaceX3DBoundedObject- Parameters:
val- The float[] to set.
-
getBboxSize
public void getBboxSize(float[] val) Return the bboxSize value in the argument float[]- Specified by:
getBboxSizein interfaceX3DBoundedObject- Parameters:
val- The float[] to initialize.
-
setBboxSize
public void setBboxSize(float[] val) Set the bboxSize field.- Specified by:
setBboxSizein interfaceX3DBoundedObject- Parameters:
val- The float[] to set.
-
getNumRootNode
public int getNumRootNode()Return the number of MFNode items in the rootNode field.- Specified by:
getNumRootNodein interfaceGeoLOD- Returns:
- the number of MFNode items in the rootNode field.
-
getRootNode
Return the rootNode value in the argument X3DNode[]- Specified by:
getRootNodein interfaceGeoLOD- Parameters:
val- The X3DNode[] to initialize.
-
setRootNode
Set the rootNode field.- Specified by:
setRootNodein interfaceGeoLOD- Parameters:
val- The X3DNode[] to set.
-
getNumRootUrl
public int getNumRootUrl()Return the number of MFString items in the rootUrl field.- Specified by:
getNumRootUrlin interfaceGeoLOD- Returns:
- the number of MFString items in the rootUrl field.
-
getRootUrl
Return the rootUrl value in the argument String[]- Specified by:
getRootUrlin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setRootUrl
Set the rootUrl field.- Specified by:
setRootUrlin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getNumChild1Url
public int getNumChild1Url()Return the number of MFString items in the child1Url field.- Specified by:
getNumChild1Urlin interfaceGeoLOD- Returns:
- the number of MFString items in the child1Url field.
-
getChild1Url
Return the child1Url value in the argument String[]- Specified by:
getChild1Urlin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setChild1Url
Set the child1Url field.- Specified by:
setChild1Urlin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getNumChild2Url
public int getNumChild2Url()Return the number of MFString items in the child2Url field.- Specified by:
getNumChild2Urlin interfaceGeoLOD- Returns:
- the number of MFString items in the child2Url field.
-
getChild2Url
Return the child2Url value in the argument String[]- Specified by:
getChild2Urlin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setChild2Url
Set the child2Url field.- Specified by:
setChild2Urlin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getNumChild3Url
public int getNumChild3Url()Return the number of MFString items in the child3Url field.- Specified by:
getNumChild3Urlin interfaceGeoLOD- Returns:
- the number of MFString items in the child3Url field.
-
getChild3Url
Return the child3Url value in the argument String[]- Specified by:
getChild3Urlin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setChild3Url
Set the child3Url field.- Specified by:
setChild3Urlin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getNumChild4Url
public int getNumChild4Url()Return the number of MFString items in the child4Url field.- Specified by:
getNumChild4Urlin interfaceGeoLOD- Returns:
- the number of MFString items in the child4Url field.
-
getChild4Url
Return the child4Url value in the argument String[]- Specified by:
getChild4Urlin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setChild4Url
Set the child4Url field.- Specified by:
setChild4Urlin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoLOD- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoLOD- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoLOD- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoLOD- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoLOD- Parameters:
val- The String[] to set.
-
getCenter
-
setCenter
-
getRange
-
setRange
-
getLevel
-