Ignore:
Timestamp:
05/26/08 01:05:56 (16 years ago)
Author:
mattausch
Message:

sheduling dynamic object only when necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.h

    r2702 r2709  
    4242  int frames; 
    4343  int errorFreeFrames; 
    44  
    45   PvsRenderStatistics() { Reset(); } 
     44  int pass; 
     45 
     46  PvsRenderStatistics(): pass(0) { Reset(); } 
    4647   
    4748  void Reset()  
     
    169170  virtual bool ValidViewPoint(); 
    170171   
    171   virtual float GetPixelError(int &pvsSize); 
     172  /** Gets the pixel error of the current view point.  
     173     returns the size of the pvs for the current view point. pass returns the  
     174         current pass of the evaluation. 
     175         */ 
     176  virtual float GetPixelError(int &pvsSize, int pass); 
    172177   
    173178  virtual void EvalPvsStat(); 
     
    185190  virtual void InitGL(); 
    186191 
    187   virtual int GetWidth() const { return 0; } 
    188   virtual int GetHeight() const { return 0; } 
     192  virtual int GetWidth() const {return 0;} 
     193  virtual int GetHeight() const {return 0;} 
    189194 
    190195  unsigned int GetId(const unsigned char r,  
Note: See TracChangeset for help on using the changeset viewer.