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 TypeMethodDescriptionboolean
getCcw()
Return the ccw boolean value.getColor()
Return the color X3DNode value.boolean
Return the colorPerVertex boolean value.float
Return the creaseAngle float value.void
getHeight
(float[] val) Return the height value in the argument float[]Return the normal X3DNode value.boolean
Return the normalPerVertex boolean value.int
Return the number of MFFloat items in the height field.boolean
getSolid()
Return the solid boolean value.Return the texCoord X3DNode value.int
Return the xDimension int value.float
Return the xSpacing float value.int
Return the zDimension int value.float
Return the zSpacing float 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
(float val) Set the creaseAngle field.void
setHeight
(float[] 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
(float val) Set the xSpacing field.void
setZDimension
(int val) Set the zDimension field.void
setZSpacing
(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.
-