Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/home/rdbrown/doxygen/cse125g1/src/modules/actor/Joint.h

00001 #ifndef _JOINT_H
00002 #define _JOINT_H
00003 
00004 #include "DOF.h"
00005 #include "Joint.h"
00006 #include "math/vector3.h"
00007 #include "math/matrix34.h"
00008 //#include "tester/TesterApp.h"
00009 #include <vector>
00010 using namespace std;
00011 
00012 class BallJoint {
00013         public:
00014                 BallJoint() {}
00015                 /*
00016                 void DoTester() {
00017                                                 TesterGet()->CreateButton(name,NULL,NULL);
00018                                                 TesterGet()->CreateSlider("x",&(x.val),-7.0f,7.0f,x.GetVal()); 
00019                                                 TesterGet()->CreateSlider("y",&(y.val),-7.0f,7.0f,y.GetVal());
00020                                                 TesterGet()->CreateSlider("z",&(z.val),-7.0f,7.0f,z.GetVal()); }
00021                                                 */
00022                 ~BallJoint() {}
00023                 void Update();
00024                 void Draw();
00025                 void AttachObject(BallJoint *newObject);
00026         
00027         public:
00028                 Matrix34 local, world, binding;
00029                 BallJoint *parent;
00030                 DOF x, y, z;
00031                 DOF xBase, yBase, zBase;
00032                 //char name[32];
00033                 vector<BallJoint *> childObjects;
00034 };
00035 
00036 #endif          //_JOINT_H

Generated on Thu Aug 18 16:03:09 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18