Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_SKELETON_NODE_HH_
18 #define IGNITION_COMMON_SKELETON_NODE_HH_
24 #include <ignition/utils/ImplPtr.hh>
26 #include <gz/common/config.hh>
28 #include <gz/common/graphics/Export.hh>
53 const SkeletonNodeType _type = JOINT);
76 public:
void SetType(
const SkeletonNodeType _type);
80 public:
bool IsJoint()
const;
87 const bool _updateChildren =
true);
94 const bool _updateChildren =
true);
97 public:
void UpdateChildrenTransforms();
106 public:
void Reset(
const bool _resetChildren);
121 public:
bool IsRootNode()
const;
129 public:
unsigned int ChildCount()
const;
134 public:
SkeletonNode *Child(
const unsigned int _index)
const;
148 public:
void Handle(
const unsigned int _h);
152 public:
unsigned int Handle()
const;
156 public:
void SetInverseBindTransform(
const math::Matrix4d &_invBM);
166 public:
bool HasInvBindTransform()
const;
178 public:
unsigned int RawTransformCount()
const;
183 public:
NodeTransform RawTransform(
const unsigned int _i)
const;
194 IGN_UTILS_IMPL_PTR(dataPtr)
Forward declarations for the common classes.
SkeletonNodeType
enumeration of node types
Definition: gz/common/SkeletonNode.hh:39
std::map< unsigned int, SkeletonNode * > SkeletonNodeMap
Definition: gz/common/SkeletonNode.hh:197
A skeleton node.
Definition: gz/common/SkeletonNode.hh:36