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) |
Generated from: MR::SurfaceDistanceBuilder this class is responsible for iterative construction of distance map along the surface
None meshlib.mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
Mesh | mesh, | ||
VertBitSet | region ) |
None meshlib.mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
Mesh | mesh, | ||
Vector3f | target, | ||
VertBitSet | region ) |
None meshlib.mrmeshpy.SurfaceDistanceBuilder.__init__ | ( | self, | |
SurfaceDistanceBuilder | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.SurfaceDistanceBuilder.addStart | ( | self, | |
MeshTriPoint | start ) |
initiates distance construction from triangle vertices surrounding given start point (they all will be returned by growOne)
None meshlib.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 meshlib.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 meshlib.mrmeshpy.SurfaceDistanceBuilder.done | ( | self | ) |
returns true if further growth is impossible
float meshlib.mrmeshpy.SurfaceDistanceBuilder.doneDistance | ( | self | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached
VertId meshlib.mrmeshpy.SurfaceDistanceBuilder.growOne | ( | self | ) |
processes one more candidate vertex, which is returned
None meshlib.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 meshlib.mrmeshpy.SurfaceDistanceBuilder.takeDistanceMap | ( | self | ) |
takes ownership over constructed distance map