![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Morphology.h>
Public Types | |
| enum class | EMorphologyOp { Dilate = 0 , Contract = 1 , Close = 2 , Open = 3 } |
Public Member Functions | |
| void | SetCellSizesAndDistance (FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount, int TargetOutputVoxelCount) |
| void | SetGridCellSize (FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount) |
| void | SetMeshCellSize (FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount) |
| bool | Validate () |
| const FMeshShapeGenerator & | Generate () |
Public Attributes | |
| const TriangleMeshType * | Source = nullptr |
| TMeshAABBTree3< TriangleMeshType > * | SourceSpatial = nullptr |
| EMorphologyOp | MorphologyOp = EMorphologyOp::Dilate |
| double | Distance = 1.0 |
| double | GridCellSize = 1.0 |
| double | MeshCellSize = 1.0 |
| bool | bUseCustomBounds = false |
| FAxisAlignedBox3d | CustomBounds |
| TFunction< bool(void)> | CancelF |
Protected Types | |
| template<typename MeshType > | |
| using | TMeshSDF = TSparseNarrowBandMeshSDF< MeshType > |
Protected Member Functions | |
| void | ComputeFirstPass (double UnsignedOffset, double SignedOffset) |
| void | ComputeSecondPass (double UnsignedOffset, double SignedOffset) |
Protected Attributes | |
| FMarchingCubes | MarchingCubes |
| double | NarrowBandMaxDistance |
|
protected |
|
strong |
Morphology operation types
|
inlineprotected |
..... then remove this line
|
inlineprotected |
..... then remove this line
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool UE::Geometry::TImplicitMorphology< TriangleMeshType >::bUseCustomBounds = false |
Whether to use a custom bounding box instead of the input mesh bounds to define the domain to solidify
| TFunction<bool(void)> UE::Geometry::TImplicitMorphology< TriangleMeshType >::CancelF |
if this function returns true, we should abort calculation
| FAxisAlignedBox3d UE::Geometry::TImplicitMorphology< TriangleMeshType >::CustomBounds |
Custom bounds to use, if bUseCustomBounds == true; ignored otherwise
| double UE::Geometry::TImplicitMorphology< TriangleMeshType >::Distance = 1.0 |
| double UE::Geometry::TImplicitMorphology< TriangleMeshType >::GridCellSize = 1.0 |
|
protected |
| double UE::Geometry::TImplicitMorphology< TriangleMeshType >::MeshCellSize = 1.0 |
| EMorphologyOp UE::Geometry::TImplicitMorphology< TriangleMeshType >::MorphologyOp = EMorphologyOp::Dilate |
|
protected |
| const TriangleMeshType* UE::Geometry::TImplicitMorphology< TriangleMeshType >::Source = nullptr |
Inputs
| TMeshAABBTree3<TriangleMeshType>* UE::Geometry::TImplicitMorphology< TriangleMeshType >::SourceSpatial = nullptr |