Changeset 2013


Ignore:
Timestamp:
01/22/07 16:15:14 (17 years ago)
Author:
bittner
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Makefile

    r2011 r2013  
    11############################################################################# 
    22# Makefile for building: preprocessor 
    3 # Generated by qmake (2.00a) (Qt 4.1.2) on: po 22. I 08:54:12 2007 
     3# Generated by qmake (2.00a) (Qt 4.1.2) on: po 22. I 16:06:29 2007 
    44# Project:  preprocessor.pro 
    55# Template: app 
     
    6363        $(MAKE) -f $(MAKEFILE).Debug uninstall 
    6464 
    65 Makefile: preprocessor.pro  C:/Qt/4.1.2/mkspecs/win32-msvc.net\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 
     65Makefile: preprocessor.pro  C:/Qt/4.1.2/mkspecs/win32-msvc2005\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 
    6666                C:\Qt\4.1.2\mkspecs\features\qt_config.prf \ 
    6767                C:\Qt\4.1.2\mkspecs\features\exclusive_builds.prf \ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp

    r2012 r2013  
    236236 
    237237#if DEBUG_RAYCAST 
    238         static int id=0; 
    239         Debug<<"PRA "<<id++<<endl<<flush; 
     238  static int id=0; 
     239  Debug<<"PRA "<<id++<<endl<<flush; 
    240240#endif 
    241241         
     
    292292          if (!pruneInvalidRays || hitA.mObject) { 
    293293                VssRay *vssRay = mVssRayPool.Alloc(); 
    294  
     294                cerr<<vssRay<<endl; 
    295295                *vssRay = VssRay( 
    296296                                                 !castDoubleRay ? simpleRay.mOrigin : clipB, 
     
    320320                { 
    321321                  VssRay *vssRay = mVssRayPool.Alloc(); 
     322                  cerr<<vssRay<<endl; 
     323                                 
    322324                  *vssRay = VssRay( 
    323325                                                   clipA, 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h

    r2012 r2013  
    6969  struct VssRayPool { 
    7070        VssRayPool():mRays(), mIndex(0) {} 
     71 
    7172        void Reserve(const int number) { 
    7273          mRays.reserve(number); 
     
    7677        } 
    7778        VssRay *Alloc() { 
    78           return &mRays[mIndex++]; 
     79          VssRay *result = &mRays[mIndex]; 
     80          mIndex++; 
     81          return result; 
    7982        } 
    8083        vector<VssRay> mRays; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/run_test2

    r2011 r2013  
    22 
    33#COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 
    4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter-" 
     4COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter-" 
    55 
    66#SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d" 
     
    5151 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 
    5252 -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 \ 
    5359 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4i.xml \ 
    5460 -preprocessor_stats=$PREFIX-i-mixed-b1-n4i.log \ 
    5561 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4i.hlog 
     62 
    5663 
    5764 
Note: See TracChangeset for help on using the changeset viewer.