Classes | |
class | Flows |
Public Member Functions | |
None | __init__ (self, Mesh mesh, VertScalars heights) |
None | __init__ (self, FlowAggregator arg0) |
UndirectedEdgeBitSet | computeCatchmentDelineation (self) |
VertScalars | computeFlow (self, std_vector_FlowOrigin starts, OutputFlows out='{}') |
VertScalars | computeFlow (self, std_vector_MeshTriPoint starts, OutputFlows out='{}') |
VertScalars | computeFlow (self, int numStarts, func_MeshTriPoint_from_unsigned_long_long startById, func_float_from_unsigned_long_long amountById, func_TaggedBitSet_FaceTag_const_from_unsigned_long_long regionById, OutputFlows out='{}') |
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows | computeFlowsPerBasin (self, std_vector_FlowOrigin starts) |
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows | computeFlowsPerBasin (self, std_vector_MeshTriPoint starts) |
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows | computeFlowsPerBasin (self, int numStarts, func_MeshTriPoint_from_unsigned_long_long startById, func_float_from_unsigned_long_long amountById) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::FlowAggregator this class can track multiple flows and find in each mesh vertex the amount of water reached it
None mrmeshpy.FlowAggregator.__init__ | ( | self, | |
Mesh | mesh, | ||
VertScalars | heights ) |
prepares the processing of given mesh with given height in each vertex
None mrmeshpy.FlowAggregator.__init__ | ( | self, | |
FlowAggregator | arg0 ) |
Implicit copy constructor.
|
staticprotected |
UndirectedEdgeBitSet mrmeshpy.FlowAggregator.computeCatchmentDelineation | ( | self | ) |
finds the edges on the mesh that divides catchment basin (every triangle is attributed to the final destination point based on the path originated from its centroid)
VertScalars mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
int | numStarts, | ||
func_MeshTriPoint_from_unsigned_long_long | startById, | ||
func_float_from_unsigned_long_long | amountById, | ||
func_TaggedBitSet_FaceTag_const_from_unsigned_long_long | regionById, | ||
OutputFlows | out = '{}' ) |
general version that supplies starts in a functional way
VertScalars mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
std_vector_FlowOrigin | starts, | ||
OutputFlows | out = '{}' ) |
tracks multiple flows \\param starts the origin of each flow (should be uniformly sampled over the terrain) \\return the flow reached each mesh vertex
VertScalars mrmeshpy.FlowAggregator.computeFlow | ( | self, | |
std_vector_MeshTriPoint | starts, | ||
OutputFlows | out = '{}' ) |
same with all amounts equal to 1
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
int | numStarts, | ||
func_MeshTriPoint_from_unsigned_long_long | startById, | ||
func_float_from_unsigned_long_long | amountById ) |
general version that supplies starts in a functional way
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
std_vector_FlowOrigin | starts ) |
tracks multiple flows \\param starts the origin of each flow (should be uniformly sampled over the terrain) \\return the flows grouped by the final destination vertex
phmap_flat_hash_map_Id_VertTag_FlowAggregator_Flows mrmeshpy.FlowAggregator.computeFlowsPerBasin | ( | self, | |
std_vector_MeshTriPoint | starts ) |
same with all amounts equal to 1