Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
Include |
#include "Operations/RemoveOccludedTriangles.h" |
template<typename OccluderTriangleMeshType>
class TRemoveOccludedTriangles
Remove "occluded" triangles, i.e. triangles on the "inside" of the mesh(es). This is a fuzzy definition, current implementation has a couple of options including a winding number-based version and an ambient-occlusion-ish version, where if face is occluded for all test rays, then we classify it as inside and remove it.
Name | Description | ||
---|---|---|---|
|
int |
AddRandomRays |
Number of additional ray directions to add to raycast-based occlusion checks, beyond the default +/- major axis directions |
|
int |
AddTriangleSamples |
Number of additional samples to add per triangle |
|
bRemoveFailed |
True if it wanted to remove triangles but the actual remove operation failed |
|
|
InsideMode |
||
|
FDynamicMesh3 &... |
Mesh |
|
|
double |
NormalOffset |
We nudge points out by this amount to try to counteract numerical issues |
|
Progress |
Set this to be able to cancel running operation |
|
|
TArray< int > |
RemovedT |
Indices of removed triangles. will be empty if nothing removed |
|
TriangleSamplingMethod |
Input settings |
|
|
double |
WindingIsoValue |
Use this as winding isovalue for WindingNumber mode |
Name | Description | |
---|---|---|
|
TRemoveOccludedTriangles ( |
Name | Description | |
---|---|---|
|
~TRemoveOccludedTriangles() |
Name | Description | ||
---|---|---|---|
|
Apply ( |
Remove the occluded triangles single instance case w/out precomputed winding tree |
|
|
Apply ( |
Remove the occluded triangles, considering the given occluder AABB tree (which may represent more geometry than a single mesh) See simpler invocations below for the single instance case or the case where you'd like the spatial data structures built for you |
|
|
Apply ( |
Remove the occluded triangles single instance case |
|
|
Cancelled() |
If this returns true, abort computation. |
|
|
EOperationVa... |
Validate() |