|
| AZ_RTTI (KdTree, "{CDA707EC-4150-463B-8157-90D98351ACED}") |
|
bool | Init (const FrameDatabase &frameDatabase, const FeatureMatrix &featureMatrix, const AZStd::vector< Feature * > &features, size_t maxDepth=10, size_t minFramesPerLeaf=1000) |
|
void | Clear () |
|
void | PrintStats () |
|
size_t | GetNumNodes () const |
|
size_t | GetNumDimensions () const |
|
size_t | CalcMemoryUsageInBytes () const |
|
bool | IsInitialized () const |
|
void | FindNearestNeighbors (const AZStd::vector< float > &frameFloats, AZStd::vector< size_t > &resultFrameIndices) const |
|
◆ CalcNumDimensions()
static size_t EMotionFX::MotionMatching::KdTree::CalcNumDimensions |
( |
const AZStd::vector< Feature * > & |
features | ) |
|
|
static |
Calculate the number of dimensions or values for the given feature set. Each feature might store one or multiple values inside the feature matrix and the number of values each feature holds varies with the feature type. This calculates the sum of the number of values of the given feature set.
The documentation for this class was generated from the following file:
- Gems/MotionMatching/Code/Source/KdTree.h