Class SAIGeoLocation
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geospatial.SAIGeoLocation
- All Implemented Interfaces:
GeoLocation,X3DBoundedObject,X3DChildNode,X3DGroupingNode,X3DNode
A concrete implementation of the GeoLocation node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoLocation(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildren(X3DNode[] val) Set the addChildren field.voidgetBboxCenter(float[] val) Return the bboxCenter value in the argument float[]voidgetBboxSize(float[] val) Return the bboxSize value in the argument float[]voidgetChildren(X3DNode[] val) Return the children value in the argument X3DNode[]voidgetGeoCoords(double[] val) Return the geoCoords value in the argument double[]Return the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]intReturn the number of MFNode items in the children field.intReturn the number of MFString items in the geoSystem field.voidremoveChildren(X3DNode[] val) Set the removeChildren field.voidsetBboxCenter(float[] val) Set the bboxCenter field.voidsetBboxSize(float[] val) Set the bboxSize field.voidsetChildren(X3DNode[] val) Set the children field.voidsetGeoCoords(double[] val) Set the geoCoords field.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoLocation
public SAIGeoLocation(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:
getNumChildrenin interfaceX3DGroupingNode- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to initialize.
-
setChildren
Set the children field.- Specified by:
setChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
addChildren
Set the addChildren field.- Specified by:
addChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
removeChildren
Set the removeChildren field.- Specified by:
removeChildrenin interfaceX3DGroupingNode- Parameters:
val- The X3DNode[] to set.
-
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.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoLocation- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoLocation- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoLocation- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoLocation- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoLocation- Parameters:
val- The String[] to set.
-
getGeoCoords
public void getGeoCoords(double[] val) Return the geoCoords value in the argument double[]- Specified by:
getGeoCoordsin interfaceGeoLocation- Parameters:
val- The double[] to initialize.
-
setGeoCoords
public void setGeoCoords(double[] val) Set the geoCoords field.- Specified by:
setGeoCoordsin interfaceGeoLocation- Parameters:
val- The double[] to set.
-