Changeset 492 for trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.h
- Timestamp:
- 01/03/06 23:33:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.h
r490 r492 7 7 #include "Mesh.h" 8 8 #include "KdTree.h" 9 10 #include <QObject> 9 11 10 12 class RenderSimulator; … … 30 32 viewcell loading/generation and the visibility computation itself. 31 33 */ 32 class Preprocessor { 34 class Preprocessor : public QObject { 35 Q_OBJECT 36 33 37 public: 34 38 /** Default constructor initialising e.g., KD tree and BSP tree. … … 94 98 /// scene graph loaded from file 95 99 SceneGraph *mSceneGraph; 100 101 /// raw array of objects 102 ObjectContainer mObjects; 96 103 97 104 /// kD-tree organizing the scene graph (occluders + occludees) + viewcells … … 115 122 VspKdTree *mVspKdTree; 116 123 124 bool mUseGlRenderer; 125 126 protected: 127 128 ///////////////////////// 129 130 /// samples used for construction of the BSP view cells tree. 131 int mBspConstructionSamples; 132 /// samples used for construction of the VSP KD tree. 133 int mVspKdConstructionSamples; 117 134 /** Simulates rendering of the scene. 118 135 */ 119 136 RenderSimulator *mRenderSimulator; 137 138 signals: 139 void EvalPvsStat(); 140 120 141 }; 121 142 122 143 123 144 124 145 extern Preprocessor *preprocessor; 125 146 126 147 #endif
Note: See TracChangeset
for help on using the changeset viewer.