Ignore:
Timestamp:
01/03/08 15:53:44 (17 years ago)
Author:
bittner
Message:

big merge: preparation for havran ray caster, check if everything works

File:
1 edited

Legend:

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

    r2569 r2575  
    66 
    77#define NOMINMAX 
     8#ifdef __WINDOWS__ 
    89#include <windows.h> 
    9 #include <stdio.h> 
     10#ifdef _CRT_SET 
    1011#include <crtdbg.h> 
    11  
     12#endif // _CRT_SET 
     13#endif 
     14#include <cstdio> 
     15 
     16#include "Camera.h" 
    1217#include "PreprocessorFactory.h" 
    1318#include "Parser.h" 
     
    2025#include "SceneGraph.h" 
    2126#include "GlobalLinesRenderer.h" 
     27#include "RayCaster.h" 
     28//#include "testrt.h" 
    2229 
    2330#include "ViewCellsManager.h" 
     
    152159} 
    153160 
    154  
    155161int 
    156162main(int argc, char **argv) 
    157163{ 
    158         int returnCode = 0; 
     164#if 0 
     165  // Test code by VH 
     166  //TestRTcamera(argc, argv); 
     167  //TestRTfromFile(argc, argv); 
     168  TestRTfromFilePackets(argc, argv); 
     169  return 0; 
     170#endif 
     171 
     172  int returnCode = 0; 
     173 
     174  //Now just call this function at the start of your program and if you're 
     175  //compiling in debug mode (F5), any leaks will be displayed in the Output 
     176  //window when the program shuts down. If you're not in debug mode this will 
     177  //be ignored. Use it as you will! 
     178  //note: from GDNet Direct [3.8.04 - 3.14.04] void detectMemoryLeaks() { 
     179#ifdef _CRT_SET 
     180  _CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF|_CRTDBG_ALLOC_MEM_DF); 
     181  _CrtSetReportMode(_CRT_ASSERT,_CRTDBG_MODE_FILE); 
     182  _CrtSetReportFile(_CRT_ASSERT,_CRTDBG_FILE_STDERR);  
     183#endif 
    159184 
    160185        //Now just call this function at the start of your program and if you're 
Note: See TracChangeset for help on using the changeset viewer.