Class SAIGeoElevationGrid
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geospatial.SAIGeoElevationGrid
- All Implemented Interfaces:
GeoElevationGrid
,X3DGeometryNode
,X3DNode
A concrete implementation of the GeoElevationGrid node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoElevationGrid
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCcw()
Return the ccw boolean value.getColor()
Return the color X3DNode value.boolean
Return the colorPerVertex boolean value.double
Return the creaseAngle double value.void
getGeoGridOrigin
(double[] val) Return the geoGridOrigin value in the argument double[]Return the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]void
getHeight
(double[] val) Return the height value in the argument double[]Return the normal X3DNode value.boolean
Return the normalPerVertex boolean value.int
Return the number of MFString items in the geoSystem field.int
Return the number of MFDouble items in the height field.boolean
getSolid()
Return the solid boolean value.Return the texCoord X3DNode value.int
Return the xDimension int value.double
Return the xSpacing double value.float
Return the yScale float value.int
Return the zDimension int value.double
Return the zSpacing double value.void
setCcw
(boolean val) Set the ccw field.void
setColor
(X3DColorNode val) Set the color field.void
setColor
(X3DProtoInstance val) Set the color field.void
setColorPerVertex
(boolean val) Set the colorPerVertex field.void
setCreaseAngle
(double val) Set the creaseAngle field.void
setGeoGridOrigin
(double[] val) Set the geoGridOrigin field.void
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setHeight
(double[] val) Set the height field.void
setNormal
(X3DNormalNode val) Set the normal field.void
Set the normal field.void
setNormalPerVertex
(boolean val) Set the normalPerVertex field.void
setSolid
(boolean val) Set the solid field.void
Set the texCoord field.void
Set the texCoord field.void
setXDimension
(int val) Set the xDimension field.void
setXSpacing
(double val) Set the xSpacing field.void
setYScale
(float val) Set the yScale field.void
setZDimension
(int val) Set the zDimension field.void
setZSpacing
(double val) Set the zSpacing 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
-
SAIGeoElevationGrid
public SAIGeoElevationGrid(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getNumHeight
public int getNumHeight()Return the number of MFDouble items in the height field.- Specified by:
getNumHeight
in interfaceGeoElevationGrid
- Returns:
- the number of MFDouble items in the height field.
-
getHeight
public void getHeight(double[] val) Return the height value in the argument double[]- Specified by:
getHeight
in interfaceGeoElevationGrid
- Parameters:
val
- The double[] to initialize.
-
setHeight
public void setHeight(double[] val) Set the height field.- Specified by:
setHeight
in interfaceGeoElevationGrid
- Parameters:
val
- The double[] to set.
-
getColor
Return the color X3DNode value.- Specified by:
getColor
in interfaceGeoElevationGrid
- Returns:
- The color X3DNode value.
-
setColor
Set the color field.- Specified by:
setColor
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DColorNode to set.
-
setColor
Set the color field.- Specified by:
setColor
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DProtoInstance to set.
-
getNormal
Return the normal X3DNode value.- Specified by:
getNormal
in interfaceGeoElevationGrid
- Returns:
- The normal X3DNode value.
-
setNormal
Set the normal field.- Specified by:
setNormal
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DNormalNode to set.
-
setNormal
Set the normal field.- Specified by:
setNormal
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DProtoInstance to set.
-
getTexCoord
Return the texCoord X3DNode value.- Specified by:
getTexCoord
in interfaceGeoElevationGrid
- Returns:
- The texCoord X3DNode value.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoord
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DTextureCoordinateNode to set.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoord
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DProtoInstance to set.
-
getCcw
public boolean getCcw()Return the ccw boolean value.- Specified by:
getCcw
in interfaceGeoElevationGrid
- Returns:
- The ccw boolean value.
-
setCcw
public void setCcw(boolean val) Set the ccw field.- Specified by:
setCcw
in interfaceGeoElevationGrid
- Parameters:
val
- The boolean to set.
-
getColorPerVertex
public boolean getColorPerVertex()Return the colorPerVertex boolean value.- Specified by:
getColorPerVertex
in interfaceGeoElevationGrid
- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
public void setColorPerVertex(boolean val) Set the colorPerVertex field.- Specified by:
setColorPerVertex
in interfaceGeoElevationGrid
- Parameters:
val
- The boolean to set.
-
getCreaseAngle
public double getCreaseAngle()Return the creaseAngle double value.- Specified by:
getCreaseAngle
in interfaceGeoElevationGrid
- Returns:
- The creaseAngle double value.
-
setCreaseAngle
public void setCreaseAngle(double val) Set the creaseAngle field.- Specified by:
setCreaseAngle
in interfaceGeoElevationGrid
- Parameters:
val
- The double to set.
-
getGeoGridOrigin
public void getGeoGridOrigin(double[] val) Return the geoGridOrigin value in the argument double[]- Specified by:
getGeoGridOrigin
in interfaceGeoElevationGrid
- Parameters:
val
- The double[] to initialize.
-
setGeoGridOrigin
public void setGeoGridOrigin(double[] val) Set the geoGridOrigin field.- Specified by:
setGeoGridOrigin
in interfaceGeoElevationGrid
- Parameters:
val
- The double[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoElevationGrid
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoElevationGrid
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoElevationGrid
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoElevationGrid
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoElevationGrid
- Parameters:
val
- The String[] to set.
-
getNormalPerVertex
public boolean getNormalPerVertex()Return the normalPerVertex boolean value.- Specified by:
getNormalPerVertex
in interfaceGeoElevationGrid
- Returns:
- The normalPerVertex boolean value.
-
setNormalPerVertex
public void setNormalPerVertex(boolean val) Set the normalPerVertex field.- Specified by:
setNormalPerVertex
in interfaceGeoElevationGrid
- Parameters:
val
- The boolean to set.
-
getSolid
public boolean getSolid()Return the solid boolean value.- Specified by:
getSolid
in interfaceGeoElevationGrid
- Returns:
- The solid boolean value.
-
setSolid
public void setSolid(boolean val) Set the solid field.- Specified by:
setSolid
in interfaceGeoElevationGrid
- Parameters:
val
- The boolean to set.
-
getXDimension
public int getXDimension()Return the xDimension int value.- Specified by:
getXDimension
in interfaceGeoElevationGrid
- Returns:
- The xDimension int value.
-
setXDimension
public void setXDimension(int val) Set the xDimension field.- Specified by:
setXDimension
in interfaceGeoElevationGrid
- Parameters:
val
- The int to set.
-
getXSpacing
public double getXSpacing()Return the xSpacing double value.- Specified by:
getXSpacing
in interfaceGeoElevationGrid
- Returns:
- The xSpacing double value.
-
setXSpacing
public void setXSpacing(double val) Set the xSpacing field.- Specified by:
setXSpacing
in interfaceGeoElevationGrid
- Parameters:
val
- The double to set.
-
getZDimension
public int getZDimension()Return the zDimension int value.- Specified by:
getZDimension
in interfaceGeoElevationGrid
- Returns:
- The zDimension int value.
-
setZDimension
public void setZDimension(int val) Set the zDimension field.- Specified by:
setZDimension
in interfaceGeoElevationGrid
- Parameters:
val
- The int to set.
-
getZSpacing
public double getZSpacing()Return the zSpacing double value.- Specified by:
getZSpacing
in interfaceGeoElevationGrid
- Returns:
- The zSpacing double value.
-
setZSpacing
public void setZSpacing(double val) Set the zSpacing field.- Specified by:
setZSpacing
in interfaceGeoElevationGrid
- Parameters:
val
- The double to set.
-
getYScale
public float getYScale()Return the yScale float value.- Specified by:
getYScale
in interfaceGeoElevationGrid
- Returns:
- The yScale float value.
-
setYScale
public void setYScale(float val) Set the yScale field.- Specified by:
setYScale
in interfaceGeoElevationGrid
- Parameters:
val
- The float to set.
-