COGS
Computer Graphics Structures library
SkeletonPose.h
1 #ifndef COGS_SKELETON_POSE_H
2 #define COGS_SKELETON_POSE_H
3 #include <COGS/BoneTransform.h>
4 
5 namespace cogs
6 {
8  struct COGS_API SkeletonPose
9  {
13  std::vector<BoneTransform> bone_transforms;
14 
22  void InterpolateWith(const SkeletonPose &target_pose, float target_weight, SkeletonPose *out_pose) const;
23  };
24 }
25 #endif /* !COGS_SKELETON_POSE_H */
std::vector< BoneTransform > bone_transforms
Per-bone specific transformations.
Definition: SkeletonPose.h:13
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Class used for effective management of transformation matrix by handling translation, rotation and scaling separately.
Definition: Transform.h:26
Structure used for storage of specific configuration of bone transformations in a skeleton...
Definition: SkeletonPose.h:8
Transform root_transform
Transformation matrix used for all bones in the skeleton.
Definition: SkeletonPose.h:11