Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FLevelSet |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Levelset.h |
| Include Path | #include "Chaos/Levelset.h" |
Syntax
class FLevelSet : public Chaos::FImplicitObject
Inheritance Hierarchy
- FChaosRefCountedObject → FImplicitObject → FLevelSet
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLevelSet
(
FErrorReporter& ErrorReporter, |
Chaos/Levelset.h | ||
FLevelSet
(
TUniformGrid< FReal, 3 >&& Grid, |
Chaos/Levelset.h | ||
FLevelSet () |
Chaos/Levelset.h | ||
FLevelSet
(
FErrorReporter& ErrorReporter, |
Chaos/Levelset.h | ||
| Chaos/Levelset.h | |||
| Chaos/Levelset.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLevelSet() |
Chaos/Levelset.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FImplicitObject | friend | Chaos/Levelset.h | ||
| MBandWidth | int32 | Chaos/Levelset.h | ||
| MGrid | TUniformGrid< FReal, 3 > | Chaos/Levelset.h | ||
| MLocalBoundingBox | FAABB3 | Chaos/Levelset.h | ||
| MNormals | TArrayND< FVec3, 3 > | Chaos/Levelset.h | ||
| MOriginalLocalBoundingBox | FAABB3 | Chaos/Levelset.h | ||
| MPhi | TArrayND< FReal, 3 > | Chaos/Levelset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReal ApproximateNegativeMaterial () |
Estimate the volume bounded by the zero'th isocontour of the level set. | Chaos/Levelset.h | |
bool CheckData
(
FErrorReporter& ErrorReporter, |
Chaos/Levelset.h | ||
FReal ComputeLevelSetError
(
const FParticles& InParticles, |
Chaos/Levelset.h | ||
bool ComputeMassProperties
(
FReal& OutVolume, |
Chaos/Levelset.h | ||
const TUniformGrid< FReal, 3 > & GetGrid() |
Returns a const ref to the underlying grid structure. | Chaos/Levelset.h | |
void GetInteriorCells
(
TArray< TVec3< int32 > >& InteriorCells, |
Chaos/Levelset.h | ||
const TArrayND< FVec3, 3 > & GetNormalsArray() |
Returns a const ref to the underlying grid of normals. | Chaos/Levelset.h | |
const TArrayND< FReal, 3 > & GetPhiArray() |
Returns a const ref to the underlying phi grid. | Chaos/Levelset.h | |
| Used to generate a simple debug surface. | Chaos/Levelset.h | ||
void OutputDebugData
(
FErrorReporter& ErrorReporter, |
Output a mesh and level set as obj files. | Chaos/Levelset.h | |
bool OverlapGeom
(
const FConvex& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const FCapsule& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const TBox< FReal, 3 >& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const FSphere& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const TImplicitObjectScaled< TBox< FReal, 3 > >& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const TImplicitObjectScaled< FConvex >& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const TImplicitObjectScaled< FSphere >& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeom
(
const TImplicitObjectScaled< FCapsule >& QueryGeom, |
Chaos/Levelset.h | ||
bool OverlapGeomImp
(
const QueryGeomType& QueryGeom, |
Chaos/Levelset.h | ||
void SerializeImp
(
FArchive& Ar |
Chaos/Levelset.h | ||
void Shrink
(
const FReal Value |
Chaos/Levelset.h | ||
FReal SignedDistance
(
const FVec3& x |
Chaos/Levelset.h | ||
bool SweepGeom
(
const TImplicitObjectScaled< FSphere >& QueryGeom, |
Chaos/Levelset.h | ||
bool SweepGeom
(
const TImplicitObjectScaled< TBox< FReal, 3 > >& QueryGeom, |
Chaos/Levelset.h | ||
| Chaos/Levelset.h | |||
| Chaos/Levelset.h | |||
bool SweepGeom
(
const TBox< FReal, 3 >& QueryGeom, |
Chaos/Levelset.h | ||
bool SweepGeom
(
const FSphere& QueryGeom, |
Chaos/Levelset.h | ||
bool SweepGeom
(
const TImplicitObjectScaled< FCapsule >& QueryGeom, |
Chaos/Levelset.h | ||
bool SweepGeom
(
const FCapsule& QueryGeom, |
Chaos/Levelset.h | ||
bool SweepGeomImp
(
const QueryGeomType& QueryGeom, |
Chaos/Levelset.h |
Overridden from FImplicitObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FAABB3 BoundingBox() |
Chaos/Levelset.h | ||
virtual Chaos::FImplicitObjectPtr CopyGeometry() |
Chaos/Levelset.h | ||
virtual Chaos::FImplicitObjectPtr CopyGeometryWithScale
(
const FVec3& Scale |
Chaos/Levelset.h | ||
virtual uint32 GetTypeHash() |
Chaos/Levelset.h | ||
virtual FReal PhiWithNormal
(
const FVec3& x, |
Find the closest point on the surface, and return the separating distance and axis. | Chaos/Levelset.h | |
virtual void Serialize
(
FChaosArchive& Ar |
Chaos/Levelset.h | ||
| Chaos/Levelset.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EImplicitObjectType StaticType() |
Chaos/Levelset.h |