Revision 503,
1.2 KB
checked in by mattausch, 19 years ago
(diff) |
added mesh creation function
|
Rev | Line | |
---|
[372] | 1 | #ifndef _Container_H__
|
---|
| 2 | #define _Container_H__
|
---|
| 3 |
|
---|
| 4 | #include <vector>
|
---|
| 5 | #include <queue>
|
---|
| 6 |
|
---|
| 7 | using namespace std;
|
---|
| 8 |
|
---|
| 9 | class ViewCell;
|
---|
| 10 | class HierarchyNode;
|
---|
| 11 | class SceneGraphNode;
|
---|
| 12 | class Intersectable;
|
---|
| 13 | class Polygon3;
|
---|
| 14 | class Ray;
|
---|
[503] | 15 | class Mesh;
|
---|
[372] | 16 |
|
---|
| 17 | /** Container storing polygons used during BSP tree construction.
|
---|
| 18 | */
|
---|
| 19 | typedef vector<Polygon3 *> PolygonContainer;
|
---|
| 20 |
|
---|
| 21 | /** Container storing a bundle of rays.
|
---|
| 22 | */
|
---|
| 23 | typedef vector<Ray *> RayContainer;
|
---|
| 24 |
|
---|
| 25 | /** Container for Mesh pointers primarily for the use within the kDTree and
|
---|
| 26 | BSP hierarchies */
|
---|
| 27 | typedef vector<Intersectable *> ObjectContainer;
|
---|
| 28 |
|
---|
| 29 | /** Container for ViewCell pointers primarily for the use within the kDTree and
|
---|
| 30 | BSP hierarchies */
|
---|
| 31 |
|
---|
| 32 | typedef 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 |
|
---|
| 41 | typedef vector<HierarchyNode *> NodeContainer;
|
---|
| 42 |
|
---|
| 43 | typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
|
---|
| 44 |
|
---|
[503] | 45 | typedef vector<Mesh *> MeshContainer;
|
---|
[372] | 46 |
|
---|
| 47 |
|
---|
| 48 | #endif // _Container_H__
|
---|
| 49 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.