source: GTP/trunk/Lib/Vis/Preprocessing/src/Containers.h @ 1184

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