Ignore:
Timestamp:
01/03/06 23:33:45 (18 years ago)
Author:
bittner
Message:

Large merge - viewcells seem not functional now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.h

    r490 r492  
    77#include "Mesh.h" 
    88#include "KdTree.h" 
     9 
     10#include <QObject> 
    911 
    1012class RenderSimulator; 
     
    3032      viewcell loading/generation and the visibility computation itself. 
    3133  */ 
    32 class Preprocessor { 
     34class Preprocessor : public QObject { 
     35  Q_OBJECT 
     36 
    3337public: 
    3438        /** Default constructor initialising e.g., KD tree and BSP tree. 
     
    9498  /// scene graph loaded from file 
    9599  SceneGraph *mSceneGraph; 
     100 
     101  /// raw array of objects 
     102  ObjectContainer mObjects; 
    96103   
    97104  /// kD-tree organizing the scene graph (occluders + occludees) + viewcells 
     
    115122  VspKdTree *mVspKdTree; 
    116123 
     124  bool mUseGlRenderer; 
     125   
     126protected: 
     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; 
    117134  /** Simulates rendering of the scene. 
    118135  */ 
    119136  RenderSimulator *mRenderSimulator; 
     137 
     138  signals: 
     139  void EvalPvsStat(); 
     140 
    120141}; 
    121142 
    122143 
    123144 
    124  
     145extern Preprocessor *preprocessor; 
    125146 
    126147#endif 
Note: See TracChangeset for help on using the changeset viewer.