Changeset 2003 for GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.cpp
- Timestamp:
- 01/21/07 00:40:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.cpp
r1999 r2003 17 17 RayCaster(preprocessor) 18 18 { 19 InitRayCast(externKdTree); 19 if (!InitRayCast(externKdTree)) 20 cout << "warning: intel ray tracer could not be initialized!" << endl; 20 21 } 21 22 … … 28 29 bool IntelRayCaster::InitRayCast(const string externKdTree) 29 30 { 30 cout<<"Ray Cast file: " << externKdTree << endl; 31 return mlrtaLoadAS(externKdTree.c_str()); 31 cout<<"Intel ray cast file: " << externKdTree << endl; 32 33 return mlrtaLoadAS(externKdTree.c_str()); 32 34 } 33 35 … … 41 43 ) 42 44 { 43 //cout << "intel ray" << endl;45 cout << "intel ray" << endl; 44 46 VssRay *vssRay = NULL; 45 47 int hits = 0; … … 73 75 if (castDoubleRay) 74 76 { 75 76 77 //cerr<<"HERE"<<endl; 78 Vector3 dir = -simpleRay.mDirection; 77 79 hittriangle = mlrtaIntersectAS( 78 80 &simpleRay.mOrigin.x,
Note: See TracChangeset
for help on using the changeset viewer.