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

Revision 1001, 1.4 KB checked in by mattausch, 18 years ago (diff)

added mesh instance support
improved support for occlusion queries + other extensions

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