Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TImplicitMorphology |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Implicit/Morphology.h |
| Include Path | #include "Implicit/Morphology.h" |
Syntax
template<typename TriangleMeshType>
class TImplicitMorphology
Enums
Public
| Name | Remarks |
|---|---|
| EMorphologyOp | Morphology operation types |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TMeshSDF | TSparseNarrowBandMeshSDF< MeshType > | Implicit/Morphology.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxTargetVoxelCount | int32 | Set a max target voxel count s.t. | Implicit/Morphology.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseCustomBounds | bool | Whether to use a custom bounding box instead of the input mesh bounds to define the domain to solidify | Implicit/Morphology.h | |
| CancelF | TFunction< bool(void)> | If this function returns true, we should abort calculation | Implicit/Morphology.h | |
| CustomBounds | FAxisAlignedBox3d | Custom bounds to use, if bUseCustomBounds == true; ignored otherwise | Implicit/Morphology.h | |
| Distance | double | Distance of offset; should be positive. | Implicit/Morphology.h | |
| GridCellSize | double | Size of the cells used when sampling the distance field | Implicit/Morphology.h | |
| MeshCellSize | double | Size of the cells used when meshing the output (marching cubes' cube size) | Implicit/Morphology.h | |
| MorphologyOp | EMorphologyOp | Implicit/Morphology.h | ||
| Source | const TriangleMeshType * | Inputs | Implicit/Morphology.h | |
| SourceSpatial | TMeshAABBTree3< TriangleMeshType > * | Implicit/Morphology.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FMeshShapeGenerator & Generate() |
Implicit/Morphology.h | ||
void SetCellSizesAndDistance
(
FAxisAlignedBox3d Bounds, |
Set cell sizes to hit the target voxel counts along the max dimension of the bounds. | Implicit/Morphology.h | |
void SetGridCellSize
(
FAxisAlignedBox3d Bounds, |
Set input grid cell size to hit the target voxel counts along the max dimension of the bounds. | Implicit/Morphology.h | |
void SetMeshCellSize
(
FAxisAlignedBox3d Bounds, |
Set output meshing cell size to hit the target voxel counts along the max dimension of the bounds. | Implicit/Morphology.h | |
bool Validate() |
Implicit/Morphology.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComputeFirstPass
(
double UnsignedOffset, |
Implicit/Morphology.h | ||
void ComputeSecondPass
(
double UnsignedOffset, |
Implicit/Morphology.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static double GetSafeCellSize
(
double BoundsWidth, |
Adjust cell size so that a cell count based on (BoundsWidth/InitialCellSize + ExtraCellCount) should not (too far) exceed MaxTargetVoxelCount. | Implicit/Morphology.h |