Changeset 2013
- Timestamp:
- 01/22/07 16:15:14 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Makefile
r2011 r2013 1 1 ############################################################################# 2 2 # Makefile for building: preprocessor 3 # Generated by qmake (2.00a) (Qt 4.1.2) on: po 22. I 08:54:1220073 # Generated by qmake (2.00a) (Qt 4.1.2) on: po 22. I 16:06:29 2007 4 4 # Project: preprocessor.pro 5 5 # Template: app … … 63 63 $(MAKE) -f $(MAKEFILE).Debug uninstall 64 64 65 Makefile: preprocessor.pro C:/Qt/4.1.2/mkspecs/win32-msvc .net\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \65 Makefile: preprocessor.pro C:/Qt/4.1.2/mkspecs/win32-msvc2005\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 66 66 C:\Qt\4.1.2\mkspecs\features\qt_config.prf \ 67 67 C:\Qt\4.1.2\mkspecs\features\exclusive_builds.prf \ -
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp
r2012 r2013 236 236 237 237 #if DEBUG_RAYCAST 238 239 238 static int id=0; 239 Debug<<"PRA "<<id++<<endl<<flush; 240 240 #endif 241 241 … … 292 292 if (!pruneInvalidRays || hitA.mObject) { 293 293 VssRay *vssRay = mVssRayPool.Alloc(); 294 294 cerr<<vssRay<<endl; 295 295 *vssRay = VssRay( 296 296 !castDoubleRay ? simpleRay.mOrigin : clipB, … … 320 320 { 321 321 VssRay *vssRay = mVssRayPool.Alloc(); 322 cerr<<vssRay<<endl; 323 322 324 *vssRay = VssRay( 323 325 clipA, -
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h
r2012 r2013 69 69 struct VssRayPool { 70 70 VssRayPool():mRays(), mIndex(0) {} 71 71 72 void Reserve(const int number) { 72 73 mRays.reserve(number); … … 76 77 } 77 78 VssRay *Alloc() { 78 return &mRays[mIndex++]; 79 VssRay *result = &mRays[mIndex]; 80 mIndex++; 81 return result; 79 82 } 80 83 vector<VssRay> mRays; -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test2
r2011 r2013 2 2 3 3 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer +-preprocessor_evaluate_filter-"4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter-" 5 5 6 6 #SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d" … … 51 51 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 52 52 -view_cells_use_kd_pvs- -af_use_kd_pvs- \ 53 -preprocessor_visibility_file=$PREFIX-i-mixed-bvh-n4i.xml \ 54 -preprocessor_stats=$PREFIX-i-mixed-b1-n4i.log \ 55 -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4i.hlog 56 57 $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 58 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 53 59 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4i.xml \ 54 60 -preprocessor_stats=$PREFIX-i-mixed-b1-n4i.log \ 55 61 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4i.hlog 62 56 63 57 64
Note: See TracChangeset
for help on using the changeset viewer.