Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.geometry3d
Interface ElevationGrid

All Superinterfaces:
X3DGeometryNode, X3DNode

public interface ElevationGrid
extends X3DGeometryNode

Defines the requirements of an X3D ElevationGrid node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 boolean getCcw()
          Return the ccw boolean value.
 X3DNode getColor()
          Return the color X3DNode value.
 boolean getColorPerVertex()
          Return the colorPerVertex boolean value.
 float getCreaseAngle()
          Return the creaseAngle float value.
 void getHeight(float[] val)
          Return the height value in the argument float[]
 X3DNode getNormal()
          Return the normal X3DNode value.
 boolean getNormalPerVertex()
          Return the normalPerVertex boolean value.
 int getNumHeight()
          Return the number of MFFloat items in the height field.
 boolean getSolid()
          Return the solid boolean value.
 X3DNode getTexCoord()
          Return the texCoord X3DNode value.
 int getXDimension()
          Return the xDimension int value.
 float getXSpacing()
          Return the xSpacing float value.
 int getZDimension()
          Return the zDimension int value.
 float getZSpacing()
          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 setNormal(X3DProtoInstance val)
          Set the normal field.
 void setNormalPerVertex(boolean val)
          Set the normalPerVertex field.
 void setSolid(boolean val)
          Set the solid field.
 void setTexCoord(X3DProtoInstance val)
          Set the texCoord field.
 void setTexCoord(X3DTextureCoordinateNode val)
          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 Detail

getColor

X3DNode getColor()
Return the color X3DNode value.

Returns:
The color X3DNode value.

setColor

void setColor(X3DColorNode val)
Set the color field.

Parameters:
val - The X3DColorNode to set.

setColor

void setColor(X3DProtoInstance val)
Set the color field.

Parameters:
val - The X3DProtoInstance to set.

getNormal

X3DNode getNormal()
Return the normal X3DNode value.

Returns:
The normal X3DNode value.

setNormal

void setNormal(X3DNormalNode val)
Set the normal field.

Parameters:
val - The X3DNormalNode to set.

setNormal

void setNormal(X3DProtoInstance val)
Set the normal field.

Parameters:
val - The X3DProtoInstance to set.

getTexCoord

X3DNode getTexCoord()
Return the texCoord X3DNode value.

Returns:
The texCoord X3DNode value.

setTexCoord

void setTexCoord(X3DTextureCoordinateNode val)
Set the texCoord field.

Parameters:
val - The X3DTextureCoordinateNode to set.

setTexCoord

void setTexCoord(X3DProtoInstance val)
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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium