29 #ifndef _Billboard_H__ 30 #define _Billboard_H__ 34 #include "OgreBillboardSet.h" 51 virtual void changedVisibility()
override;
54 {
return this->billboard_; }
57 { this->material_ = material; this->changedMaterial(); }
59 {
return this->material_; }
62 { this->colour_ =
colour; this->changedColour(); }
64 {
return this->colour_; }
68 { this->rotation_ = rotation; this->changedRotation(); }
70 {
return this->rotation_; }
74 { this->setColour(colour); }
76 void setBillboardType(Ogre::BillboardType bbt);
78 void setCommonDirection(Vector3 vec);
80 void setCommonUpVector(Vector3 vec);
82 void setDefaultDimensions(
float width,
float height);
84 void setRenderQueueGroup(
unsigned char groupID);
86 void disableFrustumCulling();
91 {
return this->billboard_; }
93 virtual void changedColour();
96 void registerVariables();
97 void changedMaterial();
98 void changedRotation();
void setMaterial(const std::string &material)
Definition: Billboard.h:56
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
Radian rotation_
Definition: Billboard.h:103
::std::string string
Definition: gtest-port.h:756
void setColour(const ColourValue &colour)
Definition: Billboard.h:61
const std::string & getMaterial() const
Definition: Billboard.h:58
const BillboardSet & getBillboardSet() const
Definition: Billboard.h:53
Ogre::ColourValue colour(const btVector3 &color, btScalar alpha)
Definition: OgreBulletUtils.h:41
const Radian & getRotation() const
Definition: Billboard.h:69
xmlelement
Definition: Super.h:519
void setRotation(const Radian &rotation)
Definition: Billboard.h:67
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
Definition: Billboard.h:43
std::string material_
Definition: Billboard.h:101
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the orxonox library ...
virtual void setTeamColour(const ColourValue &colour) override
Definition: Billboard.h:73
Definition: TeamColourable.h:39
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Definition: BillboardSet.h:37
BillboardSet billboard_
Definition: Billboard.h:100
BillboardSet & getBillboardSet()
Definition: Billboard.h:90
const ColourValue & getColour() const
Definition: Billboard.h:63
ColourValue colour_
Definition: Billboard.h:102