TImplicitSolidify

Use marching cubes to remesh a triangle mesh to a solid surface Uses fast winding number to decide what is inside vs outside

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Implicit/Solidify.h

Include

#include "Implicit/Solidify.h"

Syntax

template<typename TriangleMeshType>
class TImplicitSolidify

Remarks

Use marching cubes to remesh a triangle mesh to a solid surface Uses fast winding number to decide what is inside vs outside

Variables

Name Description

Public variable

bool

 

bSolidAtBoundaries

What to do if the surface extends outside the marching cubes bounds if true, puts a solid surface at the boundary

Public variable

TFunction< bool...

 

CancelF

If this function returns true, we should abort calculation

Public variable

double

 

ExtendBounds

How much to extend bounds considered by marching cubes outside the original surface bounds

Protected variable

FMarchingCubes

 

MarchingCubes

Public variable

double

 

MeshCellSize

Size of the cells used when meshing the output (marching cubes' cube size)

Public variable

const TriangleM...

 

Source

Inputs

Public variable

TMeshAABBTree3<...

 

SourceSpatial

Public variable

TFastWindingTre...

 

SourceWinding

Public variable

int

 

SurfaceSearchSteps

How many binary search steps to do when placing surface at boundary

Public variable

double

 

WindingThreshold

Inside/outside winding number threshold

Constructors

Name Description

Public function

TImplicitSolidify

(
    const TriangleMeshType* Source,
    TMeshAABBTree3< TriangleMeshType > ...,
    TFastWindingTree< TriangleMeshType ...
)

Destructors

Name Description

Public function Virtual

~TImplicitSolidify()

Functions

Name Description

Public function

const FMeshS...

 

Generate()

Public function

void

 

SetCellSizeAndExtendBounds

(
    FAxisAlignedBox3d Bounds,
    double ExtendBoundsIn,
    int TargetOutputVoxelCount
)

Set cell size to hit the target voxel count along the max dimension of the bounds

Public function

bool

 

Validate()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss