Public Member Functions | |
| None | __init__ (self, Mesh mesh, VertBitSet region) |
| None | __init__ (self, Mesh mesh, Vector3f target, VertBitSet region) |
| None | __init__ (self, SurfaceDistanceBuilder arg0) |
| None | addStart (self, MeshTriPoint start) |
| None | addStartRegion (self, VertBitSet region, float startDistance) |
| None | addStartVertices (self, phmap_flat_hash_map_Id_VertTag_float startVertices) |
| bool | done (self) |
| float | doneDistance (self) |
| VertId | growOne (self) |
| None | setMaxVertUpdates (self, int v) |
| VertScalars | takeDistanceMap (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::SurfaceDistanceBuilder this class is responsible for iterative construction of distance map along the surface
|
static |
| None mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
| Mesh | mesh, | ||
| VertBitSet | region ) |
| None mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
| Mesh | mesh, | ||
| Vector3f | target, | ||
| VertBitSet | region ) |
| None mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
| SurfaceDistanceBuilder | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.SurfaceDistanceBuilder.addStart | ( | self, | |
| MeshTriPoint | start ) |
initiates distance construction from triangle vertices surrounding given start point (they all will be returned by growOne)
| None mrmeshpy.SurfaceDistanceBuilder.addStartRegion | ( | self, | |
| VertBitSet | region, | ||
| float | startDistance ) |
initiates distance construction from given vertices with known start distance in all of them (region vertices will NOT be returned by growOne)
| None mrmeshpy.SurfaceDistanceBuilder.addStartVertices | ( | self, | |
| phmap_flat_hash_map_Id_VertTag_float | startVertices ) |
initiates distance construction from given start vertices with values in them (these vertices will NOT be returned by growOne if values in them are not decreased)
| bool mrmeshpy.SurfaceDistanceBuilder.done | ( | self | ) |
returns true if further growth is impossible
| float mrmeshpy.SurfaceDistanceBuilder.doneDistance | ( | self | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached
| VertId mrmeshpy.SurfaceDistanceBuilder.growOne | ( | self | ) |
processes one more candidate vertex, which is returned
| None mrmeshpy.SurfaceDistanceBuilder.setMaxVertUpdates | ( | self, | |
| int | v ) |
the maximum amount of times vertex distance can be updated in [1,255], 3 by default; the more the better obtuse triangles are handled
| VertScalars mrmeshpy.SurfaceDistanceBuilder.takeDistanceMap | ( | self | ) |
takes ownership over constructed distance map