4#include <NDEVR/BaseValues.h>
8 class OrientationSensor;
10 class PropertiesButton;
12 class MagnetometerWidget;
22 AlignmentWidget(QTModelManager* manager, QWidget* parent =
nullptr);
23 AlignmentWidget(QWidget* parent =
nullptr);
24 void setModelManager(QTModelManager* manager);
25 void setSensor(OrientationSensor* sensor);
26 void showCalibrationOptionsPopup(PopupInfo info);
27 void showMagnetometerOptionsPopup(PopupInfo info);
28 AlignGyroButton* calibrationButton()
const;
29 Button* magnetometerButton()
const;
30 static void SetMagneticCalibrationCallback(
const std::function<
void(PopupInfo info, OrientationSensor* sensor)>& function);
38 static std::function<void(PopupInfo info, OrientationSensor* sensor)> s_magnetic_calibration_function;
40 AlignGyroButton* m_calibrate_button;
41 MagnetometerWidget* m_magnetometer_widget =
nullptr;
42 Button* m_magnetometer_button;
43 PropertiesButton* m_properties_button;
44 OrientationSensor* m_sensor;
45 QTModelManager* m_manager;
47 bool m_is_calibrating;
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80