#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 VertBitSet & | region () const |
const VertBitSet & | freeVerts () const |
VertBitSet | firstLayerFixedVerts () const |
|
strong |
|
inline |
MRMESH_API void MR::Laplacian::apply | ( | ) |
MRMESH_API void MR::Laplacian::applyToScalar | ( | VertScalars & | scalarField | ) |
|
inline |
MRMESH_API void MR::Laplacian::fixVertex | ( | VertId | v, |
bool | smooth = true ) |
MRMESH_API void MR::Laplacian::fixVertex | ( | VertId | v, |
const Vector3f & | fixedPos, | ||
bool | smooth = true ) |
|
inline |
MRMESH_API void MR::Laplacian::init | ( | const VertBitSet & | freeVerts, |
EdgeWeights | weights, | ||
RememberShape | rem = Laplacian::RememberShape::Yes ) |
|
inline |
MRMESH_API void MR::Laplacian::updateSolver | ( | ) |