Navigation
API > API/Plugins > API/Plugins/PoseSearch > API/Plugins/PoseSearch/PoseSearch
Inheritance Hierarchy
- FSearchIndexBase
- FSearchIndex
References
| Module | PoseSearch |
| Header | /Engine/Plugins/Experimental/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchIndex.h |
| Include | #include "PoseSearch/PoseSearchIndex.h" |
Syntax
struct FSearchIndex : public UE::PoseSearch::FSearchIndexBase
Remarks
A search index for animation poses. The structure of the search index is determined by its UPoseSearchSchema. May represent a single animation (see UPoseSearchSequenceMetaData) or a collection (see UPoseSearchDatabase).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FKDTree | KDTree | ||
| TAlignedArray< float > | Mean | ||
| float | PCAExplainedVariance | ||
| TAlignedArray< float > | PCAProjectionMatrix | ||
| TAlignedArray< float > | PCAValues | ||
| TAlignedArray< float > | WeightsSqrt | We store weights square roots to reduce numerical errors when CompareFeatureVectors ((VA - VB) * VW).square().sum() instead of ((VA - VB).square() * VW).sum() since (VA - VB).square() could lead to big numbers, and VW being multiplied by the variance of the dataset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSearchIndex () |
|||
FSearchIndex
(
const FSearchIndex& Other |
|||
FSearchIndex
(
FSearchIndex&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPoseSearchCost | CompareAlignedPoses
(
int32 PoseIdx, |
||
| FPoseSearchCost | ComparePoses
(
int32 PoseIdx, |
||
| TConstArrayView< float > | GetPCAPoseValues
(
int32 PoseIdx |
||
| TConstArrayView< float > | GetPoseValues
(
int32 PoseIdx |
||
| TArray< float > | GetPoseValuesSafe
(
int32 PoseIdx |
||
| TConstArrayView< float > | GetReconstructedPoseValues
(
int32 PoseIdx, |
||
| TConstArrayView< float > | PCAProject
(
TConstArrayView< float > PoseValues, |
||
| void | Reset () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSearchIndex & | operator=
(
const FSearchIndex& Other |
||
| FSearchIndex & | operator=
(
FSearchIndex&& Other |