source: trunk/VUT/GtpVisibilityPreprocessor/src/SceneGraph.h @ 387

Revision 387, 709 bytes checked in by bittner, 19 years ago (diff)

vss preprocessor updates

Line 
1#ifndef _SceneGraph_H__
2#define _SceneGraph_H__
3
4#include <string>
5using namespace std;
6
7#include "Containers.h"
8#include "AxisAlignedBox3.h"
9
10 
11/** Basic scene graph node, we are interested only in bounding boxes and topology
12    of the scene graph */
13class SceneGraphNode {
14public:
15  ObjectContainer mGeometry;
16  SceneGraphNodeContainer mChildren;
17  AxisAlignedBox3 mBox;
18};
19
20
21/** Scene graph class */
22class SceneGraph {
23
24public:
25  SceneGraphNode *mRoot;
26  bool Export(const string filename);
27 
28  int
29        CollectObjects(ObjectContainer *instances);
30       
31  int
32        AssignObjectIds();
33
34        void
35        GetStatistics(int &intersectables, int &faces) const;
36
37protected:
38};
39
40
41
42
43#endif
Note: See TracBrowser for help on using the repository browser.