Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core2/src/orxonox/objects/Model.h @ 1001

Last change on this file since 1001 was 902, checked in by landauf, 16 years ago

using "XMLPort::Mode mode" instead of "bool loading" in all XMLPort functions

File size: 713 bytes
RevLine 
[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]9class TiXmlElement; // Forward declaration
10
[576]11namespace 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);
[902]20            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
[871]21            void setMesh(const std::string& meshname);
[630]22            bool create();
[576]23
24        private:
[715]25            std::string meshSrc_;
[576]26            Mesh mesh_;
[630]27            void registerAllVariables();
[576]28    };
29}
30
[673]31#endif /* _Model_H__ */
Note: See TracBrowser for help on using the repository browser.