source:
orxonox.OLD/orxonox/trunk/src/lib/collision_detection/obb_tree.h
@
4528
Last change on this file since 4528 was 4528, checked in by patrick, 19 years ago | |
---|---|
File size: 663 bytes |
Rev | Line | |
---|---|---|
[4510] | 1 | /*! |
[4511] | 2 | \file obb_tree.h |
[4526] | 3 | \brief Definition of an obb tree (object oriented Bounding Box) |
[4510] | 4 | |
5 | */ | |
6 | ||
[4511] | 7 | #ifndef _OBB_TREE_H |
8 | #define _OBB_TREE_H | |
[4510] | 9 | |
10 | #include "base_object.h" | |
[4514] | 11 | #include "bv_tree.h" |
[4510] | 12 | |
[4511] | 13 | //! A class for representing an obb tree |
[4514] | 14 | class OBBTree : public BVTree { |
[4510] | 15 | |
16 | public: | |
[4511] | 17 | OBBTree(); |
18 | virtual ~OBBTree(); | |
[4510] | 19 | |
[4528] | 20 | virtual void spawnBVTree(int depth); |
21 | virtual void flushTree(); | |
[4510] | 22 | |
[4528] | 23 | void collideWith(const OBBTree &tree); |
24 | ||
25 | virtual void drawBV(int currentDepth, const int depth) const; | |
26 | virtual void drawBVPolygon(int currentDepth, const int depth) const; | |
27 | virtual void drawBVBlended(int currentDepth, const int depth) const; | |
28 | ||
[4510] | 29 | private: |
30 | ||
31 | }; | |
32 | ||
[4511] | 33 | #endif /* _OBB_TREE_H */ |
Note: See TracBrowser
for help on using the repository browser.