 |
AntiMicroX
|
Go to the documentation of this file.
42 virtual QSize
sizeHint()
const override;
45 virtual void paintEvent(QPaintEvent *event)
override;
JoySensorStatusBox(QWidget *parent=nullptr)
Definition: joysensorstatusbox.cpp:35
virtual float getZCoordinate() const =0
void setSensor(JoySensor *sensor)
Sets the to be visualized sensor.
Definition: joysensorstatusbox.cpp:47
double calculatePitch() const
Calculate the pitch angle (in degrees) corresponding to the current position of controller.
Definition: joysensor.cpp:425
double getDiagonalRange() const
Get the assigned diagonal range value.
Definition: joysensor.cpp:264
void drawArtificialHorizon()
draws the artificial horizon instrument on the screen
Definition: joysensorstatusbox.cpp:85
JoySensorType
Definition: joysensortype.h:23
static double radToDeg(double value)
Utility function which converts a given value from radians to degree.
Definition: joysensor.cpp:519
The GUI sensor position indicator widget.
Definition: joysensorstatusbox.h:32
double calculateRoll() const
Calculate the roll angle (in degrees) corresponding to the current position of controller.
Definition: joysensor.cpp:455
virtual QSize sizeHint() const override
Definition: joysensorstatusbox.cpp:71
JoySensorType getType() const
Returns the sensor type.
Definition: joysensor.cpp:247
JoySensor * m_sensor
Definition: joysensorstatusbox.h:49
JoySensor * getSensor() const
Get the visualized sensor object.
Definition: joysensorstatusbox.cpp:69
double getMaxZone() const
Get the assigned max zone value.
Definition: joysensor.cpp:270
virtual float getXCoordinate() const =0
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition: joysensor.h:39
@ GYROSCOPE
Definition: joysensortype.h:26
virtual void paintEvent(QPaintEvent *event) override
Definition: joysensorstatusbox.cpp:73
double getDeadZone() const
Get the assigned dead zone value.
Definition: joysensor.cpp:258
QMutex inputDaemonMutex
Definition: common.cpp:223
virtual float getYCoordinate() const =0
@ ACCELEROMETER
Definition: joysensortype.h:25