MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Const_Laplacian:

Classes

class  _InOptConst_Attractor
 This is used for optional parameters of class Attractor with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_Attractor. Usage:
class  _InOptMut_Attractor
 This is used for optional parameters of class Attractor with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_Attractor. Usage:
struct  _Underlying
class  Attractor
 attracts the given point inside some mesh's triangle to the given target with the given weight Generated from class MR.Laplacian.Attractor. This is the non-const half of the class. More...
class  Const_Attractor
 attracts the given point inside some mesh's triangle to the given target with the given weight Generated from class MR.Laplacian.Attractor. This is the const half of the class. More...

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.
unsafe MR.Const_MeshTopology topology ()
 return the topology for which Laplacian was constructed Generated from method MR.Laplacian.topology.
unsafe MR.VertCoords points ()
 return the vector of coordinates for which Laplacian was constructed Generated from method MR.Laplacian.points.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

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.

Constructor & Destructor Documentation

◆ Const_Laplacian() [1/3]

unsafe MR.Const_Laplacian.Const_Laplacian ( MR._ByValue_Laplacian _other)
inline

Generated from constructor MR.Laplacian.Laplacian.

◆ Const_Laplacian() [2/3]

unsafe MR.Const_Laplacian.Const_Laplacian ( MR.Mesh mesh)
inline

Generated from constructor MR.Laplacian.Laplacian.

◆ Const_Laplacian() [3/3]

unsafe MR.Const_Laplacian.Const_Laplacian ( MR.Const_MeshTopology topology,
MR.VertCoords points )
inline

Generated from constructor MR.Laplacian.Laplacian.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_Laplacian.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Laplacian.Dispose ( bool disposing)
inlineprotectedvirtual

◆ firstLayerFixedVerts()

unsafe MR.Const_VertBitSet MR.Const_Laplacian.firstLayerFixedVerts ( )
inline

return fixed vertices from the first layer around free vertices Generated from method MR.Laplacian.firstLayerFixedVerts.

◆ freeVerts()

unsafe MR.Const_VertBitSet MR.Const_Laplacian.freeVerts ( )
inline

return currently free vertices Generated from method MR.Laplacian.freeVerts.

◆ points()

unsafe MR.VertCoords MR.Const_Laplacian.points ( )
inline

return the vector of coordinates for which Laplacian was constructed Generated from method MR.Laplacian.points.

◆ region()

unsafe MR.Const_VertBitSet MR.Const_Laplacian.region ( )
inline

return all initially free vertices and the first layer of vertices around them Generated from method MR.Laplacian.region.

◆ topology()

unsafe MR.Const_MeshTopology MR.Const_Laplacian.topology ( )
inline

return the topology for which Laplacian was constructed Generated from method MR.Laplacian.topology.


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