The Nebula Device 3: Characters::CharacterJoint Class Reference

The Nebula Device 3

Characters::CharacterJoint Class Reference

#include <characterjoint.h>


Detailed Description

Holds shared data of a character joint.

(C) 2008 Radon Labs GmbH

Public Member Functions

 CharacterJoint ()
 constructor
 ~CharacterJoint ()
 destructor
void Setup (IndexT parentJointIndex, const CharacterJoint *parentJoint, const Math::vector &poseTranslation, const Math::quaternion &poseRotation, const Math::vector &poseScale, const Util::StringAtom &name, Math::matrix44 *invPoseMatrixPtr)
 setup the joint
const Util::StringAtomGetName () const
 get the joint's name
bool HasParentJoint () const
 return true if the joint has a parent joint
IndexT GetParentJointIndex () const
 get the parent joint index
const CharacterJointGetParentJoint () const
 get pointer to parent joint (can be 0!)
const Math::vectorGetPoseTranslation () const
 get pose translation
const Math::quaternionGetPoseRotation () const
 get pose rotation
const Math::vectorGetPoseScale () const
 get pose scale
const Math::matrix44GetPoseMatrix () const
 get the pose matrix
const Math::matrix44GetInvPoseMatrix () const
 get the inverse pose matrix