Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FMLLevelSet |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/MLLevelset.h |
| Include Path | #include "Chaos/MLLevelset.h" |
Syntax
class FMLLevelSet : public Chaos::FImplicitObject
Inheritance Hierarchy
- FChaosRefCountedObject → FImplicitObject → FMLLevelSet
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMLLevelSet () |
Chaos/MLLevelset.h | ||
FMLLevelSet
(
FMLLevelSetImportData&& MLLevelSetImportData |
Chaos/MLLevelset.h | ||
FMLLevelSet
(
const FMLLevelSet& Other |
Chaos/MLLevelset.h | ||
FMLLevelSet
(
FMLLevelSet&& Other |
Chaos/MLLevelset.h | ||
FMLLevelSet
(
TObjectPtr< UNNEModelData > InNNESignedDistanceModelData, |
Chaos/MLLevelset.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMLLevelSet() |
Chaos/MLLevelset.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveBoneNames | TArray< FName > | Relative Bone Transform Related Data. | Chaos/MLLevelset.h | |
| ActiveBonesReferenceRotations | TArray< FVector3f > | Chaos/MLLevelset.h | ||
| ActiveBonesReferenceTranslations | TArray< FVector3f > | Chaos/MLLevelset.h | ||
| ActiveBonesRelativeTransforms | TArray< FTransform > | Chaos/MLLevelset.h | ||
| ActiveBonesRotationComponents | TArray< TArray< int32 > > | Chaos/MLLevelset.h | ||
| bUseIncorrectZoneModel | bool | Chaos/MLLevelset.h | ||
| DebugGrid | TUniformGrid< FReal, 3 > | Debug Drawing. | Chaos/MLLevelset.h | |
| DebugPhi | TArrayND< FReal, 3 > | Chaos/MLLevelset.h | ||
| FImplicitObject | friend | Chaos/MLLevelset.h | ||
| IncorrectZoneModelWeights | TArray< TArray< float > > | Chaos/MLLevelset.h | ||
| IncorrectZoneModelWeightsShapes | TArray< TArray< int32 > > | Chaos/MLLevelset.h | ||
| IncorrectZoneNeuralInferences | TArray< FMLLevelSetNeuralInference > | Chaos/MLLevelset.h | ||
| LocalBoundingBox | FAABB3 | Inference Input Transformation. | Chaos/MLLevelset.h | |
| NNEIncorrectZoneModel | TSharedPtr< UE::NNE::IModelCPU > | NNE Incorrect Zone Model Elements ToDo: Move these elements inside a new struct or FMLLevelSetNeuralInference | Chaos/MLLevelset.h | |
| NNESignedDistanceModel | TSharedPtr< UE::NNE::IModelCPU > | NNE ML Model Elements ToDo: Move these elements inside a new struct or FMLLevelSetNeuralInference | Chaos/MLLevelset.h | |
| SignedDistanceModelWeights | TArray< TArray< float > > | Chaos/MLLevelset.h | ||
| SignedDistanceModelWeightsShapes | TArray< TArray< int32 > > | Chaos/MLLevelset.h | ||
| SignedDistanceNeuralInferences | TArray< FMLLevelSetNeuralInference > | Chaos/MLLevelset.h | ||
| SignedDistanceScaling | float | Chaos/MLLevelset.h | ||
| TotalNumberOfRotationComponents | int32 | Chaos/MLLevelset.h | ||
| TrainingGridAxesLengthsXYZ | TArray< float > | Chaos/MLLevelset.h | ||
| TrainingGridMin | FVector3f | Chaos/MLLevelset.h | ||
| TrainingGridUnitAxesXYZ | TArray< FVector3f > | Chaos/MLLevelset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BatchPhiWithNormal
(
const TConstArrayView< Softs::FPAndInvM > PAndInvMArray, |
Chaos/MLLevelset.h | ||
void CreatePhiFromMLModel() |
Chaos/MLLevelset.h | ||
| Chaos/MLLevelset.h | |||
const TUniformGrid< FReal, 3 > & GetGrid() |
Returns a const ref to the underlying grid structure. | Chaos/MLLevelset.h | |
void GetInteriorCells
(
TArray< TVec3< int32 > >& InteriorCells, |
This function uses DebugPhi. Is there a better way to do this, which uses the network directly? | Chaos/MLLevelset.h | |
const int32 GetNumberOfActiveBones() |
Chaos/MLLevelset.h | ||
const TArrayND< FReal, 3 > & GetPhiArray() |
Returns a const ref to the underlying phi grid. | Chaos/MLLevelset.h | |
const FVector3f GetTrainingGridMin() |
Chaos/MLLevelset.h | ||
const FVector3f GetTrainingGridVector
(
int32 Index |
Chaos/MLLevelset.h | ||
void GetZeroIsosurfaceGridCellFaces
(
TArray< FVector3f >& Vertices, |
Used to generate a simple debug surface. | Chaos/MLLevelset.h | |
void SerializeImp
(
FArchive& Ar |
Chaos/MLLevelset.h | ||
FReal SignedDistance
(
const FVec3& x |
This function should not be called. MLLevelSets are only BatchPhiWithNormal friendly | Chaos/MLLevelset.h | |
void UpdateActiveBonesRelativeTransforms
(
TArray< FTransform >& InActiveBonesRelativeTransforms |
Chaos/MLLevelset.h | ||
void UpdateActiveBonesRelativeTransformsAndUpdateDebugPhi
(
TArray< FTransform >& InActiveBonesRelativeTransforms |
Chaos/MLLevelset.h | ||
void UpdateNeuralInferencesNumber
(
const int32 InNeuralInferencesNumber |
Chaos/MLLevelset.h |
Overridden from FImplicitObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FAABB3 BoundingBox() |
Chaos/MLLevelset.h | ||
virtual Chaos::FImplicitObjectPtr CopyGeometry() |
Chaos/MLLevelset.h | ||
virtual Chaos::FImplicitObjectPtr CopyGeometryWithScale
(
const FVec3& Scale |
Chaos/MLLevelset.h | ||
virtual uint32 GetTypeHash() |
Chaos/MLLevelset.h | ||
virtual FReal PhiWithNormal
(
const FVec3& x, |
Find the closest point on the surface, and return the separating distance and axis. | Chaos/MLLevelset.h | |
virtual void Serialize
(
FChaosArchive& Ar |
Chaos/MLLevelset.h | ||
| Chaos/MLLevelset.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EImplicitObjectType StaticType() |
Chaos/MLLevelset.h |