#define MRMESH_API
Definition MRMeshFwd.h:80
stores map from element id in[0, size) to T;
Definition MRHeap.h:23
graphs representing rain basins on the mesh
Definition MRWatershedGraph.h:15
SimulationStep simulateOne()
processes the next event happened with the terrain basins
Event
Definition MRPrecipitationSimulator.h:21
GraphVertId neiBasin
Definition MRPrecipitationSimulator.h:33
float amount
amount of precipitation (in same units as mesh coordinates and water level)
Definition MRPrecipitationSimulator.h:30
PrecipitationSimulator(WatershedGraph &wg)
initializes modeling from the initial subdivision of the terrain
GraphVertId basin
Definition MRPrecipitationSimulator.h:31
@ Merge
two basins just merged
Definition MRPrecipitationSimulator.h:24
@ BasinFull
one basin just became full
Definition MRPrecipitationSimulator.h:23
@ Finish
all basins are full and water goes outside
Definition MRPrecipitationSimulator.h:22
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRPrecipitationSimulator.h:28