PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
QPlusToolStateDisplayWidget.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef TOOLSTATEDISPLAYWIDGET_H
8 #define TOOLSTATEDISPLAYWIDGET_H
9 
10 // Local includes
11 #include "PlusConfigure.h"
12 #include "PlusWidgetsExport.h"
13 
14 // Qt includes
15 #include <QWidget>
16 
17 class QLabel;
18 class QTextEdit;
19 class vtkPlusChannel;
20 
21 //-----------------------------------------------------------------------------
22 
27 class PlusWidgetsExport QPlusToolStateDisplayWidget : public QWidget
28 {
29  Q_OBJECT
30 
31 public:
37  QPlusToolStateDisplayWidget(QWidget* aParent = 0, Qt::WindowFlags aFlags = 0);
38 
43 
50  PlusStatus InitializeTools(vtkPlusChannel* aChannel, bool aConnectionSuccessful);
51 
55  PlusStatus Update();
56 
61  bool IsInitialized();
62 
63 protected:
65  std::vector<QLabel*> m_ToolNameLabels;
66  std::vector<QTextEdit*> m_ToolStateLabels;
68 };
69 
70 #endif
bool IsInitialized()
Definition: SEIDrv.cpp:107
std::vector< QTextEdit * > m_ToolStateLabels
igsioStatus PlusStatus
Definition: PlusCommon.h:40
std::vector< QLabel * > m_ToolNameLabels
Contains an optional timestamped circular buffer containing the video images and a number of timestam...
Widget that shows state of all tools available to the tracker.