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