Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4805 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
Jul 7, 2005, 11:42:37 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some modifications in spatial separation, made Model now an AbstractModel this simplifies many things

Location:
orxonox/trunk/src/lib/graphics/spatial_separation
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.h

    r4790 r4805  
    99
    1010
    11 #include "spatial_separation.h"
     11#include "base_object.h"
    1212
    1313//! A class for quadtree separation of the world
    14 class Quadtree : public SpatialSeparation {
     14class Quadtree : public BaseObject {
    1515
    1616 public:
  • orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.cc

    r4791 r4805  
    1717
    1818#include "spatial_separation.h"
     19#include "abstract_model.h"
    1920
    2021using namespace std;
     
    2526   \todo this constructor is not jet implemented - do it
    2627*/
    27 SpatialSeparation::SpatialSeparation ()
     28SpatialSeparation::SpatialSeparation (AbstractModel* model)
    2829{
    2930   this->setClassID(CL_SPATIAL_SEPARATION, "SpatialSeparation");
  • orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.h

    r4790 r4805  
    1212// FORWARD DEFINITION
    1313
     14class AbstractModel;
    1415
    1516
    16 //! A class for ...
     17//! A class for spatial separation of vertices based arrays
    1718class SpatialSeparation : public BaseObject {
    1819
    1920 public:
    20   SpatialSeparation();
     21  SpatialSeparation(AbstractModel* model);
    2122  virtual ~SpatialSeparation();
    2223
    2324
     25
     26
    2427 private:
     28   AbstractModel*             model;
     29
    2530
    2631};
Note: See TracChangeset for help on using the changeset viewer.