Tools to generate meshes for stacks of raster data.
More...
|
void | MeshLayers (Mesh *mesh, const RasterLayers *layers) |
| Creates triangle/quadrilateral grids for the given raster-layers. More...
|
|
void | MeshLayerBoundaries (Mesh *mesh, const RasterLayers *layers) |
| Creates boundary grids for the given raster-layers. More...
|
|
void | ExtrudeLayers (Mesh *mesh, RasterLayers *layers, bool allow_for_tets_and_pyras) |
| Creates volumes for a given stack of raster-layers and an initial triangulation of the surface. More...
|
|
void | ExtrudeLayersAndAddProjector (Mesh *mesh, RasterLayers *layers, bool allow_for_tets_and_pyras) |
| Creates volumes for a given stack of raster-layers and an initial triangulation of the surface. It also generates a raster-based refinement-projector for the whole geometry. More...
|
|
void | ProjectToLayer (Mesh *mesh, RasterLayers *layers, int layer_index) |
| Projects a (surface-)mesh to the specified raster-layer. Only height values in valid regions are adjusted. More...
|
|
void | ProjectToTopLayer (Mesh *mesh, RasterLayers *layers) |
| Projects a (surface-)mesh to the top-layer of the specified raster-stack. Only height values in valid regions are adjusted. More...
|
|
void | SnapToHorizontalRaster (Mesh *mesh, RasterLayers *layers) |
| Snaps all vertices of the given (surface) grid horizontally to the closest raster-node. More...
|
|
Tools to generate meshes for stacks of raster data.
◆ RasterLayers
◆ RasterLayers()
◆ blur_layers()
Blurs the values in each layer by averaging between neighbored cells on the same layer.
◆ construct_relative_to_global_height_table()
void construct_relative_to_global_height_table |
( |
size_t |
iterations, |
|
|
double |
alpha |
|
) |
| |
Prepares a table for improved height value reconstructions in no-data-regions.
◆ eliminate_invalid_cells()
void eliminate_invalid_cells |
( |
| ) |
|
◆ invalidate_flat_cells()
void invalidate_flat_cells |
( |
| ) |
|
Marks all cells as invalid that belong to a small lense regarding its horizontal area.
◆ invalidate_small_lenses()
void invalidate_small_lenses |
( |
double |
min_area | ) |
|
Marks all cells as invalid which are closer to the next higher valid cell than the given min height.
◆ load_from_files() [1/2]
Loads raster data from the specified .asc files. Specify the bottom layer first and the surface layer last.
◆ load_from_files() [2/2]
Loads raster data from the specified .asc files. Specify the bottom layer first and the surface layer last.
◆ remove_small_holes()
void remove_small_holes |
( |
double |
max_area, |
|
|
_min_height |
|
|
) |
| |
removes small holes by expanding the layer in those regions to the specified height
◆ snap_cells_to_higher_layers()
void snap_cells_to_higher_layers |
( |
| ) |
|
sets invalid or flat cells to the value of the corresponding cell in the level above.
◆ RasterLayerDesc
Layer Desc for RasterLayers class
◆ RasterLayerDesc()
◆ filename()
Returns the filename of the given layer-desc.
◆ min_height()
Returns the minimal height of the given layer-desc.
◆ ExtrudeLayers()
Creates volumes for a given stack of raster-layers and an initial triangulation of the surface.
◆ ExtrudeLayersAndAddProjector()
void ExtrudeLayersAndAddProjector |
( |
Mesh * |
mesh, |
|
|
RasterLayers * |
layers, |
|
|
bool |
allow_for_tets_and_pyras |
|
) |
| |
Creates volumes for a given stack of raster-layers and an initial triangulation of the surface. It also generates a raster-based refinement-projector for the whole geometry.
◆ MeshLayerBoundaries()
Creates boundary grids for the given raster-layers.
◆ MeshLayers()
Creates triangle/quadrilateral grids for the given raster-layers.
◆ ProjectToLayer()
Projects a (surface-)mesh to the specified raster-layer. Only height values in valid regions are adjusted.
◆ ProjectToTopLayer()
Projects a (surface-)mesh to the top-layer of the specified raster-stack. Only height values in valid regions are adjusted.
◆ SnapToHorizontalRaster()
Snaps all vertices of the given (surface) grid horizontally to the closest raster-node.