29 #ifndef _RadarViewable_H__ 30 #define _RadarViewable_H__ 68 this->bVisibility_ =
false;
69 this->settingsChanged();
71 if (this->radarName_ != name)
73 this->radarName_ = name;
74 this->settingsChanged();
78 {
return this->radarName_; }
82 if( this->radarObjectCamouflage_ != camouflage )
84 this->radarObjectCamouflage_ = camouflage;
85 this->settingsChanged();
89 {
return this->radarObjectCamouflage_; }
93 if(this->radarObjectColour_ != colour)
95 this->radarObjectColour_ =
colour;
96 this->settingsChanged();
100 {
return this->radarObjectColour_; }
108 if(b!=this->bVisibility_)
110 this->bVisibility_ = b;
111 this->settingsChanged();
115 {
return this->bVisibility_; }
119 const Vector3& getRVWorldPosition()
const;
120 Vector3 getRVOrientedVelocity()
const;
121 Vector3 getRVVelocity()
const;
125 if( this->radarObjectShape_ != shape )
127 this->radarObjectShape_ = shape;
128 this->settingsChanged();
132 {
return this->radarObjectShape_; }
136 if(this->scale_ != scale)
138 this->scale_ = scale;
139 this->settingsChanged();
143 {
return this->scale_; }
145 void settingsChanged();
151 return this->uniqueId_;
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
void setRadarObjectShape(Shape shape)
Definition: RadarViewable.h:123
std::string uniqueId_
Definition: RadarViewable.h:159
const std::string & getUniqueId()
Definition: RadarViewable.h:149
void setRadarObjectScale(float scale)
Definition: RadarViewable.h:134
float radarObjectCamouflage_
Definition: RadarViewable.h:165
bool bVisibility_
Definition: RadarViewable.h:156
::std::string string
Definition: gtest-port.h:756
A strong pointer which wraps a pointer to an object and keeps this object alive as long as the strong...
Definition: CorePrereqs.h:227
void setRadarObjectCamouflage(float camouflage)
Definition: RadarViewable.h:80
bool bInitialized_
Definition: RadarViewable.h:157
This is the class from which all interfaces of the game-logic (not the engine) are derived from...
Definition: OrxonoxInterface.h:50
Interface for receiving window events.
Definition: RadarViewable.h:48
float getRadarObjectCamouflage() const
Definition: RadarViewable.h:88
StrongPtr< Radar > radar_
Definition: RadarViewable.h:164
Ogre::ColourValue colour(const btVector3 &color, btScalar alpha)
Definition: OgreBulletUtils.h:41
virtual const WorldEntity * getWorldEntity() const
Definition: RadarViewable.h:117
The WorldEntity represents everything that can be put in a Scene at a certain location.
Definition: WorldEntity.h:72
std::string radarObjectDescription_
Definition: RadarViewable.h:167
bool isHumanShip_
Definition: RadarViewable.h:148
const std::string & getRadarName() const
Definition: RadarViewable.h:77
std::string radarName_
Definition: RadarViewable.h:170
void setRadarObjectColour(const ColourValue &colour)
Definition: RadarViewable.h:91
ColourValue radarObjectColour_
Definition: RadarViewable.h:168
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
Shape
Definition: RadarViewable.h:51
const WorldEntity * wePtr_
Definition: RadarViewable.h:163
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Declaration of OrxonoxInterface, the base class of all interfaces in Orxonox.
Shape getRadarObjectShape() const
Definition: RadarViewable.h:131
Shape radarObjectShape_
Definition: RadarViewable.h:166
Shared library macros, enums, constants and forward declarations for the orxonox library ...
void setRadarVisibility(bool b)
Definition: RadarViewable.h:106
const ColourValue & getRadarObjectColour() const
Definition: RadarViewable.h:99
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
float getRadarObjectScale() const
Definition: RadarViewable.h:142
Definition of StrongPtr<T>, wraps a pointer to an object and keeps it alive.
virtual void setRadarName(const std::string &name)
Definition: RadarViewable.h:63
bool getRadarVisibility() const
Definition: RadarViewable.h:114
float scale_
Definition: RadarViewable.h:169