added main menu added debug display many debug widgets for plotting live data worked on android live sensors added offline-data sensor feeding some dummy data sensors worked on the map display added ui debug for grid-points, particles and weights added a cool dude to display the estimation added real filtering based on the Indoor components c++11 fixes for android compilation online and offline filtering support new resampling technique for testing map loading via dialog
51 lines
671 B
C++
51 lines
671 B
C++
#ifndef CONTROLLER_H
|
|
#define CONTROLLER_H
|
|
|
|
class MainWindow;
|
|
class MainMenu;
|
|
class MapView;
|
|
|
|
class NavController;
|
|
|
|
#include <QObject>
|
|
template <typename T> class Grid;
|
|
class MyGridNode;
|
|
|
|
namespace Floorplan {
|
|
class IndoorMap;
|
|
}
|
|
|
|
class Controller : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
/** ctor */
|
|
explicit Controller();
|
|
|
|
public:
|
|
|
|
MapView* getMapView() const;
|
|
|
|
private slots:
|
|
|
|
void onLoadButton();
|
|
void onDebugButton();
|
|
void onStartButton();
|
|
|
|
void onTransparentButton();
|
|
void onCameraButton();
|
|
|
|
private:
|
|
|
|
MainWindow* mainWindow;
|
|
|
|
Grid<MyGridNode>* grid = nullptr;
|
|
NavController* nav = nullptr;
|
|
Floorplan::IndoorMap* im = nullptr;
|
|
|
|
};
|
|
|
|
#endif // CONTROLLER_H
|