Line | |
---|
1 | #ifndef _Container_H__
|
---|
2 | #define _Container_H__
|
---|
3 |
|
---|
4 | #include <vector>
|
---|
5 | #include <queue>
|
---|
6 | #include <map>
|
---|
7 |
|
---|
8 | using namespace std;
|
---|
9 |
|
---|
10 | namespace GtpVisibilityPreprocessor {
|
---|
11 |
|
---|
12 | class ViewCell;
|
---|
13 | class HierarchyNode;
|
---|
14 | class SceneGraphNode;
|
---|
15 | class Intersectable;
|
---|
16 | class Polygon3;
|
---|
17 | class Ray;
|
---|
18 | class Mesh;
|
---|
19 |
|
---|
20 | struct IndexedBoundingBox;
|
---|
21 | struct VisibilityPoint;
|
---|
22 |
|
---|
23 |
|
---|
24 | /** Container storing polygons used during BSP tree construction.
|
---|
25 | */
|
---|
26 | typedef vector<Polygon3 *> PolygonContainer;
|
---|
27 |
|
---|
28 | /** Container storing a bundle of rays.
|
---|
29 | */
|
---|
30 | typedef vector<Ray *> RayContainer;
|
---|
31 |
|
---|
32 | /** Container for Mesh pointers primarily for the use within the kDTree and
|
---|
33 | BSP hierarchies */
|
---|
34 | typedef vector<Intersectable *> ObjectContainer;
|
---|
35 |
|
---|
36 | /** Container for ViewCell pointers primarily for the use within the kDTree and
|
---|
37 | BSP hierarchies */
|
---|
38 |
|
---|
39 | typedef vector<ViewCell *> ViewCellContainer;
|
---|
40 |
|
---|
41 | /** Container for HierarchyNodes pointers primarily for the use within the kDTree and
|
---|
42 | BSP hierarchies
|
---|
43 | */
|
---|
44 | typedef vector<HierarchyNode *> NodeContainer;
|
---|
45 |
|
---|
46 | typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
|
---|
47 |
|
---|
48 | typedef vector<Mesh *> MeshContainer;
|
---|
49 |
|
---|
50 | /** Container storing visibility points, i.e. locations in space storing from point visibility
|
---|
51 | information.
|
---|
52 | */
|
---|
53 | typedef vector<VisibilityPoint *> VisibilityPointsContainer;
|
---|
54 |
|
---|
55 | typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
|
---|
56 |
|
---|
57 | typedef std::map<int, Intersectable *> ObjectMap;
|
---|
58 |
|
---|
59 | }
|
---|
60 |
|
---|
61 | #endif // _Container_H__
|
---|
Note: See
TracBrowser
for help on using the repository browser.