Changeset 9832 in orxonox.OLD for branches/new_class_id/src/lib/graphics/importer/static_model.h
- Timestamp:
- Sep 26, 2006, 3:44:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/static_model.h
r9831 r9832 24 24 { 25 25 ObjectListDeclaration(StaticModel); 26 26 public: 27 27 StaticModel(const std::string& modelName = ""); 28 StaticModel(const StaticModel& staticModel); 28 29 virtual ~StaticModel(); 29 30 30 StaticModel& operator=(const StaticModel& model) { this->data = model.data; return *this; };31 StaticModel& operator=(const StaticModel& model); 31 32 32 33 virtual void draw() const { data->draw(); }; … … 58 59 void finalize(); 59 60 60 void acquireData(const StaticModelData::Pointer& data) { this->data = data; };61 void acquireData(const StaticModelData::Pointer& data); 61 62 const StaticModelData::Pointer& dataPointer() const { return this->data; }; 62 63 … … 64 65 float getScaleFactor() const { return data->getScaleFactor(); } 65 66 66 67 protected: 67 68 void cubeModel(); 68 69 69 private: 70 StaticModelData::Pointer data; 70 private: 71 void updateBase(); 72 private: 73 StaticModelData::Pointer data; 71 74 }; 72 75
Note: See TracChangeset
for help on using the changeset viewer.