ProjectedTextures
Prototype software for spacial augmented reality applications.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
ObjectWidget.h
Go to the documentation of this file.
1 #ifndef OBJECTWIDGET_H
2 #define OBJECTWIDGET_H
3 
4 #include <QWidget>
5 #include "ui_ObjectWidget.h"
6 
7 #include "Geometry.h"
8 
13 class ObjectWidget : public QWidget
14 {
15  Q_OBJECT
16 
17 public:
18  ObjectWidget(Geometry *geometry, QWidget *parent = 0);
19  ~ObjectWidget();
20 
21 protected:
24 private:
25  Ui::ObjectWidget ui;
26 
27 private slots:
28  void updateLegend(int idx);
30 public slots:
31  void changedTranslation(double value);
32  void changedRotation(double value);
33  void changedScale(double value);
35 signals:
36  void updateTranslation(float x, float y, float z);
37  void updateRotation(float x, float y, float z);
38  void updateScale(float s);
39 };
40 
41 #endif // OBJECTWIDGET_H