Ignore:
Timestamp:
08/08/07 15:50:33 (17 years ago)
Author:
mattausch
Message:

fixed obj loading error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r2452 r2539  
    816816{ 
    817817        mKdTree = new KdTree(); 
    818  
    819         return mKdTree->LoadBinTree(filename.c_str(), mObjects); 
     818        return mKdTree->ImportBinTree(filename.c_str(), mObjects); 
    820819} 
    821820 
     
    11911190        if (rays.size() > 10000) 
    11921191        { 
    1193          
     1192 
    11941193                mRayCaster->SortRays(rays); 
    11951194                cout<<"Rays sorted in "<<TimeDiff(t1, GetTime())<<" ms."<<endl; 
     
    11991198        if (mUseHwGlobalLines)  
    12001199        { 
    1201           CastRaysWithHwGlobalLines( 
    1202                                                                 rays, 
    1203                                                                 vssRays, 
    1204                                                                 castDoubleRays, 
    1205                                                                 pruneInvalidRays 
    1206                                                                 ); 
     1200                CastRaysWithHwGlobalLines( 
     1201                        rays, 
     1202                        vssRays, 
     1203                        castDoubleRays, 
     1204                        pruneInvalidRays 
     1205                        ); 
    12071206        } 
    12081207        else 
    12091208        { 
    1210           mRayCaster->CastRays( 
    1211                                                  rays,                           
    1212                                                  vssRays, 
    1213                                                  mViewCellsManager->GetViewSpaceBox(), 
    1214                                                  castDoubleRays, 
    1215                                                  pruneInvalidRays); 
     1209                mRayCaster->CastRays( 
     1210                        rays,                            
     1211                        vssRays, 
     1212                        mViewCellsManager->GetViewSpaceBox(), 
     1213                        castDoubleRays, 
     1214                        pruneInvalidRays); 
    12161215        } 
    12171216 
     
    12191218        { 
    12201219                cout << endl; 
    1221         long t2 = GetTime(); 
     1220                long t2 = GetTime(); 
    12221221 
    12231222#if SHOW_RAYCAST_TIMING 
Note: See TracChangeset for help on using the changeset viewer.