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;
|
---|
[372] | 19 |
|
---|
[850] | 20 | struct IndexedBoundingBox;
|
---|
[810] | 21 | struct VisibilityPoint;
|
---|
| 22 |
|
---|
[863] | 23 |
|
---|
[372] | 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
|
---|
[1001] | 42 | BSP hierarchies
|
---|
| 43 | */
|
---|
[372] | 44 | typedef vector<HierarchyNode *> NodeContainer;
|
---|
| 45 |
|
---|
| 46 | typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
|
---|
| 47 |
|
---|
[503] | 48 | typedef vector<Mesh *> MeshContainer;
|
---|
[372] | 49 |
|
---|
[810] | 50 | /** Container storing visibility points, i.e. locations in space storing from point visibility
|
---|
| 51 | information.
|
---|
| 52 | */
|
---|
| 53 | typedef vector<VisibilityPoint *> VisibilityPointsContainer;
|
---|
[372] | 54 |
|
---|
[850] | 55 | typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
|
---|
| 56 |
|
---|
[1072] | 57 | typedef std::map<int, Intersectable *> ObjectMap;
|
---|
| 58 |
|
---|
[860] | 59 | }
|
---|
| 60 |
|
---|
[372] | 61 | #endif // _Container_H__
|
---|
Note: See
TracBrowser
for help on using the repository browser.