Changeset 2655 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 04/21/08 08:36:04 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BoundingBoxConverter.h
r2643 r2655 3 3 4 4 5 #include <vector>5 //#include <vector> 6 6 #include "AxisAlignedBox3.h" 7 7 -
GTP/trunk/Lib/Vis/Preprocessing/src/GtpVisibility05.vcproj
r2643 r2655 115 115 <Tool 116 116 Name="VCCLCompilerTool" 117 AdditionalIncludeDirectories="..\ includ;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;Timer;..\src\havran"117 AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;Timer;..\src\havran" 118 118 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NO_QT;USE_VERBOSE_PVS" 119 119 RuntimeLibrary="2" -
GTP/trunk/Lib/Vis/Preprocessing/src/HavranDynRayCaster.cpp
r2630 r2655 20 20 #include "raypack.h" 21 21 #endif // _USE_HAVRAN_SSE 22 #endif // USE_HAVRAN_RAYCASTER 22 #endif // _USE_HAVRAN_RAYCASTER 23 23 24 #include "HavranRayCaster.h" 24 25 … … 661 662 ) 662 663 { 664 #ifdef USE_HAVRAN_RAYCASTER 665 663 666 int hit_triangles[16]; 664 667 float dist[16]; … … 759 762 SimpleRay::IntersectionRes[i].tdist = tdist[i]; 760 763 } 764 #endif // USE_HAVRAN_RAYCASTER 761 765 762 766 return; … … 802 806 void 803 807 HavranDynRayCaster::CastRaysPacket2x2(RayPacket2x2 &raysPack, 804 805 808 bool castDoubleRay, 809 const bool pruneInvalidRays) 806 810 { 807 811 #ifdef USE_HAVRAN_RAYCASTER 808 #ifdef _USE_HAVRAN_SSE809 812 810 813 if (castDoubleRay) { … … 929 932 930 933 return; 934 935 #endif // USE_HAVRAN_RAYCASTER 936 937 } 931 938 #endif // _USE_HAVRAN_SSE 932 #endif // USE_HAVRAN_RAYCASTER 933 } 934 935 936 #endif // _USE_HAVRAN_SSE 937 938 939 940 939 941 } // the namespace 942 -
GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.cpp
r2638 r2655 22 22 #endif // _USE_HAVRAN_SSE 23 23 #endif // USE_HAVRAN_RAYCASTER 24 24 25 #include "HavranRayCaster.h" 25 26 … … 82 83 HavranRayCaster::ExportBinTree(const string &filename) 83 84 { 85 #ifdef USE_HAVRAN_RAYCASTER 84 86 return mKtbtree->ExportBinTree(filename); 87 #endif 85 88 } 86 89 … … 88 91 HavranRayCaster::ImportBinTree(const string &filename, ObjectContainer &objects) 89 92 { 93 #ifdef USE_HAVRAN_RAYCASTER 90 94 return mKtbtree->ImportBinTree(filename, objects); 95 #endif 91 96 } 92 97 … … 381 386 ) 382 387 { 388 #ifdef USE_HAVRAN_RAYCASTER 389 383 390 int hit_triangles[16]; 384 391 float dist[16]; … … 408 415 } 409 416 410 417 #endif // USE_HAVRAN_RAYCASTER 411 418 return; 412 419 } -
GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.h
r2643 r2655 2 2 #define _HavranRayCaster_H__ 3 3 4 #ifdef USE_HAVRAN_RAYCASTER5 4 6 5 #include "RayCaster.h" 7 6 #include "Containers.h" 8 7 #include <string> 8 9 #ifdef USE_HAVRAN_RAYCASTER 10 9 11 #include "ktbconf.h" 10 12 #include "raypack.h" 13 14 #endif // USE_HAVRAN_RAYCASTER 11 15 12 16 namespace GtpVisibilityPreprocessor { … … 212 216 #endif 213 217 214 #endif // _HavranRayCaster_H__218 //#endif // _HavranRayCaster_H__ -
GTP/trunk/Lib/Vis/Preprocessing/src/common.h
r2621 r2655 25 25 #define DYNAMIC_OBJECTS_HACK 1 26 26 #define USE_TRANSFORMED_MESH_INSTANCE_HACK 0 27 #define USE_HAVRAN_RAYCASTER 27 //#define USE_HAVRAN_RAYCASTER 0 28 28 29 29 namespace GtpVisibilityPreprocessor { -
GTP/trunk/Lib/Vis/Preprocessing/src/havran/testrt.cpp
r2629 r2655 370 370 cout << "Computing image\n" << endl; 371 371 372 int id = preprocessor->mObjects.size() + 1;372 int id = (int)preprocessor->mObjects.size() + 1; 373 373 374 374 //We add here a few objects
Note: See TracChangeset
for help on using the changeset viewer.