Changeset 1251 for GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
- Timestamp:
- 08/21/06 18:39:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
r1199 r1251 26 26 27 27 RssPreprocessor::RssPreprocessor(): 28 mPass(0),29 28 mVssRays() 30 29 { … … 87 86 { 88 87 for (int i=0; i < rays.size(); i++) { 89 CastRay(rays[i].mOrigin, rays[i].mDirection, rays[i].mPdf, vssRays );88 CastRay(rays[i].mOrigin, rays[i].mDirection, rays[i].mPdf, vssRays, mViewCellsManager->GetViewSpaceBox()); 90 89 if (i % 10000 == 0) 91 90 cout<<"."; … … 101 100 } 102 101 103 void 104 RssPreprocessor::SetupRay(Ray &ray, 105 const Vector3 &point, 106 const Vector3 &direction 107 ) 108 { 109 ray.intersections.clear(); 110 // do not store anything else then intersections at the ray 111 ray.Init(point, direction, Ray::LOCAL_RAY); 112 } 113 102 103 #if 0 //matt: this moved up to preprocessor 114 104 int 115 105 RssPreprocessor::CastRay( … … 212 202 return hits; 213 203 } 214 204 #endif 215 205 216 206 void
Note: See TracChangeset
for help on using the changeset viewer.