载入中...
搜索中...
未找到
MotionFeatureLayout.h
浏览该文件的文档.
1#pragma once
2#include <cstdint>
3#include <string>
4#include <vector>
5
6namespace eve::animation {
8enum class MotionFeatureKind : std::uint8_t { Position, Velocity, Heading, Curve };
10enum class MotionFeatureSource : std::uint8_t { Pose, Trajectory };
12enum class MotionFeatureQuery : std::uint8_t { Character, Continuing };
13
39
47 int sampleRate = 30;
48 std::vector<MotionFeatureChannel> channels;
54};
55
62 float seconds = 0.f;
63 float x = 0.f, y = 0.f, z = 0.f;
64 float vx = 0.f, vy = 0.f, vz = 0.f;
65 float yaw = 0.f;
66};
67
73 std::string curve;
74 float seconds = 0.f;
75 float value = 0.f;
76};
77} // namespace eve::animation
MotionFeatureKind
Vector or scalar operation encoded by a motion-search channel.
MotionFeatureQuery
Query data policy while a valid continuing pose exists.
MotionFeatureSource
Source of a channel's samples.
Owning configuration for one ordered motion feature channel.
Copied evaluated scalar curve query at a schema-relative time.
Owning ordered feature layout; copied atomically by a database.
std::vector< MotionFeatureChannel > channels
float normalizationLengthScale
Scale applied to metre-based position/velocity features before pooling; dimensionless headings,...
Copied trajectory sample at an explicit offset from the current frame.