Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2006, 3:44:38 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: Loading via the new Interface works, (it seems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/static_model.h

    r9831 r9832  
    2424{
    2525  ObjectListDeclaration(StaticModel);
    26   public:
     26public:
    2727  StaticModel(const std::string& modelName = "");
     28  StaticModel(const StaticModel& staticModel);
    2829  virtual ~StaticModel();
    2930
    30   StaticModel& operator=(const StaticModel& model) { this->data = model.data; return *this; };
     31  StaticModel& operator=(const StaticModel& model);
    3132
    3233  virtual void draw() const { data->draw(); };
     
    5859  void finalize();
    5960
    60   void acquireData(const StaticModelData::Pointer& data) { this->data = data; };
     61  void acquireData(const StaticModelData::Pointer& data);
    6162  const StaticModelData::Pointer& dataPointer() const { return this->data; };
    6263
     
    6465  float getScaleFactor() const { return data->getScaleFactor(); }
    6566
    66  protected:
     67protected:
    6768  void cubeModel();
    6869
    69  private:
    70    StaticModelData::Pointer         data;
     70private:
     71  void updateBase();
     72private:
     73  StaticModelData::Pointer         data;
    7174};
    7275
Note: See TracChangeset for help on using the changeset viewer.