ProjectedTextures
Prototype software for spacial augmented reality applications.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
MainWindow.h
Go to the documentation of this file.
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3 
4 #include <QMainWindow>
5 #include <QApplication>
6 #include <QDesktopWidget>
7 #include <QFileDialog>
8 #include "ui_MainWindow.h"
9 
10 #include "ResourceManager.h"
11 #include "ProjectorWidget.h"
12 #include "CamViewWidget.h"
13 #include "ShaderManager.h"
14 #include "FiducialTrackerWidget.h"
15 #include "ObjectWidget.h"
16 
17 
22 class MainWindow : public QMainWindow
23 {
24  Q_OBJECT
25 
26 public:
31  MainWindow(QWidget *parent = 0);
32  ~MainWindow();
33 
34 protected:
35  void closeEvent(QCloseEvent *event);
36 
37 private:
38  Ui::MainWindow ui;
39 
40  ResourceManager resources;
42  ShaderManager* shaders;
44  QList<ProjectorWidget*> projectorWidgets;
45  CamViewWidget* camViewWidget;
48 public slots:
49  //void loadObjectConfiguration(); //load a new object configuration at runtime. have not got it to work so far
53 };
54 
55 #endif // MAINWINDOW_H