source:
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGBsp.h
@
731
Revision 731, 467 bytes checked in by igarcia, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[700] | 1 | #ifndef _IMGBSP_H |
2 | #define _IMGBSP_H | |
3 | ||
4 | ||
5 | #include "IMGNodeBsp.h" | |
6 | ||
7 | namespace IMG { | |
8 | ||
[731] | 9 | class _IMGExport Bsp { |
[700] | 10 | public: |
[721] | 11 | Bsp(); |
[700] | 12 | |
[721] | 13 | virtual ~Bsp(); |
[700] | 14 | |
[731] | 15 | void setRoot(NodeBspPtr node); |
[700] | 16 | |
[731] | 17 | void print(); |
[700] | 18 | |
[731] | 19 | void printLeaf(); |
[700] | 20 | |
[731] | 21 | NodeBspPtr insert(int w, int h, int idcluster); |
[700] | 22 | |
[731] | 23 | NodeBspPtr get(int i); |
[700] | 24 | |
[721] | 25 | protected: |
26 | NodeBspPtr root; | |
[700] | 27 | |
28 | int countleaf; | |
29 | ||
30 | int counttotal; | |
31 | ||
[731] | 32 | void print(NodeBspPtr node); |
[700] | 33 | |
[731] | 34 | void printLeaf(NodeBspPtr node); |
[700] | 35 | |
36 | }; | |
37 | ||
38 | } | |
39 | #endif |
Note: See TracBrowser
for help on using the repository browser.