31 INLINE
int EggJointData::
32 get_num_children()
const {
33 return _children.size();
42 get_child(
int n)
const {
43 nassertr(n >= 0 && n < (
int)_children.size(), (
EggJointData *)NULL);
57 joint = find_joint_matches(name);
73 return _has_rest_frame;
86 return _rest_frames_differ;
113 _new_parent = new_parent;
void reparent_to(EggJointData *new_parent)
Indicates an intention to change the parent of this joint to the indicated joint, or NULL to remove i...
bool rest_frames_differ() const
Returns true if the rest frames for different models differ in their initial value.
This is a 4-by-4 transform matrix.
EggJointData * find_joint(const string &name)
Returns the first descendent joint found with the indicated name, or NULL if no joint has that name...
bool has_rest_frame() const
Returns true if the joint knows its rest frame, false otherwise.
const LMatrix4d & get_rest_frame() const
Returns the rest frame of the joint.
static const LMatrix4d & ident_mat()
Returns an identity matrix.
This is one node of a hierarchy of EggJointData nodes, each of which represents a single joint of the...