FRBFSolver

Library of Radial Basis Function solver functions

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/RBF/RBFSolver.h

Include

#include "RBF/RBFSolver.h"

Syntax

struct FRBFSolver

Remarks

Library of Radial Basis Function solver functions

Functions

Name Description

Public function Static

float

 

FindDistanceBetweenEntries

(
    const FRBFEntry& A,
    const FRBFEntry& B,
    const FRBFParams& Params,
    ERBFDistanceMethod OverrideMethod
)

Util to find distance between two entries, using provided params

Public function Static

bool

 

FindTargetNeighbourDistances

(
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...,
    TArray< float >& NeighbourDists
)

Util to find distance to nearest neighbour target for each target

Public function Static

float

 

GetOptimalRadiusForTargets

(
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...
)

Compute the optimal radius for the given targets. Returns the radius

Public function Static

float

 

GetRadiusForTarget

(
    const FRBFTarget& Target,
    const FRBFParams& Params
)

Returns the radius for a given target

Public function Static

TSharedPtr< ...

 

InitSolver

(
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...
)

Given a set of targets and new input entry, give list of activated targets with weights

Public function Static

bool

 

IsSolverDataValid

(
    const FRBFSolverData& SolverData,
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...
)

Public function Static

void

 

Solve

(
    const FRBFSolverData& SolverData,
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...,
    const FRBFEntry& Input,
    TArray< FRBFOutputWeight >& Output...
)

Given a set of targets and new input entry, give list of activated targets with weights

Public function Static

bool

 

ValidateTargets

(
    const FRBFParams& Params,
    const TArray< FRBFTarget >& Target...,
    TArray< int >& InvalidTargets
)

Given a list of targets, verify which ones are valid for solving the RBF setup.