Class SAIGeoTransform
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geospatial.SAIGeoTransform
- All Implemented Interfaces:
GeoTransform
,X3DBoundedObject
,X3DChildNode
,X3DGroupingNode
,X3DNode
A concrete implementation of the GeoTransform node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoTransform
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(X3DNode[] val) Set the addChildren field.void
getBboxCenter
(float[] val) Return the bboxCenter value in the argument float[]void
getBboxSize
(float[] val) Return the bboxSize value in the argument float[]void
getChildren
(X3DNode[] val) Return the children value in the argument X3DNode[]void
getGeoCenter
(double[] val) Return the geoCenter value in the argument double[]Return the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]int
Return the number of MFNode items in the children field.int
Return the number of MFString items in the geoSystem field.void
getRotation
(float[] val) Return the rotation value in the argument float[]void
getScale
(float[] val) Return the scale value in the argument float[]void
getScaleOrientation
(float[] val) Return the scaleOrientation value in the argument float[]void
getTranslation
(float[] val) Return the translation value in the argument float[]void
removeChildren
(X3DNode[] val) Set the removeChildren field.void
setBboxCenter
(float[] val) Set the bboxCenter field.void
setBboxSize
(float[] val) Set the bboxSize field.void
setChildren
(X3DNode[] val) Set the children field.void
setGeoCenter
(double[] val) Set the geoCenter field.void
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setRotation
(float[] val) Set the rotation field.void
setScale
(float[] val) Set the scale field.void
setScaleOrientation
(float[] val) Set the scaleOrientation field.void
setTranslation
(float[] val) Set the translation field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoTransform
public SAIGeoTransform(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:
getNumChildren
in interfaceX3DGroupingNode
- Returns:
- the number of MFNode items in the children field.
-
getChildren
Return the children value in the argument X3DNode[]- Specified by:
getChildren
in interfaceX3DGroupingNode
- Parameters:
val
- The X3DNode[] to initialize.
-
setChildren
Set the children field.- Specified by:
setChildren
in interfaceX3DGroupingNode
- Parameters:
val
- The X3DNode[] to set.
-
addChildren
Set the addChildren field.- Specified by:
addChildren
in interfaceX3DGroupingNode
- Parameters:
val
- The X3DNode[] to set.
-
removeChildren
Set the removeChildren field.- Specified by:
removeChildren
in interfaceX3DGroupingNode
- Parameters:
val
- The X3DNode[] to set.
-
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.
-
getGeoCenter
public void getGeoCenter(double[] val) Return the geoCenter value in the argument double[]- Specified by:
getGeoCenter
in interfaceGeoTransform
- Parameters:
val
- The double[] to initialize.
-
setGeoCenter
public void setGeoCenter(double[] val) Set the geoCenter field.- Specified by:
setGeoCenter
in interfaceGeoTransform
- Parameters:
val
- The double[] to set.
-
getRotation
public void getRotation(float[] val) Return the rotation value in the argument float[]- Specified by:
getRotation
in interfaceGeoTransform
- Parameters:
val
- The float[] to initialize.
-
setRotation
public void setRotation(float[] val) Set the rotation field.- Specified by:
setRotation
in interfaceGeoTransform
- Parameters:
val
- The float[] to set.
-
getScale
public void getScale(float[] val) Return the scale value in the argument float[]- Specified by:
getScale
in interfaceGeoTransform
- Parameters:
val
- The float[] to initialize.
-
setScale
public void setScale(float[] val) Set the scale field.- Specified by:
setScale
in interfaceGeoTransform
- Parameters:
val
- The float[] to set.
-
getScaleOrientation
public void getScaleOrientation(float[] val) Return the scaleOrientation value in the argument float[]- Specified by:
getScaleOrientation
in interfaceGeoTransform
- Parameters:
val
- The float[] to initialize.
-
setScaleOrientation
public void setScaleOrientation(float[] val) Set the scaleOrientation field.- Specified by:
setScaleOrientation
in interfaceGeoTransform
- Parameters:
val
- The float[] to set.
-
getTranslation
public void getTranslation(float[] val) Return the translation value in the argument float[]- Specified by:
getTranslation
in interfaceGeoTransform
- Parameters:
val
- The float[] to initialize.
-
setTranslation
public void setTranslation(float[] val) Set the translation field.- Specified by:
setTranslation
in interfaceGeoTransform
- Parameters:
val
- The float[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoTransform
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoTransform
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoTransform
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoTransform
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoTransform
- Parameters:
val
- The String[] to set.
-