Isis Developer Reference
ControlHealthMonitorWidget.h
Go to the documentation of this file.
1 #ifndef ControlHealthMonitorWidget_h
2 #define ControlHealthMonitorWidget_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QLabel>
13 #include <QTableWidget>
14 #include <QProgressBar>
15 #include <QPointer>
16 #include <ControlNetVitals.h>
17 
18 
19 
20 namespace Isis {
30 
31 
32  Q_OBJECT
33 
34  public:
37  void createGui();
42  void setVitals(ControlNetVitals *vitals);
43  void initializeEverything();
44 
45  public slots:
46  void emitOpenImageEditor();
47  void emitOpenPointEditor();
48 
49  void historyEntry(QString, QString, QVariant, QVariant, QString);
50 
51  void viewPointAll();
52  void viewPointFree();
53 
54  void viewPointFixed();
55  void viewPointConstrained();
56 
57  void viewPointIgnored();
58  void viewPointEditLocked();
59  void viewPointFewMeasures();
60 
61  void viewImageAll();
62  void viewImageFewMeasures();
64 
65  void update();
66 
67  signals:
70 
71  private:
72  void updateStatus(int code);
73  void updateImageTable(QList<QString> serials);
74  void updatePointTable(QList<ControlPoint*> points);
75 
76  // QChartView *m_pointChartView;
77  ControlNetVitals *m_vitals;
78  QProgressBar *m_statusBar;
79  QProgressBar *m_pointsFreeProgressbar;
80  QProgressBar *m_pointsConstrainedProgressbar;
81  QProgressBar *m_pointsFixedProgressbar;
82 
83 
84  QTableWidget *m_historyTable;
85  QTableWidget *m_imagesTable;
86  QTableWidget *m_pointsTable;
87 
88  QLabel *m_imagesHullValue;
89  QLabel *m_imagesMeasuresValue;
90  QLabel *m_imagesShowingLabel;
91  QLabel *m_lastModLabel;
92  QLabel *m_netLabel;
93  QLabel *m_numImagesLabel;
94  QLabel *m_numMeasuresLabel;
95  QLabel *m_numPointsLabel;
96  QLabel *m_pointsConstrainedLabel;
97  QLabel *m_pointsEditLockedLabel;
98  QLabel *m_pointsFewMeasuresLabel;
99  QLabel *m_pointsFixedLabel;
100  QLabel *m_pointsFreeLabel;
101  QLabel *m_pointsIgnoredLabel;
102  QLabel *m_pointsShowingLabel;
103  QLabel *m_statusDetails;
104  QLabel *m_statusLabel;
105 
106  };
107 }
108 
109 #endif
ControlHealthMonitorWidget.h
Isis::ControlHealthMonitorWidget::viewPointFixed
void viewPointFixed()
Definition: ControlHealthMonitorWidget.cpp:763
Isis::ControlNetVitals::getImagesBelowMeasureThreshold
QList< QString > getImagesBelowMeasureThreshold(int num=3)
This method is designed to return a QList containing cube serials for all images that fall below a me...
Definition: ControlNetVitals.cpp:806
Isis::ControlHealthMonitorWidget::createPointsTab
QWidget * createPointsTab()
Definition: ControlHealthMonitorWidget.cpp:449
QWidget
QProgressBar
Isis::ControlHealthMonitorWidget::viewPointEditLocked
void viewPointEditLocked()
Definition: ControlHealthMonitorWidget.cpp:787
Isis::ControlHealthMonitorWidget::openPointEditor
void openPointEditor(ControlPoint *point)
QList< QString >
Isis::ControlNetVitals::getFreePoints
QList< ControlPoint * > getFreePoints()
This method is designed to return all free points in the Control Network.
Definition: ControlNetVitals.cpp:771
Isis::ControlNetVitals::getAllPoints
QList< ControlPoint * > getAllPoints()
This method is designed to return all points in the Control Network.
Definition: ControlNetVitals.cpp:705
Isis::ControlHealthMonitorWidget::historyEntry
void historyEntry(QString, QString, QVariant, QVariant, QString)
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class ...
Definition: ControlHealthMonitorWidget.cpp:647
Isis::ControlNetVitals::numFreePoints
int numFreePoints()
This method is designed to return the number of free points in the Control Network.
Definition: ControlNetVitals.cpp:604
Isis::ControlHealthMonitorWidget::createGraphTab
QWidget * createGraphTab()
Definition: ControlHealthMonitorWidget.cpp:666
Isis::ControlHealthMonitorWidget::createImagesTab
QWidget * createImagesTab()
Definition: ControlHealthMonitorWidget.cpp:353
Isis::ControlNetVitals::getImagesBelowHullTolerance
QList< QString > getImagesBelowHullTolerance(int num=75)
This method is designed to return a QList containing cube serials for all images that fall below a co...
Definition: ControlNetVitals.cpp:826
Isis::ControlNetVitals::numImagesBelowHullTolerance
int numImagesBelowHullTolerance(int tolerance=75)
This method is designed to return the number of images that fall below a hull tolerance.
Definition: ControlNetVitals.cpp:685
Isis::ControlHealthMonitorWidget::viewPointIgnored
void viewPointIgnored()
Definition: ControlHealthMonitorWidget.cpp:739
QStringList
Isis::ControlNetVitals::getIgnoredPoints
QList< ControlPoint * > getIgnoredPoints()
This method is designed to return all ignored points in the Control Network.
Definition: ControlNetVitals.cpp:715
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
Isis::ControlHealthMonitorWidget::viewImageAll
void viewImageAll()
Definition: ControlHealthMonitorWidget.cpp:812
Isis::ControlNetVitals::getPointsBelowMeasureThreshold
QList< ControlPoint * > getPointsBelowMeasureThreshold(int num=3)
This method is designed to return all points that fall below a measure threshold.
Definition: ControlNetVitals.cpp:788
Isis::ControlNetVitals::getStatusDetails
QString getStatusDetails()
This method is designed to return details for the status of the network.
Definition: ControlNetVitals.cpp:853
Isis::ControlHealthMonitorWidget::viewPointConstrained
void viewPointConstrained()
Definition: ControlHealthMonitorWidget.cpp:775
Isis::ControlHealthMonitorWidget::setVitals
void setVitals(ControlNetVitals *vitals)
Isis::ControlHealthMonitorWidget::createOverviewTab
QWidget * createOverviewTab()
Definition: ControlHealthMonitorWidget.cpp:293
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::ControlHealthMonitorWidget::emitOpenImageEditor
void emitOpenImageEditor()
This method is designed to be called whenever a user double-clicks on an image in the image table of ...
Definition: ControlHealthMonitorWidget.cpp:609
Isis::ControlNetVitals::numPoints
int numPoints()
This method is designed to return the number of points in the Control Network.
Definition: ControlNetVitals.cpp:554
ControlNet.h
Isis::ControlHealthMonitorWidget
Interface that allows real-time evaluation of the state of a Control Network.
Definition: ControlHealthMonitorWidget.h:29
Isis::ControlNetVitals::numIgnoredPoints
int numIgnoredPoints()
This method is designed to return the number of ignored points in the Control Network.
Definition: ControlNetVitals.cpp:564
Isis::ControlNetVitals::numImages
int numImages()
This method is designed to return the number of images in the Control Network.
Definition: ControlNetVitals.cpp:638
Isis::ControlNetVitals::numLockedPoints
int numLockedPoints()
This method is designed to return the number of edit locked points in the Control Network.
Definition: ControlNetVitals.cpp:574
Isis::ControlNetVitals::getFixedPoints
QList< ControlPoint * > getFixedPoints()
This method is designed to return all fixed points in the Control Network.
Definition: ControlNetVitals.cpp:743
Isis::ControlHealthMonitorWidget::openImageEditor
void openImageEditor(QList< QString > serials)
Isis::ControlNetVitals::numPointsBelowMeasureThreshold
int numPointsBelowMeasureThreshold(int num=3)
This method is designed to return the number of points that fall below a measure threshold.
Definition: ControlNetVitals.cpp:617
Isis::ControlNetVitals::getConstrainedPoints
QList< ControlPoint * > getConstrainedPoints()
This method is designed to return all constrained points in the Control Network.
Definition: ControlNetVitals.cpp:757
Isis::ControlHealthMonitorWidget::ControlHealthMonitorWidget
ControlHealthMonitorWidget(ControlNetVitals *vitals, QWidget *parent=0)
This class is the front end representation of a ControlNetVitals object.
Definition: ControlHealthMonitorWidget.cpp:50
Isis::ControlHealthMonitorWidget::emitOpenPointEditor
void emitOpenPointEditor()
This method is designed to be called whenever a user double-clicks on a point in the point table of t...
Definition: ControlHealthMonitorWidget.cpp:627
Isis::ControlNetVitals
ControlNetVitals.
Definition: ControlNetVitals.h:51
Isis::ControlNetVitals::getCubeSerials
QList< QString > getCubeSerials()
This method is designed to return all cube serials present in the Control Network.
Definition: ControlNetVitals.cpp:695
ControlPoint.h
Isis::ControlNetVitals::getPoint
ControlPoint * getPoint(QString id)
This method is designed to return the Control Point with the associated point id from the Control Net...
Definition: ControlNetVitals.cpp:265
Isis::ControlNetVitals::getStatus
QString getStatus()
This method is designed to return the current status of the network.
Definition: ControlNetVitals.cpp:839
Isis::ControlHealthMonitorWidget::viewPointAll
void viewPointAll()
Definition: ControlHealthMonitorWidget.cpp:727
Isis::ControlHealthMonitorWidget::viewPointFewMeasures
void viewPointFewMeasures()
Definition: ControlHealthMonitorWidget.cpp:800
Isis::ControlHealthMonitorWidget::viewPointFree
void viewPointFree()
Definition: ControlHealthMonitorWidget.cpp:751
Isis::ControlHealthMonitorWidget::viewImageFewMeasures
void viewImageFewMeasures()
Definition: ControlHealthMonitorWidget.cpp:824
Isis::ControlHealthMonitorWidget::viewImageHullTolerance
void viewImageHullTolerance()
Definition: ControlHealthMonitorWidget.cpp:836
Isis::ControlNetVitals::numConstrainedPoints
int numConstrainedPoints()
This method is designed to return the number of constrained points in the Control Network.
Definition: ControlNetVitals.cpp:594
Isis::ControlNetVitals::numMeasures
int numMeasures()
This method is designed to return the number of measures in the Control Network.
Definition: ControlNetVitals.cpp:648
QFrame
Isis::ControlHealthMonitorWidget::createGui
void createGui()
This method is responsible for creating all of the components that comprise the GUI.
Definition: ControlHealthMonitorWidget.cpp:172
Isis::ControlHealthMonitorWidget::update
void update()
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals obje...
Definition: ControlHealthMonitorWidget.cpp:70
Isis::ControlNetVitals::numImagesBelowMeasureThreshold
int numImagesBelowMeasureThreshold(int num=3)
This method is designed to return the number of images that fall below a measure threshold.
Definition: ControlNetVitals.cpp:661
Progress.h
Isis::ControlHealthMonitorWidget::~ControlHealthMonitorWidget
~ControlHealthMonitorWidget()
Destructor.
Definition: ControlHealthMonitorWidget.cpp:847
ControlNetVitals.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ControlNetVitals::getLockedPoints
QList< ControlPoint * > getLockedPoints()
This method is designed to return all edit locked points in the Control Network.
Definition: ControlNetVitals.cpp:729
Isis::ControlNetVitals::numFixedPoints
int numFixedPoints()
This method is designed to return the number of fixed points in the Control Network.
Definition: ControlNetVitals.cpp:584
Isis::ControlHealthMonitorWidget::initializeEverything
void initializeEverything()
Initializes all member variables to NULL.
Definition: ControlHealthMonitorWidget.cpp:266
Isis::ControlNetVitals::getNetworkId
QString getNetworkId()
This method is designed to return networkId of the observed Control Network.
Definition: ControlNetVitals.cpp:865