Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
this class is responsible for iterative construction of distance map along the surface Generated from class MR::SurfaceDistanceBuilder.
Instances created here own their C++ objects, see CppObject.
| meshlib.SurfaceDistanceBuilder.SurfaceDistanceBuilder | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.SurfaceDistanceBuilder.SurfaceDistanceBuilder | ( | meshlib.SurfaceDistanceBuilder | _other | ) |
Generated from constructor MR::SurfaceDistanceBuilder::SurfaceDistanceBuilder. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SurfaceDistanceBuilder_ConstructFromAnother().
| meshlib.SurfaceDistanceBuilder.SurfaceDistanceBuilder | ( | meshlib.Mesh | mesh, |
| meshlib.VertBitSet | region ) |
Generated from constructor MR::SurfaceDistanceBuilder::SurfaceDistanceBuilder. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object.
Calls MR_SurfaceDistanceBuilder_Construct_2().
| meshlib.SurfaceDistanceBuilder.SurfaceDistanceBuilder | ( | meshlib.Mesh | mesh, |
| meshlib.Vector3f | target, | ||
| meshlib.VertBitSet | region ) |
Generated from constructor MR::SurfaceDistanceBuilder::SurfaceDistanceBuilder. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object.
Calls MR_SurfaceDistanceBuilder_Construct_3().
| void meshlib.SurfaceDistanceBuilder.addStart | ( | meshlib.MeshTriPoint | start | ) |
initiates distance construction from triangle vertices surrounding given start point (they all will be returned by growOne); the distances are from this point, each call adds a separate point Generated from method MR::SurfaceDistanceBuilder::addStart.
Calls MR_SurfaceDistanceBuilder_addStart().
| void meshlib.SurfaceDistanceBuilder.addStartEdgesAndPoints | ( | meshlib.UndirectedEdgeBitSet | startEdges, |
| meshlib.VertBitSet | startPoints, | ||
| float | startDistance ) |
initiates distance construction from given start edges and start points with known start distance in all of them (their vertices will NOT be returned by growOne); the start edges connected by vertices make lines or regions; each start point is a point never united with other starts, even if it is one edge away from them, unless it is an end of a start edge Generated from method MR::SurfaceDistanceBuilder::addStartEdgesAndPoints.
Calls MR_SurfaceDistanceBuilder_addStartEdgesAndPoints().
| void meshlib.SurfaceDistanceBuilder.addStartRegion | ( | meshlib.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); the vertices connected by mesh edges make lines or regions, each isolated vertex is a point Generated from method MR::SurfaceDistanceBuilder::addStartRegion.
Calls MR_SurfaceDistanceBuilder_addStartRegion().
| void meshlib.SurfaceDistanceBuilder.addStartVertices | ( | meshlib.phmap.phmap_flat_hash_map_MR_VertId_float_phmap_Hash_MR_VertId_phmap_EqualTo_MR_VertId_MR_Allocator_std_pa__ec65138f | 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); the vertices connected by mesh edges make lines or regions (a line with different values is handled as a region), each isolated vertex is a point Generated from method MR::SurfaceDistanceBuilder::addStartVertices.
Calls MR_SurfaceDistanceBuilder_addStartVertices().
| boolean meshlib.SurfaceDistanceBuilder.done | ( | ) |
returns true if further growth is impossible Generated from method MR::SurfaceDistanceBuilder::done.
Calls MR_SurfaceDistanceBuilder_done().
| float meshlib.SurfaceDistanceBuilder.doneDistance | ( | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached Generated from method MR::SurfaceDistanceBuilder::doneDistance.
Calls MR_SurfaceDistanceBuilder_doneDistance().
| meshlib.VertId meshlib.SurfaceDistanceBuilder.growOne | ( | ) |
processes one more candidate vertex, which is returned Generated from method MR::SurfaceDistanceBuilder::growOne.
Calls MR_SurfaceDistanceBuilder_growOne().
| void meshlib.SurfaceDistanceBuilder.setMaxVertUpdates | ( | 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 Generated from method MR::SurfaceDistanceBuilder::setMaxVertUpdates.
Calls MR_SurfaceDistanceBuilder_setMaxVertUpdates().
| meshlib.VertScalars meshlib.SurfaceDistanceBuilder.takeDistanceMap | ( | ) |
takes ownership over constructed distance map Generated from method MR::SurfaceDistanceBuilder::takeDistanceMap.
Calls MR_SurfaceDistanceBuilder_takeDistanceMap().