Navigation
API > API/Runtime > API/Runtime/GeometryCore
Use marching cubes to remesh a triangle mesh to a solid surface Uses fast winding number to decide what is inside vs outside
| Name | TImplicitSolidify |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Implicit/Solidify.h |
| Include Path | #include "Implicit/Solidify.h" |
Syntax
template<typename TriangleMeshType>
class TImplicitSolidify
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TImplicitSolidify
(
const TriangleMeshType* Source, |
Implicit/Solidify.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSolidAtBoundaries | bool | What to do if the surface extends outside the marching cubes bounds if true, puts a solid surface at the boundary | Implicit/Solidify.h | |
| bUseCustomBounds | bool | Whether to use a custom bounding box instead of the input mesh bounds to define the domain to solidify | Implicit/Solidify.h | |
| CancelF | TFunction< bool(void)> | If this function returns true, we should abort calculation | Implicit/Solidify.h | |
| CustomBounds | FAxisAlignedBox3d | Custom bounds to use, if bUseCustomBounds == true; ignored otherwise | Implicit/Solidify.h | |
| ExtendBounds | double | How much to extend bounds considered by marching cubes outside the original surface bounds. | Implicit/Solidify.h | |
| MeshCellSize | double | Size of the cells used when meshing the output (marching cubes' cube size) | Implicit/Solidify.h | |
| Source | const TriangleMeshType * | Inputs | Implicit/Solidify.h | |
| SourceSpatial | TMeshAABBTree3< TriangleMeshType > * | Implicit/Solidify.h | ||
| SourceWinding | TFastWindingTree< TriangleMeshType > * | Implicit/Solidify.h | ||
| SurfaceSearchSteps | int | How many binary search steps to do when placing surface at boundary | Implicit/Solidify.h | |
| WindingThreshold | double | Inside/outside winding number threshold | Implicit/Solidify.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FMeshShapeGenerator & Generate() |
Implicit/Solidify.h | ||
void SetCellSizeAndExtendBounds
(
FAxisAlignedBox3d Bounds, |
Set cell size to hit the target voxel count along the max dimension of the bounds | Implicit/Solidify.h | |
bool Validate() |
Implicit/Solidify.h |