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

RevLine 
[372]1#ifndef _Container_H__
2#define _Container_H__
3
4#include <vector>
5#include <queue>
6
7using namespace std;
8
[860]9namespace GtpVisibilityPreprocessor {
10
[372]11class ViewCell;
12class HierarchyNode;
13class SceneGraphNode;
14class Intersectable;
15class Polygon3;
16class Ray;
[503]17class Mesh;
[372]18
[850]19struct IndexedBoundingBox;
[810]20struct VisibilityPoint;
21
[863]22
[372]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
[1001]41    BSP hierarchies
42        */
[372]43typedef vector<HierarchyNode *> NodeContainer;
44
45typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
46
[503]47typedef vector<Mesh *> MeshContainer;
[372]48
[810]49/** Container storing visibility points, i.e. locations in space storing from point visibility
50        information.
51*/
52typedef vector<VisibilityPoint *> VisibilityPointsContainer;
[372]53
[850]54typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
55
[860]56}
57
[372]58#endif // _Container_H__
Note: See TracBrowser for help on using the repository browser.