IConstrainedMeshSolver

Interface to a index-based deformation solver for a 3D mesh vertex set that supports weighted point constraints.

Windows
MacOS
Linux

Inheritance Hierarchy

IConstrainedMeshSolver

IConstrainedLaplacianMeshSolver

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Solvers/ConstrainedMeshSolver.h

Include

#include "Solvers/ConstrainedMeshSolver.h"

Syntax

class IConstrainedMeshSolver

Remarks

Interface to a index-based deformation solver for a 3D mesh vertex set that supports weighted point constraints.

Destructors

Name Description

Public function Virtual

~IConstrainedMeshSolver()

Functions

Name Description

Public function

void

 

AddConstraint

(
    const int32 VtxId,
    const double Weight,
    const FVector3d& Position,
    const bool bPostFix
)

Add or update a weighted positional constraint associated with VtxId

Public function

void

 

ClearConstraintPositions()

Clear all Constraint Positions.

Public function

void

 

ClearConstraints()

Clear all constraints (Positions and Weights)

Public function

void

 

ClearConstraintWeights()

Clear all Constraint Weights.

Public function

bool

 

Deform

(
    TArray< FVector3d >& PositionBuffe...
)

Returns the vertex locations of the deformed mesh.

Public function Const

bool

 

IsConstrained

(
    const int32 VtxId
)

Test if a non-zero weighted constraint is associated with VtxId.

Public function

bool

 

UpdateConstraintPosition

(
    const int32 VtxId,
    const FVector3d& Position,
    const bool bPostFix
)

Update or Create a constraint position associated with

Public function

bool

 

UpdateConstraintWeight

(
    const int32 VtxId,
    const double Weight
)

Update or Create a constraint weight associated with

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss