Panda3D
|
00001 #ifndef ODEFIXEDJOINT_H 00002 #define ODEFIXEDJOINT_H 00003 00004 #include "pandabase.h" 00005 #include "typedObject.h" 00006 #include "luse.h" 00007 00008 #include "ode_includes.h" 00009 00010 #include "odeJoint.h" 00011 00012 //////////////////////////////////////////////////////////////////// 00013 // Class : OdeFixedJoint 00014 // Description : 00015 //////////////////////////////////////////////////////////////////// 00016 class EXPCL_PANDAODE OdeFixedJoint : public OdeJoint { 00017 friend class OdeJoint; 00018 00019 private: 00020 OdeFixedJoint(dJointID id); 00021 00022 PUBLISHED: 00023 OdeFixedJoint(OdeWorld &world); 00024 OdeFixedJoint(OdeWorld &world, OdeJointGroup &joint_group); 00025 virtual ~OdeFixedJoint(); 00026 00027 INLINE void set(); 00028 00029 public: 00030 static TypeHandle get_class_type() { 00031 return _type_handle; 00032 } 00033 static void init_type() { 00034 OdeJoint::init_type(); 00035 register_type(_type_handle, "OdeFixedJoint", 00036 OdeJoint::get_class_type()); 00037 } 00038 virtual TypeHandle get_type() const { 00039 return get_class_type(); 00040 } 00041 virtual TypeHandle force_init_type() {init_type(); return get_class_type();} 00042 00043 private: 00044 static TypeHandle _type_handle; 00045 }; 00046 00047 #include "odeFixedJoint.I" 00048 00049 #endif