23template<
typename TriangleMeshType>
139 template<
typename MeshType>
152 ComputedSDF.ComputeMode = MeshSDFType::EComputeModes::NarrowBand_SpatialFloodFill;
165 ComputedSDF.ComputeMode = MeshSDFType::EComputeModes::NarrowBandOnly;
254 SecondSDF.ComputeMode = MeshSDFType::EComputeModes::NarrowBand_SpatialFloodFill;
262 SecondSDF.ComputeMode = MeshSDFType::EComputeModes::NarrowBandOnly;
316 static constexpr int32 MaxTargetVoxelCount = 1200;
#define ensure( InExpression)
Definition AssertionMacros.h:464
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define TRACE_CPUPROFILER_EVENT_SCOPE(Name)
Definition CpuProfilerTrace.h:528
const bool
Definition NetworkReplayStreaming.h:178
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
Definition AndroidPlatformMisc.h:14
static RealType Abs(const RealType Value)
Definition MathUtil.h:215
Definition MarchingCubes.h:51
TFunction< bool(void)> CancelF
Definition MarchingCubes.h:106
double CubeSize
Definition MarchingCubes.h:74
FMeshShapeGenerator & Generate() override
Definition MarchingCubes.h:134
double IsoValue
Definition MarchingCubes.h:62
ERootfindingModes RootMode
Definition MarchingCubes.h:97
TAxisAlignedBox3< double > Bounds
Definition MarchingCubes.h:68
TFunction< double(TVector< double >)> Implicit
Definition MarchingCubes.h:56
bool bEnableValueCaching
Definition MarchingCubes.h:87
Definition MeshShapeGenerator.h:19
void Reset()
Definition MeshShapeGenerator.h:80
TArray< FIndex3i > Triangles
Definition MeshShapeGenerator.h:35
TArray< FVector3d > Vertices
Definition MeshShapeGenerator.h:22
Definition Morphology.h:25
double GridCellSize
Definition Morphology.h:54
EMorphologyOp
Definition Morphology.h:29
EMorphologyOp MorphologyOp
Definition Morphology.h:48
void SetMeshCellSize(FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount)
Definition Morphology.h:81
double NarrowBandMaxDistance
Definition Morphology.h:98
const TriangleMeshType * Source
Definition Morphology.h:46
TFunction< bool(void)> CancelF
Definition Morphology.h:88
FAxisAlignedBox3d CustomBounds
Definition Morphology.h:63
bool Validate()
Definition Morphology.h:101
double MeshCellSize
Definition Morphology.h:57
void ComputeFirstPass(double UnsignedOffset, double SignedOffset)
Definition Morphology.h:142
void SetGridCellSize(FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount)
Definition Morphology.h:74
double Distance
Definition Morphology.h:51
const FMeshShapeGenerator & Generate()
Definition Morphology.h:108
TMeshAABBTree3< TriangleMeshType > * SourceSpatial
Definition Morphology.h:47
void SetCellSizesAndDistance(FAxisAlignedBox3d Bounds, double DistanceIn, int TargetInputVoxelCount, int TargetOutputVoxelCount)
Definition Morphology.h:66
FMarchingCubes MarchingCubes
Definition Morphology.h:95
bool bUseCustomBounds
Definition Morphology.h:60
void ComputeSecondPass(double UnsignedOffset, double SignedOffset)
Definition Morphology.h:215
Definition MeshAABBTree3.h:61
static double AverageEdgeLength(const TriangleMeshType &Mesh)
Compute the mean edge length for the given mesh.
Definition MeshQueries.h:483
Definition SparseNarrowBandMeshSDF.h:49
const TriangleMeshType * Mesh
Definition SparseNarrowBandMeshSDF.h:53
Definition GridInterpolant.h:29
RealType Value(const TVector< RealType > &Pt) const
Definition GridInterpolant.h:71
Definition AdvancedWidgetsModule.cpp:13
void Expand(RealType Radius)
Definition BoxTypes.h:618
RealType MaxDim() const
Definition BoxTypes.h:598
Definition MeshAdapter.h:395