23 #include "worldsimconfig.h"
59 void setPosition(
const wVector& newpos );
65 const World* world()
const;
69 void setTexture( QString textureName );
71 QString texture()
const;
77 void setColor( QColor c );
79 void setAlpha(
int alpha );
83 bool useColorTextureOfOwner()
const;
85 void setUseColorTextureOfOwner(
bool b );
90 virtual void preUpdate();
95 virtual void postUpdate();
97 void setMatrix(
const wMatrix& newm );
99 bool isInvisible()
const;
104 void setInvisible(
bool b );
114 void drawLocalAxes(
bool d);
121 bool localAxesDrawn()
const;
127 void setLabel(QString label);
135 void setLabel(QString label,
wVector pos);
144 void setLabel(QString label,
wVector pos, QColor color);
150 const QString& label()
const;
156 void setLabelPosition(
const wVector& pos);
162 const wVector& labelPosition()
const;
168 void setLabelColor(
const QColor& color);
174 const QColor& labelColor()
const;
180 void showLabel(
bool show);
186 bool labelShown()
const;
189 virtual void changedMatrix();
QString namev
Name of the WObject.
static wMatrix identity()
create an identity matrix
wMatrix tm
Trasformation matrix.
wVector labelpos
The position of the label in the object frame of reference.
QString labelv
The text label of the object.
QString texturev
Texture name.
bool labeldrawn
Whether the label should be rendered or not.
bool invisible
if TRUE it will not renderized
The base for all class that can have (and can be) an owner.
QColor labelcol
The color of the label.
QColor colorv
Color, it contains also alpha channel.
bool usecolortextureofowner
if true, we will use color and texture of our owner (if we have one).
bool localFrameOfReferenceDrawn
If true, the local frame of reference of the object is drawn.