Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Warnings * Currently "boundary" edges of the ROI that are split will result in the ROI growing to include both new edges created by the split.
FSubRegionRemesher is an extension of FRemesher that allows for constraining remeshing to a localized region of a mesh. Currently this is initialized from a Vertex ROI.
Currently "boundary" edges of the ROI that are split will result in the ROI growing to include both new edges created by the split.
| Name | FSubRegionRemesher |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/SubRegionRemesher.h |
| Include Path | #include "SubRegionRemesher.h" |
Syntax
class FSubRegionRemesher : public UE::Geometry::FRemesher
Inheritance Hierarchy
- FMeshRefinerBaseFixLayout → FMeshRefinerBase → FRemesher → FSubRegionRemesher
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubRegionRemesher
(
FDynamicMesh3* Mesh |
SubRegionRemesher.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS ~FSubRegionRemesher() |
SubRegionRemesher.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginTrackRemovedTrisInPass() |
Call before BasicRemeshPass() to enable tracking of removed triangles | SubRegionRemesher.h | |
const TSet< int32 > & EndTrackRemovedTrisInPass() |
Call after BasicRemeshPass() to disable and return tracking of removed triangles | SubRegionRemesher.h | |
TSet< int > && ExtractFinalTriangleROI () |
Extract final triangle ROI. | SubRegionRemesher.h | |
const TArray< int > & GetCurrentEdgeArray () |
This is only valid after calling UpdateROI() and before calling BasicRemeshPass(). | SubRegionRemesher.h | |
const TSet< int > & GetCurrentEdgeROI() |
SubRegionRemesher.h | ||
const TSet< int > & GetCurrentTriangleROI() |
SubRegionRemesher.h | ||
const TSet< int > & GetCurrentVertexROI() |
SubRegionRemesher.h | ||
void InitializeFromTriangleROI
(
const TSet< int >& InTriangleROI |
SubRegionRemesher.h | ||
void InitializeFromVertexROI () |
Initialize edge-subregion ROI from the VertexROI member that has been externally initialized. | SubRegionRemesher.h | |
void Reset() |
SubRegionRemesher.h | ||
void SaveActiveROI
(
FDynamicMeshChangeTracker* Change |
Tell a MeshChangeTracker about the set of triangles that we might modify in the next remesh pass. | SubRegionRemesher.h | |
void SetInitialVertexROI
(
const TSet< int >& Vertices |
SubRegionRemesher.h | ||
void SetInitialVertexROI
(
TSet< int >&& Vertices |
SubRegionRemesher.h | ||
void SetInitialVertexROI
(
const TArray< int >& Vertices |
SubRegionRemesher.h | ||
void UpdateROI () |
Update the internal data structures in preparation for a call to FRemesher::BasicRemeshPass. | SubRegionRemesher.h |
Overridden from FRemesher
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BasicRemeshPass() |
Forwards to FRemesher::BasicRemeshPass | SubRegionRemesher.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddEdgeToTriangleROI
(
int EdgeID |
SubRegionRemesher.h | ||
void AddVertexToTriangleROI
(
int VertexID |
SubRegionRemesher.h | ||
EVertexControl VertexFilter
(
int VertexID |
SubRegionRemesher.h |
Overridden from FRemesher
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FullSmoothPass_Buffer
(
bool bParallel |
Applies a smoothing pass to the mesh, storing intermediate positions in a buffer and then writing them at the end (so, no order effect) | SubRegionRemesher.h | |
virtual int GetNextEdge
(
int CurEdgeID, |
SubRegionRemesher.h | ||
virtual void OnEdgeCollapse
(
int EdgeID, |
Callback for subclasses to override to implement custom behavior | SubRegionRemesher.h | |
virtual void OnEdgeFlip
(
int EdgeID, |
Callback for subclasses to override to implement custom behavior | SubRegionRemesher.h | |
virtual void OnEdgeSplit
(
int EdgeID, |
Callbacks and in-progress information Callback for subclasses to override to implement custom behavior | SubRegionRemesher.h | |
virtual int StartEdges() |
Specialization of Remesher functionality | SubRegionRemesher.h |