Ignore:
Timestamp:
01/22/08 12:11:27 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HavranRayCaster.h

    r2621 r2623  
    3838  int Type() const { return HAVRAN_RAYCASTER; } 
    3939     
    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(){}; 
    4343 
    4444  virtual int CastRay( 
  • GTP/trunk/Lib/Vis/Preprocessing/src/IntelRayCaster.h

    r2582 r2623  
    8383                                                  const bool pruneInvalidRays = true); 
    8484 
     85  virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m) {}; 
     86  virtual void UpdateDynamicObjects(const Matrix4x4 &m) {}; 
     87  virtual void DeleteDynamicObjects() {}; 
     88 
    8589protected: 
    8690 
  • GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.h

    r2575 r2623  
    5858                ); 
    5959 
     60  virtual void AddDynamicObjecs(const ObjectContainer &objects, const Matrix4x4 &m) {}; 
     61  virtual void UpdateDynamicObjects(const Matrix4x4 &m) {}; 
     62  virtual void DeleteDynamicObjects() {}; 
     63 
    6064protected: 
    6165 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r2621 r2623  
    11011101 
    11021102bool Preprocessor::InitRayCast(const string &externKdTree,  
    1103                                const string &internKdTree) 
     1103                                                           const string &internKdTree) 
    11041104{ 
    11051105        int rayCastMethod; 
    11061106        Environment::GetSingleton()-> 
    1107           GetIntValue("Preprocessor.rayCastMethod", rayCastMethod); 
     1107                GetIntValue("Preprocessor.rayCastMethod", rayCastMethod); 
    11081108 
    11091109        if (rayCastMethod == 0) 
    11101110        { 
    1111           cout << "ray cast method: internal" << endl; 
    1112           mRayCaster = new InternalRayCaster(*this); 
     1111                cout << "ray cast method: internal" << endl; 
     1112                mRayCaster = new InternalRayCaster(*this); 
    11131113        } 
    11141114        if (rayCastMethod == 1)  
    11151115        { 
    11161116#ifdef GTP_INTERNAL 
    1117           cout << "ray cast method: intel" << endl; 
    1118           mRayCaster = new IntelRayCaster(*this, externKdTree); 
     1117                cout << "ray cast method: intel" << endl; 
     1118                mRayCaster = new IntelRayCaster(*this, externKdTree); 
    11191119#endif 
    11201120        } 
    11211121        if (rayCastMethod == 2)  
    11221122        { 
    1123           cout << "ray cast method: havran" << endl <<flush; 
    1124           mRayCaster = new HavranRayCaster(*this); 
    1125         } 
    1126          
     1123                cout << "ray cast method: havran" << endl <<flush; 
     1124                mRayCaster = new HavranRayCaster(*this); 
     1125        } 
     1126 
    11271127        ///////////////// 
    11281128        //-- reserve constant block of rays 
Note: See TracChangeset for help on using the changeset viewer.