source:
code/branches/FICN/src/orxonox/objects/Model.h
@
774
Last change on this file since 774 was 768, checked in by nicolasc, 17 years ago | |
---|---|
File size: 615 bytes |
Rev | Line | |
---|---|---|
[576] | 1 | #ifndef _Model_H__ |
2 | #define _Model_H__ | |
3 | ||
[708] | 4 | #include "../OrxonoxPrereqs.h" |
5 | ||
[576] | 6 | #include "WorldEntity.h" |
[768] | 7 | #include "../tools/Mesh.h" |
[576] | 8 | |
[708] | 9 | class TiXmlElement; // Forward declaration |
10 | ||
[576] | 11 | namespace orxonox |
12 | { | |
[708] | 13 | |
[729] | 14 | class _OrxonoxExport Model : public WorldEntity |
[576] | 15 | { |
16 | public: | |
17 | Model(); | |
[646] | 18 | virtual ~Model(); |
[576] | 19 | virtual void loadParams(TiXmlElement* xmlElem); |
[630] | 20 | bool create(); |
[576] | 21 | |
22 | private: | |
[715] | 23 | std::string meshSrc_; |
[576] | 24 | Mesh mesh_; |
[630] | 25 | void registerAllVariables(); |
[576] | 26 | }; |
[729] | 27 | ExportClass(Model, Orxonox); |
[576] | 28 | } |
29 | ||
[673] | 30 | #endif /* _Model_H__ */ |
Note: See TracBrowser
for help on using the repository browser.