Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core/src/orxonox/tools/BillboardSet.h @ 852

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

removed some includes of CoreIncludes.h from other .h files (included in .cc only)

File size: 879 bytes
Line 
1#ifndef _BillboardSet_H__
2#define _BillboardSet_H__
3
4#include <string>
5
6#include <OgreBillboardSet.h>
7
8#include "../OrxonoxPrereqs.h"
9#include "util/Math.h"
10
11namespace orxonox
12{
13    class _OrxonoxExport BillboardSet
14    {
15        public:
16            BillboardSet();
17            ~BillboardSet();
18            void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO);
19
20            inline Ogre::BillboardSet* getBillboardSet()
21                { return this->billboardSet_; }
22
23            inline const std::string& getName() const
24                { return this->billboardSet_->getName(); }
25
26        private:
27            static unsigned int billboardSetCounter_s;
28            Ogre::BillboardSet* billboardSet_;
29    };
30}
31
32#endif /* _BillboardSet_H__ */
Note: See TracBrowser for help on using the repository browser.