-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImuPositionPlugin.h
More file actions
41 lines (29 loc) · 864 Bytes
/
ImuPositionPlugin.h
File metadata and controls
41 lines (29 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef IMUPOSITIONPLUGIN_H_INCLUDED
#define IMUPOSITIONPLUGIN_H_INCLUDED
#include <QWidget>
#include <QString>
#include "toolkit_interfaces.h"
#include "toolkit_errors.h"
#include "util.h"
#include "ImuPositionModelExtension.h"
class ImuPositionPlugin : public QObject, public OptionalInterface {
Q_OBJECT
Q_INTERFACES(OptionalInterface)
Q_PLUGIN_METADATA(IID OptionalInterface_iid FILE "metadata.json")
public:
ImuPositionPlugin();
virtual ~ImuPositionPlugin();
void init(ToolkitApp* app);
ImuPositionModelExtension* loadImuPositionFile(QString path);
private:
ToolkitApp* parentApp;
QAction* load_file_trigger;
std::map<RBDLModelWrapper*, QString> model_file_map;
float imu_size;
QColor imu_color;
void loadImuPositionSettings();
public slots:
void action_load_data();
void reload(RBDLModelWrapper *model);
};
#endif