- Timestamp:
- 01/22/07 16:00:07 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp
r2008 r2012 12 12 #include "PreprocessorThread.h" 13 13 #include "CombinedPreprocessor.h" 14 #include "RayCaster.h" 14 15 15 16 … … 66 67 mPass = 0; 67 68 68 69 vector<VssRayContainer> rayBuffer; 70 rays.reserve(mSamplesPerPass); 71 rayBuffer.reserve(2*mSamplesPerPass); 69 72 70 vector<VssRayContainer> rayBuffer;71 72 73 73 long startTime = GetTime(); 74 74 for (int i=0; i < mTotalSamples; i += mSamplesPerPass, mPass++) { 75 75 mRayCaster->InitPass(); 76 76 77 cout<<"Progress : "<<(100.0f*i)/mTotalSamples<<"%"<<endl; 77 78 rays.clear(); 78 79 vssRays.clear(); 80 79 81 80 82 mMixtureDistribution->GenerateSamples(mSamplesPerPass, rays); … … 124 126 } 125 127 128 #if 0 126 129 cerr<<"deleting rays"<<endl; 127 130 //clear all unreferenced rays … … 131 134 } 132 135 cerr<<"done."<<endl; 133 136 #endif 134 137 135 138 // if (!mMixtureDistribution->RequiresRays())
Note: See TracChangeset
for help on using the changeset viewer.