MeshLib
 
Loading...
Searching...
No Matches
MR::Laplacian Class Reference

#include <MRLaplacian.h>

Public Types

enum class  RememberShape { Yes , No }
 

Public Member Functions

 Laplacian (Mesh &mesh)
 
MRMESH_API void init (const VertBitSet &freeVerts, EdgeWeights weights, RememberShape rem=Laplacian::RememberShape::Yes)
 
MRMESH_API void fixVertex (VertId v, bool smooth=true)
 
MRMESH_API void fixVertex (VertId v, const Vector3f &fixedPos, bool smooth=true)
 
MRMESH_API void updateSolver ()
 
MRMESH_API void apply ()
 
MRMESH_API void applyToScalar (VertScalars &scalarField)
 
const VertBitSetregion () const
 
const VertBitSetfreeVerts () const
 
VertBitSet firstLayerFixedVerts () const
 

Member Enumeration Documentation

◆ RememberShape

enum class MR::Laplacian::RememberShape
strong
Enumerator
Yes 
No 

Constructor & Destructor Documentation

◆ Laplacian()

MR::Laplacian::Laplacian ( Mesh & mesh)
inline

Member Function Documentation

◆ apply()

MRMESH_API void MR::Laplacian::apply ( )

◆ applyToScalar()

MRMESH_API void MR::Laplacian::applyToScalar ( VertScalars & scalarField)

◆ firstLayerFixedVerts()

VertBitSet MR::Laplacian::firstLayerFixedVerts ( ) const
inline

◆ fixVertex() [1/2]

MRMESH_API void MR::Laplacian::fixVertex ( VertId v,
bool smooth = true )

◆ fixVertex() [2/2]

MRMESH_API void MR::Laplacian::fixVertex ( VertId v,
const Vector3f & fixedPos,
bool smooth = true )

◆ freeVerts()

const VertBitSet & MR::Laplacian::freeVerts ( ) const
inline

◆ init()

MRMESH_API void MR::Laplacian::init ( const VertBitSet & freeVerts,
EdgeWeights weights,
RememberShape rem = Laplacian::RememberShape::Yes )

◆ region()

const VertBitSet & MR::Laplacian::region ( ) const
inline

◆ updateSolver()

MRMESH_API void MR::Laplacian::updateSolver ( )

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