Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Wrap a source mesh's topology to a target mesh's shape. Users can supply vertex correspondences for landmarks to aid the mesh wrap process.
| Name | FWrapMesh |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/WrapMesh.h |
| Include Path | #include "Operations/WrapMesh.h" |
Syntax
class FWrapMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWrapMesh
(
const FDynamicMesh3* InSourceMesh |
Operations/WrapMesh.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FWrapMesh() |
Operations/WrapMesh.h |
Enums
Public
| Name | Remarks |
|---|---|
| ELaplacianType |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWeldSourceMesh | bool | Weld source mesh vertices with matching positions during mesh wrap. | Operations/WrapMesh.h | |
| CorrespondenceStiffness | double | Weight of mesh wrap to match Landmark correspondences. | Operations/WrapMesh.h | |
| InitialProjectionStiffness | double | Initial weight of mesh wrap to match projected Target Shape. | Operations/WrapMesh.h | |
| LaplacianStiffness | double | Weight of mesh wrap to retain Source Topology mesh features. Metric is defined by Laplacian Type. | Operations/WrapMesh.h | |
| LaplacianType | ELaplacianType | Laplacian type. | Operations/WrapMesh.h | |
| MaxNumOuterIterations | int32 | Mesh Wrap is calculated with an inner and outer loop. | Operations/WrapMesh.h | |
| NumInnerIterations | int32 | Mesh Wrap is calculated with an inner and outer loop. | Operations/WrapMesh.h | |
| ProjectionStiffnessMuliplier | double | Each outer loop will multiply InitialProjectionStiffness by this to improve Target Shape match. | Operations/WrapMesh.h | |
| ProjectionTolerance | double | Mesh Wrap will terminate early if the Projection tolerance is within this threshold. | Operations/WrapMesh.h | |
| SourceMeshWeldingThreshold | double | Threshold for welding positions | Operations/WrapMesh.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TPimplPtr< FImpl > | Operations/WrapMesh.h | ||
| SourceMesh | const FDynamicMesh3 * | Operations/WrapMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetMesh
(
const FDynamicMesh3* InSourceMesh |
Operations/WrapMesh.h | ||
void WrapToTargetShape
(
const FDynamicMesh3& TargetShape, |
Operations/WrapMesh.h |