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

Revision 1072, 1.4 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;
[372]19
[850]20struct IndexedBoundingBox;
[810]21struct VisibilityPoint;
22
[863]23
[372]24/** Container storing polygons used during BSP tree construction.
25*/
26typedef vector<Polygon3 *> PolygonContainer;
27
28/** Container storing a bundle of rays.
29*/
30typedef vector<Ray *> RayContainer;
31
32/** Container for Mesh pointers primarily for the use within the kDTree and
33    BSP hierarchies */
34typedef vector<Intersectable *> ObjectContainer;
35
36/** Container for ViewCell pointers primarily for the use within the kDTree and
37    BSP hierarchies */
38
39typedef vector<ViewCell *> ViewCellContainer;
40
41/** Container for HierarchyNodes pointers primarily for the use within the kDTree and
[1001]42    BSP hierarchies
43        */
[372]44typedef vector<HierarchyNode *> NodeContainer;
45
46typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
47
[503]48typedef vector<Mesh *> MeshContainer;
[372]49
[810]50/** Container storing visibility points, i.e. locations in space storing from point visibility
51        information.
52*/
53typedef vector<VisibilityPoint *> VisibilityPointsContainer;
[372]54
[850]55typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
56
[1072]57typedef std::map<int, Intersectable *> ObjectMap;
58
[860]59}
60
[372]61#endif // _Container_H__
Note: See TracBrowser for help on using the repository browser.