|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticTerrainData
Terrain data that represents a static collection of information.
A static terrain representation contains points that can all be loaded at setup time. Typically used to represent smaller datasets, this interface provides the representation of the data all at once and assumes a single texture object covers the entire dataset. However, don't forget that Java3D Texture object does allow multi-level mip-mapping within the texture instance.
TerrainData.getSourceDataType()
always returns
TerrainData.STATIC_DATA
.
Field Summary |
---|
Fields inherited from interface org.j3d.terrain.TerrainData |
---|
FREEFORM_DATA, STATIC_DATA, TILED_DATA |
Method Summary | |
---|---|
int |
getGridDepth()
Get the depth (number of points on the X axis) of the grid. |
int |
getGridWidth()
Get the width (number of points on the Y axis) of the grid. |
java.awt.image.BufferedImage |
getTexture()
Fetch the Texture that is used to cover the entire terrain. |
Methods inherited from interface org.j3d.terrain.TerrainData |
---|
getCoordinate, getCoordinate, getCoordinateWithColor, getCoordinateWithTexture, getGridXStep, getGridYStep, getHeightFromGrid, getSourceDataType, hasColor, hasTexture |
Methods inherited from interface org.j3d.ui.navigation.HeightDataSource |
---|
getHeight |
Method Detail |
---|
java.awt.image.BufferedImage getTexture()
int getGridWidth()
int getGridDepth()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |