Panda3D
 All Classes Functions Variables Enumerations
odeQuadTreeSpace.h
1 // Filename: odeQuadTreeSpace.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 
15 #ifndef ODEQUADTREESPACE_H
16 #define ODEQUADTREESPACE_H
17 
18 #include "pandabase.h"
19 #include "luse.h"
20 
21 #include "ode_includes.h"
22 #include "odeSpace.h"
23 
24 
25 ////////////////////////////////////////////////////////////////////
26 // Class : OdeQuadTreeSpace
27 // Description :
28 ////////////////////////////////////////////////////////////////////c
29 class EXPCL_PANDAODE OdeQuadTreeSpace : public OdeSpace {
30  friend class OdeSpace;
31  friend class OdeGeom;
32 
33 public:
34  OdeQuadTreeSpace(dSpaceID id);
35 
36 PUBLISHED:
37  OdeQuadTreeSpace(const LPoint3f &center,
38  const LVecBase3f &extents,
39  const int depth);
41  const LPoint3f &center,
42  const LVecBase3f &extents,
43  const int depth);
44  virtual ~OdeQuadTreeSpace();
45 
46 public:
47  static TypeHandle get_class_type() {
48  return _type_handle;
49  }
50  static void init_type() {
51  OdeSpace::init_type();
52  register_type(_type_handle, "OdeQuadTreeSpace",
53  OdeSpace::get_class_type());
54  }
55  virtual TypeHandle get_type() const {
56  return get_class_type();
57  }
58  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
59 
60 private:
61  static TypeHandle _type_handle;
62 };
63 
64 #include "odeQuadTreeSpace.I"
65 
66 #endif
67 
This is the base class for all three-component vectors and points.
Definition: lvecBase3.h:105
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition: lpoint3.h:99
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85