13 #ifndef QmitkNDIConfigurationWidget_h
14 #define QmitkNDIConfigurationWidget_h
16 #include "ui_QmitkNDIConfigurationWidget.h"
19 #include "QStringList"
20 #include "MitkIGTUIExports.h"
50 DEPRECATED(
const QStringList& GetToolTypes()
const);
51 DEPRECATED(
void SetToolTypes(
const QStringList& types));
54 DEPRECATED(
void SetTagPropertyName(
const std::string& name));
57 DEPRECATED(
const QString GetToolType(
unsigned int index)
const);
58 DEPRECATED(
const QString GetToolName(
unsigned int index)
const);
59 QMap<QString, unsigned int> GetToolAndTypes()
const;
60 DEPRECATED(QList<unsigned int> GetToolsByToolType(QString toolType)
const);
65 void ToolsAdded(QStringList tools);
70 void SignalToolNameChanged(
int id, QString name);
71 void SignalSavedTool(
int id, QString surfaceFilename);
75 void SetDeviceName(
const char* dev);
76 void ShowToolRepresentationColumn();
77 void EnableAddToolsButton(
bool enable);
78 void EnableDiscoverNewToolsButton(
bool enable); ;
83 void OnDiscoverTools();
84 void OnDiscoverDevices();
85 void OnAddPassiveTool();
86 void UpdateTrackerFromToolTable(
const QModelIndex & topLeft,
const QModelIndex & );
87 void OnTableItemClicked(
const QModelIndex & topLeft);
88 void OnDisoverDevicesBtnInfo();
89 void OnTableCellChanged(
int row,
int column);
102 void ScanPortsForNDITrackingDevices(
PortDeviceMap& portsAndDevices);
106 QStringList GetToolNamesList();
108 void CreateTracker();
110 QString GetStatusText();
112 void UpdateWidgets();
113 void UpdateToolTable();
114 virtual void CreateQtPartControl(QWidget *parent);
115 virtual void CreateConnections();
116 void HidePolarisOptionsGroupbox(
bool on );
117 void HideAuroraOptionsGroupbox(
bool on );