|
iLand
|
The GrassCover class specifies the limiting effect of ground vegetation (grasses, herbs) on the regeneration success of the tree species. More...
#include <grasscover.h>
Public Types | |
| enum | GrassAlgorithmType { Invalid , Continuous , Pixel , Simplified } |
| used algorithm More... | |
Public Member Functions | |
| GrassCover () | |
| ~GrassCover () | |
| void | setup () |
| void | setInitialValues (const QVector< float * > &LIFpixels, const int percent) |
| set for all the pixels (LIFPixels) the corresponding grass value (in percent: 0-100) More... | |
| void | execute () |
| main function (growth/die-off of grass cover) More... | |
| void | executeAfterRegeneration () |
| function called after the regeneration module More... | |
| bool | enabled () const |
| returns 'true' if the module is enabled More... | |
| GrassAlgorithmType | mode () const |
| float | lifThreshold () const |
| double | effect (grass_grid_type level) const |
| double | cover (const grass_grid_type &data) const |
| double | regenerationInhibition (QPoint &lif_index) const |
| main function More... | |
| const Grid< grass_grid_type > & | grid () |
| retrieve the grid of current grass cover More... | |
Static Public Attributes | |
| static const int | GRASSCOVERSTEPS = 32000 |
The GrassCover class specifies the limiting effect of ground vegetation (grasses, herbs) on the regeneration success of the tree species.
The GrassCover model is very simple and operates on a 2x2m grain.
| GrassCover::GrassCover | ( | ) |
| GrassCover::~GrassCover | ( | ) |
|
inline |
|
inline |
|
inline |
returns 'true' if the module is enabled
| void GrassCover::execute | ( | ) |
main function (growth/die-off of grass cover)
| void GrassCover::executeAfterRegeneration | ( | ) |
function called after the regeneration module
|
inline |
retrieve the grid of current grass cover
|
inline |
|
inline |
|
inline |
main function
| void GrassCover::setInitialValues | ( | const QVector< float * > & | LIFpixels, |
| const int | percent | ||
| ) |
set for all the pixels (LIFPixels) the corresponding grass value (in percent: 0-100)
| void GrassCover::setup | ( | ) |
|
static |