Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_SKELETON_HH_
18 #define IGNITION_COMMON_SKELETON_HH_
25 #include <gz/math/Matrix4.hh>
27 #include <ignition/utils/ImplPtr.hh>
29 #include <gz/common/config.hh>
31 #include <gz/common/graphics/Export.hh>
37 class SkeletonAnimation;
41 class IGNITION_COMMON_GRAPHICS_VISIBLE
Skeleton
74 public:
SkeletonNode *NodeByHandle(
const unsigned int _handle)
const;
78 public:
unsigned int NodeCount()
const;
82 public:
unsigned int JointCount()
const;
86 public:
void Scale(
const double _scale);
97 public:
void PrintTransforms()
const;
105 public:
void SetNumVertAttached(
const unsigned int _vertices);
111 public:
void AddVertNodeWeight(
const unsigned int _vertex,
117 public:
unsigned int VertNodeWeightCount(
118 const unsigned int _vertex)
const;
125 const unsigned int _v,
const unsigned int _i)
const;
129 public:
unsigned int AnimationCount()
const;
145 public:
bool AddBvhAnimation(
const std::string &_bvhFile,
double _scale);
152 public:
std::string NodeNameAnimToSkin(
unsigned int _index,
173 private:
void BuildNodeMap();
176 IGN_UTILS_UNIQUE_IMPL_PTR(dataPtr)
Forward declarations for the common classes.
A skeleton, usually used for animation purposes.
Definition: gz/common/Skeleton.hh:41
Manages an animation, which is a collection of keyframes and the ability to interpolate between the k...
Definition: gz/common/Animation.hh:44
Skeleton animation.
Definition: gz/common/SkeletonAnimation.hh:40
A skeleton node.
Definition: gz/common/SkeletonNode.hh:36