MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_Laplacian Class Reference

Laplacian to smoothly deform a region preserving mesh fine details. How to use: More...

+ Inheritance diagram for MR.Const_Laplacian:

Classes

struct  _Underlying
 

Public Types

enum  RememberShape : int { Yes = 0 , No = 1 }
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_Laplacian (MR._ByValue_Laplacian _other)
 Generated from constructor MR.Laplacian.Laplacian.
 
unsafe Const_Laplacian (MR.Mesh mesh)
 Generated from constructor MR.Laplacian.Laplacian.
 
unsafe Const_Laplacian (MR.Const_MeshTopology topology, MR.VertCoords points)
 Generated from constructor MR.Laplacian.Laplacian.
 
unsafe MR.Const_VertBitSet region ()
 return all initially free vertices and the first layer of vertices around them Generated from method MR.Laplacian.region.
 
unsafe MR.Const_VertBitSet freeVerts ()
 return currently free vertices Generated from method MR.Laplacian.freeVerts.
 
unsafe MR.Const_VertBitSet firstLayerFixedVerts ()
 return fixed vertices from the first layer around free vertices Generated from method MR.Laplacian.firstLayerFixedVerts.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_Laplacian >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_Laplacian >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

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.
    Generated from class MR.Laplacian. This is the const half of the class.

The documentation for this class was generated from the following file: