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

Revision 503, 1.2 KB checked in by mattausch, 19 years ago (diff)

added mesh creation function

Line 
1#ifndef _Container_H__
2#define _Container_H__
3
4#include <vector>
5#include <queue>
6
7using namespace std;
8
9class ViewCell;
10class HierarchyNode;
11class SceneGraphNode;
12class Intersectable;
13class Polygon3;
14class Ray;
15class Mesh;
16
17/** Container storing polygons used during BSP tree construction.
18*/
19typedef vector<Polygon3 *> PolygonContainer;
20
21/** Container storing a bundle of rays.
22*/
23typedef vector<Ray *> RayContainer;
24
25/** Container for Mesh pointers primarily for the use within the kDTree and
26    BSP hierarchies */
27typedef vector<Intersectable *> ObjectContainer;
28
29/** Container for ViewCell pointers primarily for the use within the kDTree and
30    BSP hierarchies */
31
32typedef vector<ViewCell *> ViewCellContainer;
33
34/** Container for ViewCell pointers primarily for the use within the kDTree and
35    BSP hierarchies */
36//typedef vector<MeshInstance *> MeshInstanceContainer;
37
38/** Container for HierarchyNodes pointers primarily for the use within the kDTree and
39    BSP hierarchies */
40
41typedef vector<HierarchyNode *> NodeContainer;
42
43typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
44
45typedef vector<Mesh *> MeshContainer;
46
47
48#endif // _Container_H__
49
Note: See TracBrowser for help on using the repository browser.