Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Implicit
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Implicit/Morphology.h |
| Include | #include "Implicit/Morphology.h" |
Syntax
template<typename TriangleMeshType>
class TImplicitMorphology
Variables
| Type | Name | Description | |
|---|---|---|---|
| TFunction< bool(void)> | CancelF | If this function returns true, we should abort calculation | |
| double | Distance | Distance of offset; should be positive. | |
| double | GridCellSize | Size of the cells used when sampling the distance field | |
| FMarchingCubes | MarchingCubes | Stores result (returned as a const FMeshShapeGenerator) | |
| double | MeshCellSize | Size of the cells used when meshing the output (marching cubes' cube size) | |
| EMorphologyOp | MorphologyOp | ||
| double | NarrowBandMaxDistance | Computed in first pass, re-used in second | |
| const TriangleMeshType * | Source | Inputs | |
| TMeshAABBTree3< TriangleMeshType > * | SourceSpatial |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ComputeFirstPass
(
double UnsignedOffset, |
||
| void | ComputeSecondPass
(
double UnsignedOffset, |
||
| const FMeshShapeGenerator & | Generate () |
||
| void | SetCellSizesAndDistance
(
FAxisAlignedBox3d Bounds, |
Set cell sizes to hit the target voxel counts along the max dimension of the bounds. | |
| void | SetGridCellSize
(
FAxisAlignedBox3d Bounds, |
Set input grid cell size to hit the target voxel counts along the max dimension of the bounds. | |
| void | SetMeshCellSize
(
FAxisAlignedBox3d Bounds, |
Set output meshing cell size to hit the target voxel counts along the max dimension of the bounds. | |
| bool | Validate () |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EMorphologyOp | Morphology operation types |
Typedefs
| Name | Description |
|---|---|
| TMeshSDF |