Interface ElevationGrid

All Superinterfaces:
X3DGeometryNode, X3DNode
All Known Implementing Classes:
ElevationGrid

public interface ElevationGrid extends X3DGeometryNode
ElevationGrid is a geometry node defining a rectangular height field, with default values for a 1m by 1m square at height 0.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. ElevationGrid node tooltip: [X3DGeometryNode] ElevationGrid is a geometry node defining a rectangular height field, with default values for a 1m by 1m square at height 0. Vertices corresponding to ElevationGrid height values define quadrilaterals, which are placed above or below a flat surface.
  • Hint: the height array defines (xDimension-1)*(zDimension-1) quadrilaterals.
  • Warning: generated quadrilaterals can be nonplanar. Tessellation splits quadrilaterals into triangles along seam starting at initial vertex of the quadrilateral and proceeding to opposite vertex.
  • Hint: positive direction for normal of each triangle is on same side of the quadrilateral. Triangles are defined either counterclockwise or clockwise depending on value of ccw field.
  • Hint: ElevationGrid can contain Color|ColorRGBA, Normal and TextureCoordinate nodes.
  • Hint: insert a Shape node before adding geometry or Appearance.
  • Hint: for advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: