Revision 221,
710 bytes
checked in by mattausch, 19 years ago
(diff) |
changed notation for bsp trees
|
Line | |
---|
1 | #ifndef _ViewCell_H__ |
---|
2 | #define _ViewCell_H__ |
---|
3 | |
---|
4 | class Mesh; |
---|
5 | |
---|
6 | //namespace GtpVisibilityPreprocessor { |
---|
7 | |
---|
8 | class BspInterior; |
---|
9 | class BspPvs; |
---|
10 | /** |
---|
11 | View cell represented as a mesh |
---|
12 | */ |
---|
13 | class ViewCell |
---|
14 | { |
---|
15 | public: |
---|
16 | /** Default constructor taking a mesh which represents the shape of |
---|
17 | the viewcell. |
---|
18 | */ |
---|
19 | ViewCell(Mesh *mesh): mMesh(mesh), mPvs(NULL) {} |
---|
20 | |
---|
21 | /** Returns pointer to the mesh which represents the shape of the viewcell. |
---|
22 | */ |
---|
23 | Mesh *GetMesh() {return mMesh;} |
---|
24 | |
---|
25 | /** Returns pointer to PVS. |
---|
26 | @returns PVS, i.e., the visible BSP tree nodes. |
---|
27 | */ |
---|
28 | BspPvs *GetPVS() {return mPvs;} |
---|
29 | |
---|
30 | protected: |
---|
31 | |
---|
32 | Mesh *mMesh; |
---|
33 | /// the PVS (i.e., the visible bsp tree nodes) |
---|
34 | BspPvs *mPvs; |
---|
35 | |
---|
36 | }; |
---|
37 | |
---|
38 | //}; // GtpVisibilityPreprocessor |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.