23 #ifndef WHEELEDEXPERIMENTHELPER_H
24 #define WHEELEDEXPERIMENTHELPER_H
27 #include "parametersettable.h"
28 #include "resourcesuser.h"
31 #include "phyobject.h"
33 #include "phycylinder.h"
58 RectangularTargetArea,
63 NumberOfDifferentTypes
81 virtual const PhyObject* phyObject()
const = 0;
89 virtual Type type()
const = 0;
97 virtual void setStatic(
bool s);
104 bool getStatic()
const;
112 void setPosition(wVector pos);
121 virtual void setPosition(real x, real y) = 0;
128 wVector position()
const;
151 virtual void computeLinearViewFieldOccupiedRange(
const wMatrix& mtr,
double& minAngle,
double& maxAngle,
double& distance)
const = 0;
158 void setTexture(QString textureName);
165 QString texture()
const;
172 void setColor(QColor color);
179 QColor color()
const;
188 void setUseColorTextureOfOwner(
bool b);
197 bool useColorTextureOfOwner()
const;
245 virtual PhyBox* phyObject();
252 virtual const PhyBox* phyObject()
const;
259 virtual Type type()
const;
267 virtual void setStatic(
bool s);
276 virtual void setPosition(real x, real y);
302 virtual void computeLinearViewFieldOccupiedRange(
const wMatrix& cameraMtr,
double& minAngle,
double& maxAngle,
double& distance)
const;
312 const wVector& vertex(
int i)
const
314 return m_vertexes[i];
324 const wVector& centerOnPlane()
const
326 return m_centerOnPlane;
358 QVector<wVector> m_vertexes;
365 wVector m_centerOnPlane;
412 virtual void setStatic(
bool s);
419 virtual Type type()
const;
427 virtual void setPosition(real x, real y);
453 virtual void computeLinearViewFieldOccupiedRange(
const wMatrix& cameraMtr,
double& minAngle,
double& maxAngle,
double& distance)
const;