source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGBsp.h @ 731

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