Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshRefinerBase.h |
Include |
#include "MeshRefinerBase.h" |
class FMeshRefinerBase
This is a base class that implements common functionality for various triangle mesh resampling strategies (ie FRemesher and FReducer). You probably should not use this class directly.
Name | Description | ||
---|---|---|---|
|
ActiveChangeTracker |
||
|
AllowCollapseFixedVertsWithSameSetID |
If true, then when two Fixed vertices have the same non-invalid SetID, we treat them as not fixed and allow collapse |
|
|
Constraints |
Constraints are used to control how certain edges and vertices can be modified |
|
|
int |
DEBUG_CHECK_LEVEL |
0 = no checking, 1 = check constraints each pass, 2 = and check validity each pass, 3 = and check validity after every mesh change (v slow but best for debugging) |
|
TArray< int > |
DebugEdges |
This is a debugging aid, will break to debugger if these edges are touched, in debug builds |
|
double |
EdgeFlipTolerance |
If normals dot product is less than this, we consider it a normal flip. default = 0 |
|
ENABLE_PROFILING |
Set to true to profile various passes |
|
|
FDynamicMesh3 &... |
Mesh |
Mesh that will be refined |
|
Progress |
Set this to be able to cancel running Remesher/Reducer |
|
|
ProjectionMode |
Method to use to project vertices onto target surface. Default is no projection. |
|
|
ProjTarget |
Vertices can be projected onto this surface when they are modified |
|
|
VertexControlF |
This function allows client to specify fine-grained control over what happens to specific vertices. |
Name | Description | |
---|---|---|
|
FMeshRefinerBase() |
|
|
FMeshRefinerBase ( |
|
|
FMeshRefinerBase ( |
|
|
FMeshRefinerBase ( |
Name | Description | |
---|---|---|
|
~FMeshRefinerBase() |
Name | Description | ||
---|---|---|---|
|
Cancelled() |
If this returns true, abort computation. |
|
|
CanCollapseEdge ( |
Figure out if we can collapse edge eid=[a,b] under current constraint set. |
|
|
CanCollapseVertex ( |
Resolve vertex constraints for collapsing edge eid=[a,b]. |
|
|
CheckIfCollapseCreatesFlipOrInvalid ( |
Check if edge collapse will create a face-normal flip. |
|
|
CheckIfFlipInvertsNormals ( |
Check if edge flip might reverse normal direction. |
|
|
double |
ComputeEdgeFlipMetric |
|
|
DebugCheckUVSeamConstraints() |
||
|
DebugCheckVertexConstraints() |
||
|
DoDebugChecks ( |
||
|
const TOptio... |
GetConstraints() |
Get the current mesh constraints |
|
double |
GetEdgeFlipTolerance() |
|
|
FDynamicMesh... |
GetMesh() |
Get the current mesh we are operating on |
|
GetVertexConstraint ( |
||
|
FVertexConst... |
GetVertexConstraint ( |
|
|
IsVertexPositionConstrained ( |
||
|
IProjectionT... |
ProjectionTarget() |
Get the current Projection Target |
|
RuntimeDebugCheck ( |
Testing/debug/profiling stuff |
|
|
SaveEdgeBeforeModify ( |
||
|
SaveTriangleBeforeModify ( |
||
|
SaveVertexTrianglesBeforeModify ( |
||
|
SetEdgeFlipTolerance ( |
Set edge flip tolerance. Value is clamped to range [-1,1] |
|
|
SetExternalConstraints ( |
Set external constraints. that this object will be updated during computation. |
|
|
SetMeshChangeTracker ( |
Mesh Change Tracking support |
|
|
SetProjectionTarget ( |
Set a Projection Target |
Name | Description | ||
---|---|---|---|
|
FMeshRefiner... |
operator= ( |
|
|
FMeshRefiner... |
operator= ( |
Name |
Description |
|
---|---|---|
|
ETargetProjectionMode |
Options for projecting vertices onto target surface |
|
EVertexControl |