Go to the documentation of this file.
17 #ifndef GZ_COMMON_SKELETON_HH_
18 #define GZ_COMMON_SKELETON_HH_
25 #include <gz/math/Matrix4.hh>
27 #include <gz/common/graphics/Export.hh>
34 class SkeletonPrivate;
35 class SkeletonAnimation;
39 class IGNITION_COMMON_GRAPHICS_VISIBLE
Skeleton
72 public:
SkeletonNode *NodeByHandle(
const unsigned int _handle)
const;
76 public:
unsigned int NodeCount()
const;
80 public:
unsigned int JointCount()
const;
84 public:
void Scale(
const double _scale);
95 public:
void PrintTransforms()
const;
103 public:
void SetNumVertAttached(
const unsigned int _vertices);
109 public:
void AddVertNodeWeight(
const unsigned int _vertex,
115 public:
unsigned int VertNodeWeightCount(
116 const unsigned int _vertex)
const;
123 const unsigned int _v,
const unsigned int _i)
const;
127 public:
unsigned int AnimationCount()
const;
143 public:
bool AddBvhAnimation(
const std::string &_bvhFile,
double _scale);
150 public:
std::string NodeNameAnimToSkin(
unsigned int _index,
171 private:
void BuildNodeMap();
174 private: SkeletonPrivate *data;
Forward declarations for the common classes.
A skeleton, usually used for animation purposes.
Definition: gz/common/Skeleton.hh:39
Manages an animation, which is a collection of keyframes and the ability to interpolate between the k...
Definition: gz/common/Animation.hh:42
Skeleton animation.
Definition: gz/common/SkeletonAnimation.hh:40
A skeleton node.
Definition: gz/common/SkeletonNode.hh:36