Changeset 2574 for GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.cpp
- Timestamp:
- 01/03/08 15:13:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.cpp
r2572 r2574 15 15 FILE *fileOut = 0; 16 16 bool saveRays = true; 17 const int saveRaysStart = 3000000; 17 18 int cntSavedRaysFLUSH = 0; 18 19 unsigned long int cntSavedRays = 0; 19 const int SavedLIMIT = 1024;20 const int intSavedLIMIT = 1024; 20 21 void 21 22 InitSaving() … … 125 126 } 126 127 127 if (saveRays ) {128 if (saveRays && preprocessor->mTotalRaysCast > saveRaysStart) { 128 129 if (castDoubleRay) 129 130 { … … 257 258 #endif 258 259 259 if (saveRays ) {260 if (saveRays && preprocessor->mTotalRaysCast > saveRaysStart) { 260 261 if (castDoubleRay) 261 262 fprintf(fileOut, "G\n"); … … 305 306 306 307 307 if (saveRays ) {308 if (saveRays && preprocessor->mTotalRaysCast > saveRaysStart) { 308 309 if (castDoubleRay) 309 310 fprintf(fileOut, "%d %4.7f %4.7f %4.7f %4.7f %4.7f %4.7f %d %4.7f %d %4.7f\n",
Note: See TracChangeset
for help on using the changeset viewer.