Ignore:
Timestamp:
01/14/08 18:25:44 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2591 r2593  
    3030 
    3131struct VssRayContainer; 
    32  
    33   struct GLUquadric; 
    34    
    35 struct PvsRenderStatistics { 
    36    
     32struct GLUquadric; 
     33 
     34 
     35struct PvsRenderStatistics  
     36{  
    3737  float maxError; 
    3838  float sumError; 
     
    4343  PvsRenderStatistics() { Reset(); } 
    4444   
    45   void Reset() { 
     45  void Reset()  
     46  { 
    4647        maxError = 0.0f; 
    4748        sumError = 0.0f; 
     
    5859}; 
    5960 
    60         struct PvsCache { 
    61                  
    62                 PvsCache():mViewCell(NULL), mUnfilteredPvsSize(0) {} 
    63  
    64                 void Reset() 
    65                 {  
    66                         mViewCell = NULL; mPvs.Clear();  
    67                         filteredBoxes.clear();  
    68                         mUnfilteredPvsSize = 0; 
    69                 } 
    70                  
    71                 ViewCell *mViewCell; 
    72                 ObjectPvs mPvs; 
    73                 int mUnfilteredPvsSize; 
    74                 vector<AxisAlignedBox3> filteredBoxes; 
    75         }; 
     61 
     62struct PvsCache  
     63{ 
     64 
     65        PvsCache():mViewCell(NULL), mUnfilteredPvsSize(0) {} 
     66 
     67        void Reset() 
     68        {  
     69                mViewCell = NULL; mPvs.Clear();  
     70                filteredBoxes.clear();  
     71                mUnfilteredPvsSize = 0; 
     72        } 
     73 
     74        ViewCell *mViewCell; 
     75        ObjectPvs mPvs; 
     76        int mUnfilteredPvsSize; 
     77        vector<AxisAlignedBox3> filteredBoxes; 
     78}; 
    7679 
    7780 
     
    129132 
    130133  void 
    131   RenderRays(const VssRayContainer &rays, int colorType = 0, int showDistribution = 15); 
     134  RenderRays(const VssRayContainer &rays, int colorType = 0, int showDistribution = 15, int maxAge = 9999999); 
    132135 
    133136  void 
Note: See TracChangeset for help on using the changeset viewer.