Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshRegionOperator.h |
Include |
#include "Operations/MeshRegionOperator.h" |
class FMeshRegionOperator
This class automatically extracts a submesh from a mesh, and can re-insert it after you have edited it, as long as you have not messed up the boundary
[TODO] Should this share any code w/ RegionRemesher? [TODO] ReinsertSubToBaseMapT is not returned by the FDynamicMeshEditor.ReinsertSubmesh, instead we are trying to guess it here, by making some assumptions about what happens. It works for now, but it would better if FDynamicMeshEditor returned this information.
Name | Description | ||
---|---|---|---|
|
FDynamicMesh3 &... |
BaseMesh |
|
|
TArray< int > |
CurrentBaseTris |
IDs of triangles in the base mesh that correspond to the submesh at time of last Compute or BackPropagate. |
|
Region |
||
|
ReinsertDuplicateTriBehavior |
Handle a tricky problem...see comments for EDuplicateTriBehavior enum |
|
|
ReinsertSubToBaseMapT |
||
|
ReinsertSubToBaseMapV |
This is only valid after BackPropagate() call!! maps submeshverts to base mesh |
Name | Description | |
---|---|---|
|
FMeshRegionOperator ( |
|
|
FMeshRegionOperator ( |
Name | Description | ||
---|---|---|---|
|
BackPropropagate ( |
Remove the original submesh region and merge in the remeshed version. |
|
|
BackPropropagateVertices ( |
Transfer vertex positions in submesh back to base mesh; for use when the vertices in submesh still directly correspond back |
|
|
TSet< int > |
CurrentBaseInteriorVertices() |
|
|
const TArray... |
CurrentBaseTriangles() |
|
|
RepairPossibleNonManifoldEdges() |
After remeshing we may create an internal edge between two boundary vertices [a,b]. |
|
|
SetSubmeshGroupID ( |