Changeset 2593 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.h
- Timestamp:
- 01/14/08 18:25:44 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.h
r2591 r2593 30 30 31 31 struct VssRayContainer; 32 33 struct GLUquadric; 34 35 struct PvsRenderStatistics {36 32 struct GLUquadric; 33 34 35 struct PvsRenderStatistics 36 { 37 37 float maxError; 38 38 float sumError; … … 43 43 PvsRenderStatistics() { Reset(); } 44 44 45 void Reset() { 45 void Reset() 46 { 46 47 maxError = 0.0f; 47 48 sumError = 0.0f; … … 58 59 }; 59 60 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 62 struct 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 }; 76 79 77 80 … … 129 132 130 133 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); 132 135 133 136 void
Note: See TracChangeset
for help on using the changeset viewer.