Class SAIGeoElevationGrid
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geospatial.SAIGeoElevationGrid
- All Implemented Interfaces:
GeoElevationGrid,X3DGeometryNode,X3DNode
A concrete implementation of the GeoElevationGrid 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
ConstructorsConstructorDescriptionSAIGeoElevationGrid(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCcw()Return the ccw boolean value.getColor()Return the color X3DNode value.booleanReturn the colorPerVertex boolean value.doubleReturn the creaseAngle double value.voidgetGeoGridOrigin(double[] val) Return the geoGridOrigin value in the argument double[]Return the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]voidgetHeight(double[] val) Return the height value in the argument double[]Return the normal X3DNode value.booleanReturn the normalPerVertex boolean value.intReturn the number of MFString items in the geoSystem field.intReturn the number of MFDouble items in the height field.booleangetSolid()Return the solid boolean value.Return the texCoord X3DNode value.intReturn the xDimension int value.doubleReturn the xSpacing double value.floatReturn the yScale float value.intReturn the zDimension int value.doubleReturn the zSpacing double value.voidsetCcw(boolean val) Set the ccw field.voidsetColor(X3DColorNode val) Set the color field.voidsetColor(X3DProtoInstance val) Set the color field.voidsetColorPerVertex(boolean val) Set the colorPerVertex field.voidsetCreaseAngle(double val) Set the creaseAngle field.voidsetGeoGridOrigin(double[] val) Set the geoGridOrigin field.voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.voidsetHeight(double[] val) Set the height field.voidsetNormal(X3DNormalNode val) Set the normal field.voidSet the normal field.voidsetNormalPerVertex(boolean val) Set the normalPerVertex field.voidsetSolid(boolean val) Set the solid field.voidSet the texCoord field.voidSet the texCoord field.voidsetXDimension(int val) Set the xDimension field.voidsetXSpacing(double val) Set the xSpacing field.voidsetYScale(float val) Set the yScale field.voidsetZDimension(int val) Set the zDimension field.voidsetZSpacing(double val) Set the zSpacing 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
-
SAIGeoElevationGrid
public SAIGeoElevationGrid(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumHeight
public int getNumHeight()Return the number of MFDouble items in the height field.- Specified by:
getNumHeightin 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:
getHeightin interfaceGeoElevationGrid- Parameters:
val- The double[] to initialize.
-
setHeight
public void setHeight(double[] val) Set the height field.- Specified by:
setHeightin interfaceGeoElevationGrid- Parameters:
val- The double[] to set.
-
getColor
Return the color X3DNode value.- Specified by:
getColorin interfaceGeoElevationGrid- Returns:
- The color X3DNode value.
-
setColor
Set the color field.- Specified by:
setColorin interfaceGeoElevationGrid- Parameters:
val- The X3DColorNode to set.
-
setColor
Set the color field.- Specified by:
setColorin interfaceGeoElevationGrid- Parameters:
val- The X3DProtoInstance to set.
-
getNormal
Return the normal X3DNode value.- Specified by:
getNormalin interfaceGeoElevationGrid- Returns:
- The normal X3DNode value.
-
setNormal
Set the normal field.- Specified by:
setNormalin interfaceGeoElevationGrid- Parameters:
val- The X3DNormalNode to set.
-
setNormal
Set the normal field.- Specified by:
setNormalin interfaceGeoElevationGrid- Parameters:
val- The X3DProtoInstance to set.
-
getTexCoord
Return the texCoord X3DNode value.- Specified by:
getTexCoordin interfaceGeoElevationGrid- Returns:
- The texCoord X3DNode value.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoordin interfaceGeoElevationGrid- Parameters:
val- The X3DTextureCoordinateNode to set.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoordin interfaceGeoElevationGrid- Parameters:
val- The X3DProtoInstance to set.
-
getCcw
public boolean getCcw()Return the ccw boolean value.- Specified by:
getCcwin interfaceGeoElevationGrid- Returns:
- The ccw boolean value.
-
setCcw
public void setCcw(boolean val) Set the ccw field.- Specified by:
setCcwin interfaceGeoElevationGrid- Parameters:
val- The boolean to set.
-
getColorPerVertex
public boolean getColorPerVertex()Return the colorPerVertex boolean value.- Specified by:
getColorPerVertexin interfaceGeoElevationGrid- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
public void setColorPerVertex(boolean val) Set the colorPerVertex field.- Specified by:
setColorPerVertexin interfaceGeoElevationGrid- Parameters:
val- The boolean to set.
-
getCreaseAngle
public double getCreaseAngle()Return the creaseAngle double value.- Specified by:
getCreaseAnglein interfaceGeoElevationGrid- Returns:
- The creaseAngle double value.
-
setCreaseAngle
public void setCreaseAngle(double val) Set the creaseAngle field.- Specified by:
setCreaseAnglein interfaceGeoElevationGrid- Parameters:
val- The double to set.
-
getGeoGridOrigin
public void getGeoGridOrigin(double[] val) Return the geoGridOrigin value in the argument double[]- Specified by:
getGeoGridOriginin interfaceGeoElevationGrid- Parameters:
val- The double[] to initialize.
-
setGeoGridOrigin
public void setGeoGridOrigin(double[] val) Set the geoGridOrigin field.- Specified by:
setGeoGridOriginin interfaceGeoElevationGrid- Parameters:
val- The double[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoElevationGrid- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoElevationGrid- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoElevationGrid- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoElevationGrid- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoElevationGrid- Parameters:
val- The String[] to set.
-
getNormalPerVertex
public boolean getNormalPerVertex()Return the normalPerVertex boolean value.- Specified by:
getNormalPerVertexin interfaceGeoElevationGrid- Returns:
- The normalPerVertex boolean value.
-
setNormalPerVertex
public void setNormalPerVertex(boolean val) Set the normalPerVertex field.- Specified by:
setNormalPerVertexin interfaceGeoElevationGrid- Parameters:
val- The boolean to set.
-
getSolid
public boolean getSolid()Return the solid boolean value.- Specified by:
getSolidin interfaceGeoElevationGrid- Returns:
- The solid boolean value.
-
setSolid
public void setSolid(boolean val) Set the solid field.- Specified by:
setSolidin interfaceGeoElevationGrid- Parameters:
val- The boolean to set.
-
getXDimension
public int getXDimension()Return the xDimension int value.- Specified by:
getXDimensionin interfaceGeoElevationGrid- Returns:
- The xDimension int value.
-
setXDimension
public void setXDimension(int val) Set the xDimension field.- Specified by:
setXDimensionin interfaceGeoElevationGrid- Parameters:
val- The int to set.
-
getXSpacing
public double getXSpacing()Return the xSpacing double value.- Specified by:
getXSpacingin interfaceGeoElevationGrid- Returns:
- The xSpacing double value.
-
setXSpacing
public void setXSpacing(double val) Set the xSpacing field.- Specified by:
setXSpacingin interfaceGeoElevationGrid- Parameters:
val- The double to set.
-
getZDimension
public int getZDimension()Return the zDimension int value.- Specified by:
getZDimensionin interfaceGeoElevationGrid- Returns:
- The zDimension int value.
-
setZDimension
public void setZDimension(int val) Set the zDimension field.- Specified by:
setZDimensionin interfaceGeoElevationGrid- Parameters:
val- The int to set.
-
getZSpacing
public double getZSpacing()Return the zSpacing double value.- Specified by:
getZSpacingin interfaceGeoElevationGrid- Returns:
- The zSpacing double value.
-
setZSpacing
public void setZSpacing(double val) Set the zSpacing field.- Specified by:
setZSpacingin interfaceGeoElevationGrid- Parameters:
val- The double to set.
-
getYScale
public float getYScale()Return the yScale float value.- Specified by:
getYScalein interfaceGeoElevationGrid- Returns:
- The yScale float value.
-
setYScale
public void setYScale(float val) Set the yScale field.- Specified by:
setYScalein interfaceGeoElevationGrid- Parameters:
val- The float to set.
-