Classes | |
struct | InitSettings |
Public Types | |
enum | FeatureScalerType { StandardScalerType = 0 , MinMaxScalerType = 1 } |
Public Member Functions | |
AZ_CLASS_ALLOCATOR_DECL | MotionMatchingData (const FeatureSchema &featureSchema) |
bool | Init (const InitSettings &settings) |
void | Clear () |
const FrameDatabase & | GetFrameDatabase () const |
FrameDatabase & | GetFrameDatabase () |
const FeatureSchema & | GetFeatureSchema () const |
const FeatureMatrix & | GetFeatureMatrix () const |
FeatureMatrixTransformer * | GetFeatureTransformer () |
const KdTree & | GetKdTree () const |
const AZStd::vector< Feature * > & | GetFeaturesInKdTree () const |
Protected Member Functions | |
bool | ExtractFeatures (ActorInstance *actorInstance, FrameDatabase *frameDatabase) |
Extract features from the motion database (multi-threaded). | |
Static Protected Member Functions | |
static void | ExtractFeatureValuesRange (ActorInstance *actorInstance, FrameDatabase &frameDatabase, const FeatureSchema &featureSchema, FeatureMatrix &featureMatrix, size_t startFrame, size_t endFrame) |
Extract features for a given range of frames and store the values in the feature matrix. | |
Protected Attributes | |
const size_t | s_numFramesPerBatch = 1000 |
Number of frames per task in the multi-threaded feature extraction routine. | |
FrameDatabase | m_frameDatabase |
const FeatureSchema & | m_featureSchema |
FeatureMatrix | m_featureMatrix |
AZStd::unique_ptr< FeatureMatrixTransformer > | m_featureTransformer |
AZStd::unique_ptr< KdTree > | m_kdTree |
AZStd::vector< Feature * > | m_featuresInKdTree |