Ignore:
Timestamp:
01/10/08 13:17:34 (16 years ago)
Author:
bittner
Message:

sceneBox bugfix

File:
1 edited

Legend:

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

    r2586 r2588  
    2525#include "SceneGraph.h" 
    2626 
    27 #ifdef PERFTIMER   
     27#ifdef USE_PERFTIMER   
    2828#include "Timer/PerfTimer.h" 
    29 #endif // PERFTIMER 
     29#endif // USE_PERFTIMER 
    3030 
    3131#define USE_RAY_LENGTH_AS_CONTRIBUTION 0 
     
    4343 
    4444 
    45 #ifdef PERFTIMER   
     45#ifdef USE_PERFTIMER   
    4646PerfTimer viewCellCastTimer; 
    4747PerfTimer pvsTimer; 
     
    10831083        int id; 
    10841084 
    1085 #ifdef PERFTIMER   
     1085#ifdef USE_PERFTIMER   
    10861086        PerfTimer boxTimer; 
    10871087 
     
    10991099 
    11001100 
    1101 #ifdef PERFTIMER   
     1101#ifdef USE_PERFTIMER   
    11021102        boxTimer.Exit(); 
    11031103 
     
    21282128        } 
    21292129 
    2130 #ifdef PERFTIMER   
     2130#ifdef USE_PERFTIMER   
    21312131        cout << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 
    21322132        Debug << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 
     
    28962896        ViewCell::NewMail(); 
    28972897 
    2898 #ifdef PERFTIMER   
     2898#ifdef USE_PERFTIMER   
    28992899        viewCellCastTimer.Entry(); 
    29002900#endif 
     
    29172917        } 
    29182918 
    2919 #ifdef PERFTIMER   
     2919#ifdef USE_PERFTIMER   
    29202920        viewCellCastTimer.Exit(); 
    29212921#endif 
     
    29382938        Intersectable *terminationObj; 
    29392939 
    2940 #ifdef PERFTIMER   
     2940#ifdef USE_PERFTIMER   
    29412941        objTimer.Entry(); 
    29422942#endif 
     
    29442944        terminationObj = ray.mTerminationObject; 
    29452945 
    2946 #ifdef PERFTIMER   
     2946#ifdef USE_PERFTIMER   
    29472947        objTimer.Exit(); 
    29482948 
     
    29722972        { 
    29732973                if (rand() < (RAND_MAX / 10)) 
    2974                         cout << "rayd: " /*<< ray.GetOrigin() << " " << ray.GetTermination() << " "*/ << Normalize(ray.GetDir()) << " " << endl; 
     2974                  //                    cout << "rayd: " /*<< ray.GetOrigin() << " " << ray.GetTermination() << " "*/ << Normalize(ray.GetDir()) << " " << endl; 
    29752975                mVizBuffer.AddRay(&ray); 
    29762976        } 
    29772977#endif 
    2978 #ifdef PERFTIMER   
     2978#ifdef USE_PERFTIMER   
    29792979        pvsTimer.Exit(); 
    29802980#endif 
     
    72237223        CLEAR_CONTAINER(tmpRays); 
    72247224 
    7225 #ifdef PERFTIMER   
     7225#ifdef USE_PERFTIMER   
    72267226        cout << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 
    72277227        Debug << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 
Note: See TracChangeset for help on using the changeset viewer.