Changeset 2575 for GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
- Timestamp:
- 01/03/08 15:53:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2569 r2575 6 6 7 7 #define NOMINMAX 8 #ifdef __WINDOWS__ 8 9 #include <windows.h> 9 #i nclude <stdio.h>10 #ifdef _CRT_SET 10 11 #include <crtdbg.h> 11 12 #endif // _CRT_SET 13 #endif 14 #include <cstdio> 15 16 #include "Camera.h" 12 17 #include "PreprocessorFactory.h" 13 18 #include "Parser.h" … … 20 25 #include "SceneGraph.h" 21 26 #include "GlobalLinesRenderer.h" 27 #include "RayCaster.h" 28 //#include "testrt.h" 22 29 23 30 #include "ViewCellsManager.h" … … 152 159 } 153 160 154 155 161 int 156 162 main(int argc, char **argv) 157 163 { 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 159 184 160 185 //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.