Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/collision_detection/bv_tree.h @ 4586

Last change on this file since 4586 was 4553, checked in by patrick, 19 years ago

orxonox/trunk: some more changes to display the data correctly

File size: 776 bytes
Line 
1/*!
2    \file bv_tree.h
3    \brief Definition of a bounding volume tree
4
5*/
6
7#ifndef _BV_TREE_H
8#define _BV_TREE_H
9
10
11#include "base_object.h"
12#include "abstract_model.h"
13
14// FORWARD DEFINITION
15class BoundingVolume;
16
17
18//! A class that represents a bounding volume tree
19class BVTree : public BaseObject {
20
21 public:
22  BVTree();
23  virtual ~BVTree();
24
25  virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length) = NULL;
26  virtual void flushTree() = NULL;
27
28
29  virtual void drawBV(int currentDepth, const int depth) const = NULL;
30  virtual void drawBVPolygon(int currentDepth, const int depth) const = NULL;
31  virtual void drawBVBlended(int currentDepth, const int depth) const = NULL;
32
33 protected:
34  int numberOfVertices;
35
36 private:
37
38
39};
40
41#endif /* _BV_TREE_H */
Note: See TracBrowser for help on using the repository browser.