17 #ifndef IGNITION_COMMON_SKELETON_HH_ 18 #define IGNITION_COMMON_SKELETON_HH_ 27 #include <ignition/utils/ImplPtr.hh> 30 #include <ignition/common/graphics/Export.hh> 36 class SkeletonAnimation;
40 class IGNITION_COMMON_GRAPHICS_VISIBLE
Skeleton 73 public:
SkeletonNode *NodeByHandle(
const unsigned int _handle)
const;
77 public:
unsigned int NodeCount()
const;
81 public:
unsigned int JointCount()
const;
85 public:
void Scale(
const double _scale);
96 public:
void PrintTransforms()
const;
104 public:
void SetNumVertAttached(
const unsigned int _vertices);
110 public:
void AddVertNodeWeight(
const unsigned int _vertex,
116 public:
unsigned int VertNodeWeightCount(
117 const unsigned int _vertex)
const;
124 const unsigned int _v,
const unsigned int _i)
const;
128 public:
unsigned int AnimationCount()
const;
144 public:
bool AddBvhAnimation(
const std::string &_bvhFile,
double _scale);
151 public:
std::string NodeNameAnimToSkin(
unsigned int _index,
172 private:
void BuildNodeMap();
175 IGN_UTILS_UNIQUE_IMPL_PTR(dataPtr)
Manages an animation, which is a collection of keyframes and the ability to interpolate between the k...
Definition: Animation.hh:43
A skeleton, usually used for animation purposes.
Definition: Skeleton.hh:40
Skeleton animation.
Definition: SkeletonAnimation.hh:39
A skeleton node.
Definition: SkeletonNode.hh:35
Forward declarations for the common classes.