Package org.web3d.x3d.sai.geometry3d
Interface ElevationGrid
- All Superinterfaces:
X3DGeometryNode,X3DNode
- All Known Implementing Classes:
SAIElevationGrid,SAIElevationGrid
Defines the requirements of an X3D ElevationGrid node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetCcw()Return the ccw boolean value.getColor()Return the color X3DNode value.booleanReturn the colorPerVertex boolean value.floatReturn the creaseAngle float value.voidgetHeight(float[] val) Return the height value in the argument float[]Return the normal X3DNode value.booleanReturn the normalPerVertex boolean value.intReturn the number of MFFloat items in the height field.booleangetSolid()Return the solid boolean value.Return the texCoord X3DNode value.intReturn the xDimension int value.floatReturn the xSpacing float value.intReturn the zDimension int value.floatReturn the zSpacing float 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(float val) Set the creaseAngle field.voidsetHeight(float[] 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(float val) Set the xSpacing field.voidsetZDimension(int val) Set the zDimension field.voidsetZSpacing(float val) Set the zSpacing field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getColor
-
setColor
-
setColor
Set the color field.- Parameters:
val- The X3DProtoInstance to set.
-
getNormal
-
setNormal
-
setNormal
Set the normal field.- Parameters:
val- The X3DProtoInstance to set.
-
getTexCoord
-
setTexCoord
Set the texCoord field.- Parameters:
val- The X3DTextureCoordinateNode to set.
-
setTexCoord
Set the texCoord field.- Parameters:
val- The X3DProtoInstance to set.
-
getCcw
boolean getCcw()Return the ccw boolean value.- Returns:
- The ccw boolean value.
-
setCcw
void setCcw(boolean val) Set the ccw field.- Parameters:
val- The boolean to set.
-
getColorPerVertex
boolean getColorPerVertex()Return the colorPerVertex boolean value.- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
void setColorPerVertex(boolean val) Set the colorPerVertex field.- Parameters:
val- The boolean to set.
-
getCreaseAngle
float getCreaseAngle()Return the creaseAngle float value.- Returns:
- The creaseAngle float value.
-
setCreaseAngle
void setCreaseAngle(float val) Set the creaseAngle field.- Parameters:
val- The float to set.
-
getNumHeight
int getNumHeight()Return the number of MFFloat items in the height field.- Returns:
- the number of MFFloat items in the height field.
-
getHeight
void getHeight(float[] val) Return the height value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setHeight
void setHeight(float[] val) Set the height field.- Parameters:
val- The float[] to set.
-
getNormalPerVertex
boolean getNormalPerVertex()Return the normalPerVertex boolean value.- Returns:
- The normalPerVertex boolean value.
-
setNormalPerVertex
void setNormalPerVertex(boolean val) Set the normalPerVertex field.- Parameters:
val- The boolean to set.
-
getSolid
boolean getSolid()Return the solid boolean value.- Returns:
- The solid boolean value.
-
setSolid
void setSolid(boolean val) Set the solid field.- Parameters:
val- The boolean to set.
-
getXDimension
int getXDimension()Return the xDimension int value.- Returns:
- The xDimension int value.
-
setXDimension
void setXDimension(int val) Set the xDimension field.- Parameters:
val- The int to set.
-
getXSpacing
float getXSpacing()Return the xSpacing float value.- Returns:
- The xSpacing float value.
-
setXSpacing
void setXSpacing(float val) Set the xSpacing field.- Parameters:
val- The float to set.
-
getZDimension
int getZDimension()Return the zDimension int value.- Returns:
- The zDimension int value.
-
setZDimension
void setZDimension(int val) Set the zDimension field.- Parameters:
val- The int to set.
-
getZSpacing
float getZSpacing()Return the zSpacing float value.- Returns:
- The zSpacing float value.
-
setZSpacing
void setZSpacing(float val) Set the zSpacing field.- Parameters:
val- The float to set.
-