Revision 810,
1.4 KB
checked in by mattausch, 19 years ago
(diff) |
added from point visibility tree:
this tree is constructed using from point visibility information
|
Rev | Line | |
---|
[372] | 1 | #ifndef _Container_H__
|
---|
| 2 | #define _Container_H__
|
---|
| 3 |
|
---|
| 4 | #include <vector>
|
---|
| 5 | #include <queue>
|
---|
| 6 |
|
---|
| 7 | using namespace std;
|
---|
| 8 |
|
---|
| 9 | class ViewCell;
|
---|
| 10 | class HierarchyNode;
|
---|
| 11 | class SceneGraphNode;
|
---|
| 12 | class Intersectable;
|
---|
| 13 | class Polygon3;
|
---|
| 14 | class Ray;
|
---|
[503] | 15 | class Mesh;
|
---|
[372] | 16 |
|
---|
[810] | 17 | struct VisibilityPoint;
|
---|
| 18 |
|
---|
[372] | 19 | /** Container storing polygons used during BSP tree construction.
|
---|
| 20 | */
|
---|
| 21 | typedef vector<Polygon3 *> PolygonContainer;
|
---|
| 22 |
|
---|
| 23 | /** Container storing a bundle of rays.
|
---|
| 24 | */
|
---|
| 25 | typedef vector<Ray *> RayContainer;
|
---|
| 26 |
|
---|
| 27 | /** Container for Mesh pointers primarily for the use within the kDTree and
|
---|
| 28 | BSP hierarchies */
|
---|
| 29 | typedef vector<Intersectable *> ObjectContainer;
|
---|
| 30 |
|
---|
| 31 | /** Container for ViewCell pointers primarily for the use within the kDTree and
|
---|
| 32 | BSP hierarchies */
|
---|
| 33 |
|
---|
| 34 | typedef vector<ViewCell *> ViewCellContainer;
|
---|
| 35 |
|
---|
| 36 | /** Container for ViewCell pointers primarily for the use within the kDTree and
|
---|
| 37 | BSP hierarchies */
|
---|
| 38 | //typedef vector<MeshInstance *> MeshInstanceContainer;
|
---|
| 39 |
|
---|
| 40 | /** Container for HierarchyNodes pointers primarily for the use within the kDTree and
|
---|
| 41 | BSP hierarchies */
|
---|
| 42 |
|
---|
| 43 | typedef vector<HierarchyNode *> NodeContainer;
|
---|
| 44 |
|
---|
| 45 | typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
|
---|
| 46 |
|
---|
[503] | 47 | typedef vector<Mesh *> MeshContainer;
|
---|
[372] | 48 |
|
---|
[810] | 49 | /** Container storing visibility points, i.e. locations in space storing from point visibility
|
---|
| 50 | information.
|
---|
| 51 | */
|
---|
| 52 | typedef vector<VisibilityPoint *> VisibilityPointsContainer;
|
---|
[372] | 53 |
|
---|
| 54 | #endif // _Container_H__
|
---|
| 55 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.