00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __NEADAPTOR_H
00028 #define __NEADAPTOR_H
00029
00030
00037 #include "base.h"
00038 #include "bone.h"
00039 #include "scenenode.h"
00040 #include "skeleton.h"
00041
00042
00043 namespace NeoEngine
00044 {
00045
00046
00052 class NEOENGINE_API BoneAdaptor : public virtual BaseVisitable, public Bone
00053 {
00054 friend class Skeleton;
00055
00056 public:
00057
00058 DefineVisitable();
00059
00060
00061 protected:
00062
00064 Skeleton *m_pkSkeleton;
00065
00067 SceneNode *m_pkSceneNode;
00068
00069
00070 public:
00071
00078 inline BoneAdaptor( Skeleton *pkSkeleton, Bone *pkParent, SceneNode *pkNode );
00079
00086 inline BoneAdaptor( BoneAdaptor &rkNode, Skeleton *pkSkeleton, Bone *pkParent );
00087
00091 virtual ~BoneAdaptor();
00092
00100 inline virtual void NotifyUpdate( bool bRecurse = true );
00101
00108 virtual BoneAdaptor *Duplicate( Skeleton *pkSkeleton, Bone *pkParent );
00109 };
00110
00111
00112 };
00113
00114
00115 #endif