Changeset 2623 for GTP/trunk/Lib/Vis
- Timestamp:
- 01/22/08 12:11:27 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.h
r2621 r2623 38 38 int Type() const { return HAVRAN_RAYCASTER; } 39 39 40 virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m) ;41 virtual void UpdateDynamicObjects(const Matrix4x4 &m) ;42 virtual void DeleteDynamicObjects );40 virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m){}; 41 virtual void UpdateDynamicObjects(const Matrix4x4 &m){}; 42 virtual void DeleteDynamicObjects(){}; 43 43 44 44 virtual int CastRay( -
GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.h
r2582 r2623 83 83 const bool pruneInvalidRays = true); 84 84 85 virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m) {}; 86 virtual void UpdateDynamicObjects(const Matrix4x4 &m) {}; 87 virtual void DeleteDynamicObjects() {}; 88 85 89 protected: 86 90 -
GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.h
r2575 r2623 58 58 ); 59 59 60 virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m) {}; 61 virtual void UpdateDynamicObjects(const Matrix4x4 &m) {}; 62 virtual void DeleteDynamicObjects() {}; 63 60 64 protected: 61 65 -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r2621 r2623 1101 1101 1102 1102 bool Preprocessor::InitRayCast(const string &externKdTree, 1103 1103 const string &internKdTree) 1104 1104 { 1105 1105 int rayCastMethod; 1106 1106 Environment::GetSingleton()-> 1107 1107 GetIntValue("Preprocessor.rayCastMethod", rayCastMethod); 1108 1108 1109 1109 if (rayCastMethod == 0) 1110 1110 { 1111 1112 1111 cout << "ray cast method: internal" << endl; 1112 mRayCaster = new InternalRayCaster(*this); 1113 1113 } 1114 1114 if (rayCastMethod == 1) 1115 1115 { 1116 1116 #ifdef GTP_INTERNAL 1117 1118 1117 cout << "ray cast method: intel" << endl; 1118 mRayCaster = new IntelRayCaster(*this, externKdTree); 1119 1119 #endif 1120 1120 } 1121 1121 if (rayCastMethod == 2) 1122 1122 { 1123 1124 1125 } 1126 1123 cout << "ray cast method: havran" << endl <<flush; 1124 mRayCaster = new HavranRayCaster(*this); 1125 } 1126 1127 1127 ///////////////// 1128 1128 //-- reserve constant block of rays
Note: See TracChangeset
for help on using the changeset viewer.