CrystalSpace

Public API Reference

CS::Animation::iSkeletonBoneModel Struct Reference

A bone model holds the physical description of the bone of an CS::Mesh::iAnimatedMesh. More...

#include <imesh/skeletonmodel.h>

Inheritance diagram for CS::Animation::iSkeletonBoneModel:

List of all members.

Public Member Functions

virtual BoneID GetAnimeshBone () const =0
 Return the ID of the bone of the CS::Mesh::iAnimatedMesh associated with this bone model.
virtual
CS::Physics::iJointFactory
GetJointFactory () const =0
 Get the description of the joint of this bone model.
virtual const csOrthoTransformGetJointTransform () const =0
 Get the local transform of the joint of this bone model, relatively to the transform of the animesh's bone.
virtual
CS::Physics::iRigidBodyFactory
GetRigidBodyFactory () const =0
 Get the physical properties of this bone model.
virtual void SetJointFactory (CS::Physics::iJointFactory *factory)=0
 Set the joint factory of this bone model.
virtual void SetJointTransform (const csOrthoTransform &transform)=0
 Set the local transform of the joint of this bone model, relatively to the transform of the animesh's bone.
virtual void SetRigidBodyFactory (CS::Physics::iRigidBodyFactory *factory)=0
 Set the rigid body factory describing the physical properties of this bone model.

Detailed Description

A bone model holds the physical description of the bone of an CS::Mesh::iAnimatedMesh.

Definition at line 209 of file skeletonmodel.h.


Member Function Documentation

virtual BoneID CS::Animation::iSkeletonBoneModel::GetAnimeshBone (  )  const [pure virtual]

Return the ID of the bone of the CS::Mesh::iAnimatedMesh associated with this bone model.

virtual CS::Physics::iJointFactory* CS::Animation::iSkeletonBoneModel::GetJointFactory (  )  const [pure virtual]

Get the description of the joint of this bone model.

Returns:
0 if no joint was defined.
virtual const csOrthoTransform& CS::Animation::iSkeletonBoneModel::GetJointTransform (  )  const [pure virtual]

Get the local transform of the joint of this bone model, relatively to the transform of the animesh's bone.

virtual CS::Physics::iRigidBodyFactory* CS::Animation::iSkeletonBoneModel::GetRigidBodyFactory (  )  const [pure virtual]

Get the physical properties of this bone model.

Returns:
nullptr if no properties were defined.
virtual void CS::Animation::iSkeletonBoneModel::SetJointFactory ( CS::Physics::iJointFactory factory  )  [pure virtual]

Set the joint factory of this bone model.

It describes the properties of the joint linking the physical body of this bone to the one of the parent bone.

virtual void CS::Animation::iSkeletonBoneModel::SetJointTransform ( const csOrthoTransform transform  )  [pure virtual]

Set the local transform of the joint of this bone model, relatively to the transform of the animesh's bone.

virtual void CS::Animation::iSkeletonBoneModel::SetRigidBodyFactory ( CS::Physics::iRigidBodyFactory factory  )  [pure virtual]

Set the rigid body factory describing the physical properties of this bone model.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1