-
Notifications
You must be signed in to change notification settings - Fork 1
/
qDFDisplayManager.hpp
40 lines (34 loc) · 1.2 KB
/
qDFDisplayManager.hpp
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
#ifndef qDFDisplayManager_HPP
#define qDFDisplayManager_HPP
#include <QMap>
#include <QString>
class qDFDisplayInterface;
class qDFProjReport;
#include <DF_Proj_Point.hpp>
class qDFDisplayManager
{
public:
qDFDisplayManager() {}; // constructor does nothing, really
~qDFDisplayManager();
void addDisplay(const QString displayName, qDFDisplayInterface *theDisplay,
bool enabled=true);
void enableDisplay(QString displayName);
void disableDisplay(QString displayName);
void initializeDisplays();
void clearDisplays();
void closeDisplays();
void displayDFReport(const qDFProjReport *theReport);
void undisplayDFReport(const qDFProjReport *theReport);
void displayLSFix(DFLib::Proj::Point & LSFixPoint);
void undisplayLSFix();
void displayFCAFix(DFLib::Proj::Point & FCAFixPoint, std::vector<double> stddevs);
void undisplayFCAFix();
void displayMLFix(DFLib::Proj::Point & MLFixPoint, double am2=0, double bm2=0, double phi=0);
void undisplayMLFix();
void displayBPEFix(DFLib::Proj::Point & BPEFixPoint, double am2=0, double bm2=0, double phi=0);
void undisplayBPEFix();
private:
QMap<QString,bool> enabledMap_;
QMap<QString,qDFDisplayInterface *> interfacesMap_;
};
#endif