Package org.web3d.vrml.nodes
Interface VRMLTerrainSource
public interface VRMLTerrainSource
Representation of a node that supplies terrain data.
- Version:
- $Revision: 1.2 $
- Author:
- Alan Hudson
-
Method Summary
-
Method Details
-
getHeight
double[] getHeight()Get the height data. Provide a direct reference to the height data to avoid a copy. Height data is usually a field, no listeners needed for changes.- Returns:
- The height data
-
getSpacing
double[] getSpacing()Get the spacing data.- Returns:
- The spacing data
-
getXSize
int getXSize()Get the xSize.- Returns:
- the number of points in the x direction.
-
getZSize
int getZSize()Get the zSize.- Returns:
- the number of points in the z direction.
-
useRoam
boolean useRoam()Should we use Roam to display this terrain.- Returns:
-
getGeoOrigin
double[] getGeoOrigin()Get the origin of this source in GC coordinates.- Returns:
-
getTextureCoords
float[][][] getTextureCoords()
-