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