Classes | |
| class | Attractor |
| class | ConstAttractor |
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ConstVertBitSet | firstLayerFixedVerts (self) |
| ConstVertBitSet | freeVerts (self) |
| VertCoords | points (self) |
| ConstVertBitSet | region (self) |
| ConstMeshTopology | topology (self) |
Generated from: MR::Laplacian Laplacian to smoothly deform a region preserving mesh fine details. How to use: 1. Initialize Laplacian for the region being deformed, here region properties are remembered. 2. Change positions of some vertices within the region and call fixVertex for them. 3. Optionally call updateSolver() 4. Call apply() to change the remaining vertices within the region Then steps 1-4 or 2-4 can be repeated. \\snippet cpp-samples/LaplacianDeformation.cpp 0
| mrmeshpy.ConstLaplacian.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstLaplacian, mesh: meshlib.mrmeshpy.Mesh) -> None 2. __init__(self: meshlib.mrmeshpy.ConstLaplacian, topology: meshlib.mrmeshpy.ConstMeshTopology, points: meshlib.mrmeshpy.VertCoords) -> None
| ConstVertBitSet mrmeshpy.ConstLaplacian.firstLayerFixedVerts | ( | self | ) |
return fixed vertices from the first layer around free vertices
| ConstVertBitSet mrmeshpy.ConstLaplacian.freeVerts | ( | self | ) |
return currently free vertices
| VertCoords mrmeshpy.ConstLaplacian.points | ( | self | ) |
return the vector of coordinates for which Laplacian was constructed
| ConstVertBitSet mrmeshpy.ConstLaplacian.region | ( | self | ) |
return all initially free vertices and the first layer of vertices around them
| ConstMeshTopology mrmeshpy.ConstLaplacian.topology | ( | self | ) |
return the topology for which Laplacian was constructed