odeSimpleSpace.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Filename: odeSimpleSpace.h
  2. // Created by: joswilso (27Dec06)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. #ifndef ODESIMPLESPACE_H
  15. #define ODESIMPLESPACE_H
  16. #include "pandabase.h"
  17. #include "luse.h"
  18. #include "ode_includes.h"
  19. #include "odeSpace.h"
  20. ////////////////////////////////////////////////////////////////////
  21. // Class : OdeSimpleSpace
  22. // Description :
  23. ////////////////////////////////////////////////////////////////////c
  24. class EXPCL_PANDAODE OdeSimpleSpace : public OdeSpace {
  25. friend class OdeSpace;
  26. friend class OdeGeom;
  27. private:
  28. OdeSimpleSpace(dSpaceID id);
  29. PUBLISHED:
  30. OdeSimpleSpace();
  31. OdeSimpleSpace(OdeSpace &space);
  32. virtual ~OdeSimpleSpace();
  33. public:
  34. static TypeHandle get_class_type() {
  35. return _type_handle;
  36. }
  37. static void init_type() {
  38. OdeSpace::init_type();
  39. register_type(_type_handle, "OdeSimpleSpace",
  40. OdeSpace::get_class_type());
  41. }
  42. virtual TypeHandle get_type() const {
  43. return get_class_type();
  44. }
  45. virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
  46. private:
  47. static TypeHandle _type_handle;
  48. };
  49. #include "odeSimpleSpace.I"
  50. #endif