Navigation
API > API/Runtime > API/Runtime/GeometryCore
Use marching cubes to remesh an arbitrary function that provides a winding-number like scalar value to a solid surface
| Name | FWindingNumberBasedSolidify |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Implicit/Solidify.h |
| Include Path | #include "Implicit/Solidify.h" |
Syntax
class FWindingNumberBasedSolidify
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWindingNumberBasedSolidify
(
TUniqueFunction< double(const FVector3d&)> WindingFunctionIn, |
Implicit/Solidify.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FWindingNumberBasedSolidify() |
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 | |
| CancelF | TFunction< bool(void)> | If this function returns true, we should abort calculation | Implicit/Solidify.h | |
| ExtendBounds | double | How much to extend bounds considered by marching cubes outside the original surface bounds | Implicit/Solidify.h | |
| FunctionBounds | FAxisAlignedBox3d | Bounds within which we will mesh things | Implicit/Solidify.h | |
| MeshCellSize | double | Size of the cells used when meshing the output (marching cubes' cube size) | Implicit/Solidify.h | |
| SeedPoints | TArray< FVector3d > | Seed points for meshing | Implicit/Solidify.h | |
| SurfaceSearchSteps | int | How many binary search steps to do when placing surface at boundary | Implicit/Solidify.h | |
| WindingFunction | TUniqueFunction< double(const FVector3d &)> | Inputs External Winding-Number Function | 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
(
const 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 |