|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.tools.rendering.dem.builder.DEMDatasetGenerator
@Tool(value="Generates DEM multiresolution datasets from rasters, suitable for the WPVS.") public class DEMDatasetGenerator
Tool for generating the binary files for MultiresolutionMesh
instances (MRIndex- and PatchData-BLOBs) from
DEM coverages (heightfields).
Initially, the domain is divided into two right triangles. These are the root fragments of the multiresolution hierarchy. Smaller fragments (with more detail) are generated by recursively bisecting the triangles.
Constructor Summary | |
---|---|
DEMDatasetGenerator(AbstractRaster raster,
RasterIOOptions options,
int levels,
int rowsPerTile,
float maxZ)
Creates a new PatchGenerator instance. |
Method Summary | |
---|---|
void |
disposeLoadedRasterData()
|
int |
getBytesPerTile()
|
int |
getLevels()
|
int |
getRowsPerFragment()
|
double |
getTileHeight()
|
int |
getTrianglesPerFragment()
|
int |
getVerticesPerFragment()
|
static void |
main(String[] args)
Generates a MultiresolutionMesh instance (MRIndex- and PatchData-BLOBs) from a file that contains binary
short values (a regular heightfield). |
void |
setTileHeight(double tileHeight)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DEMDatasetGenerator(AbstractRaster raster, RasterIOOptions options, int levels, int rowsPerTile, float maxZ) throws SQLException, IOException
PatchGenerator
instance.
raster
- the dem rasteroptions
- containing information on the given raster.levels
- number of levels in the generated (layered) DAGrowsPerTile
- number of rows per macro triangle (tile)maxZ
- the clipping z value.
SQLException
IOException
Method Detail |
---|
public int getVerticesPerFragment()
public int getTrianglesPerFragment()
public int getLevels()
public int getRowsPerFragment()
public void setTileHeight(double tileHeight)
tileHeight
- the tileHeight to setpublic double getTileHeight()
public int getBytesPerTile()
public static void main(String[] args) throws IOException
MultiresolutionMesh
instance (MRIndex- and PatchData-BLOBs) from a file that contains binary
short values (a regular heightfield).
Please see the code for the initialization of the parameters.
args
-
IOException
public void disposeLoadedRasterData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |