#include <QmitkNDIConfigurationWidget.h>
- Deprecated:
- This widget is deprecated. The features (1) connection to NDI tracking devices and (2) handling of navigation tools are available in the pluging org.mitk.gui.qt.igttracking in a current version. The new concept to access the tracking devices is to use microservices. This can be achieved very simple by using the QmitkNavigationDataSourceSelectionWidget. You can find an example in the IGT tutorial step 2 / org.mitk.gui.qt.igtexamples (view TrackingLab).
Definition at line 39 of file QmitkNDIConfigurationWidget.h.
◆ PortDeviceMap
◆ QmitkNDIConfigurationWidget()
QmitkNDIConfigurationWidget::QmitkNDIConfigurationWidget |
( |
QWidget * |
parent | ) |
|
◆ ~QmitkNDIConfigurationWidget()
QmitkNDIConfigurationWidget::~QmitkNDIConfigurationWidget |
( |
| ) |
|
|
override |
◆ Connected
void QmitkNDIConfigurationWidget::Connected |
( |
| ) |
|
|
signal |
◆ CreateConnections()
virtual void QmitkNDIConfigurationWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections of main and control widget.
◆ CreateQtPartControl()
virtual void QmitkNDIConfigurationWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ CreateTracker()
void QmitkNDIConfigurationWidget::CreateTracker |
( |
| ) |
|
|
protected |
creates new NDITrackingDevice object
◆ Disconnected
void QmitkNDIConfigurationWidget::Disconnected |
( |
| ) |
|
|
signal |
◆ EnableAddToolsButton
void QmitkNDIConfigurationWidget::EnableAddToolsButton |
( |
bool |
enable | ) |
|
|
slot |
enables or disables the Add Tools button
◆ EnableDiscoverNewToolsButton
void QmitkNDIConfigurationWidget::EnableDiscoverNewToolsButton |
( |
bool |
enable | ) |
|
|
slot |
◆ GenerateNavigationTool()
mitk::NavigationTool::Pointer QmitkNDIConfigurationWidget::GenerateNavigationTool |
( |
mitk::TrackingTool * |
tool | ) |
|
|
protected |
◆ GetDataStorage()
◆ GetDeviceName()
std::string QmitkNDIConfigurationWidget::GetDeviceName |
( |
| ) |
const |
◆ GetNode()
mitk::DataNode* QmitkNDIConfigurationWidget::GetNode |
( |
unsigned int |
index | ) |
const |
◆ GetPredicate()
◆ GetStatusText()
QString QmitkNDIConfigurationWidget::GetStatusText |
( |
| ) |
|
|
protected |
construct a status text depending on the current state of the tracking device object
◆ GetToolAndTypes()
QMap<QString, unsigned int> QmitkNDIConfigurationWidget::GetToolAndTypes |
( |
| ) |
const |
◆ GetToolName()
const QString QmitkNDIConfigurationWidget::GetToolName |
( |
unsigned int |
index | ) |
const |
◆ GetToolNamesList()
QStringList QmitkNDIConfigurationWidget::GetToolNamesList |
( |
| ) |
|
|
protected |
returns a string list with the names of all tools of the current tracking device
◆ GetToolsByToolType()
QList<unsigned int> QmitkNDIConfigurationWidget::GetToolsByToolType |
( |
QString |
toolType | ) |
const |
◆ GetToolType()
const QString QmitkNDIConfigurationWidget::GetToolType |
( |
unsigned int |
index | ) |
const |
◆ GetToolTypes()
const QStringList& QmitkNDIConfigurationWidget::GetToolTypes |
( |
| ) |
const |
◆ GetTracker()
◆ HideAuroraOptionsGroupbox()
void QmitkNDIConfigurationWidget::HideAuroraOptionsGroupbox |
( |
bool |
on | ) |
|
|
protected |
show or hide aurora options in the UI
◆ HidePolarisOptionsGroupbox()
void QmitkNDIConfigurationWidget::HidePolarisOptionsGroupbox |
( |
bool |
on | ) |
|
|
protected |
show or hide polaris options in the UI
◆ LoadSurfaceFromSTLFile()
◆ OnAddPassiveTool
void QmitkNDIConfigurationWidget::OnAddPassiveTool |
( |
| ) |
|
|
protectedslot |
◆ OnConnect
void QmitkNDIConfigurationWidget::OnConnect |
( |
| ) |
|
|
protectedslot |
enables or disables the Discover new Tools button
◆ OnDisconnect
void QmitkNDIConfigurationWidget::OnDisconnect |
( |
| ) |
|
|
protectedslot |
◆ OnDiscoverDevices
void QmitkNDIConfigurationWidget::OnDiscoverDevices |
( |
| ) |
|
|
protectedslot |
◆ OnDiscoverTools
void QmitkNDIConfigurationWidget::OnDiscoverTools |
( |
| ) |
|
|
protectedslot |
◆ OnDisoverDevicesBtnInfo
void QmitkNDIConfigurationWidget::OnDisoverDevicesBtnInfo |
( |
| ) |
|
|
protectedslot |
◆ OnLoadTool
void QmitkNDIConfigurationWidget::OnLoadTool |
( |
| ) |
|
|
protectedslot |
◆ OnSaveTool
void QmitkNDIConfigurationWidget::OnSaveTool |
( |
| ) |
|
|
protectedslot |
◆ OnTableCellChanged
void QmitkNDIConfigurationWidget::OnTableCellChanged |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
◆ OnTableItemClicked
void QmitkNDIConfigurationWidget::OnTableItemClicked |
( |
const QModelIndex & |
topLeft | ) |
|
|
protectedslot |
for clicking on tooltable items
◆ RepresentationChanged
◆ ScanPort()
◆ ScanPortsForNDITrackingDevices()
void QmitkNDIConfigurationWidget::ScanPortsForNDITrackingDevices |
( |
PortDeviceMap & |
portsAndDevices | ) |
|
|
protected |
scans the ports provided as key in the portsAndDevices and fills the respective value of portsAndDevices with the tracking device type at that port
Documentation
- Parameters
-
[in,out] | portsAndDevices | keys are used to query serial ports, values of the existing keys will be filled with the tracking device type |
◆ SetDataStorage()
set datastorage for organ node editor
◆ SetDeviceName
void QmitkNDIConfigurationWidget::SetDeviceName |
( |
const char * |
dev | ) |
|
|
slot |
set the device name (e.g. "COM1", "/dev/ttyS0") that will be used to connect to the tracking device
◆ SetPredicate()
set predicate for organ node editor
◆ SetTagProperty()
set the property that is used to tag selected nodes
◆ SetTagPropertyName()
void QmitkNDIConfigurationWidget::SetTagPropertyName |
( |
const std::string & |
name | ) |
|
set name of the property that is used to tag selected nodes
◆ SetToolTypes()
void QmitkNDIConfigurationWidget::SetToolTypes |
( |
const QStringList & |
types | ) |
|
set types list for type editor combobox
◆ SetupTracker()
void QmitkNDIConfigurationWidget::SetupTracker |
( |
| ) |
|
|
protected |
sets the parameters from the gui to the tracking device object
◆ ShowToolRepresentationColumn
void QmitkNDIConfigurationWidget::ShowToolRepresentationColumn |
( |
| ) |
|
|
slot |
show or hide the tooltable column "Tool Representation". This SLOT should be called after SIGNAL "Connected" is emitted
◆ SignalLoadTool
◆ SignalSavedTool
void QmitkNDIConfigurationWidget::SignalSavedTool |
( |
int |
id, |
|
|
QString |
surfaceFilename |
|
) |
| |
|
signal |
◆ SignalToolNameChanged
void QmitkNDIConfigurationWidget::SignalToolNameChanged |
( |
int |
id, |
|
|
QString |
name |
|
) |
| |
|
signal |
◆ ToolsAdded
void QmitkNDIConfigurationWidget::ToolsAdded |
( |
QStringList |
tools | ) |
|
|
signal |
◆ ToolsChanged
void QmitkNDIConfigurationWidget::ToolsChanged |
( |
| ) |
|
|
signal |
◆ UpdateToolTable()
void QmitkNDIConfigurationWidget::UpdateToolTable |
( |
| ) |
|
|
protected |
read all tools from the tracking device object and display them in the gui
◆ UpdateTrackerFromToolTable
void QmitkNDIConfigurationWidget::UpdateTrackerFromToolTable |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
|
|
) |
| |
|
protectedslot |
◆ UpdateWidgets()
void QmitkNDIConfigurationWidget::UpdateWidgets |
( |
| ) |
|
|
protected |
◆ m_Controls
Ui::QmitkNDIConfigurationWidget* QmitkNDIConfigurationWidget::m_Controls |
|
protected |
◆ m_Delegate
◆ m_RepresentatonCellDefaultText
QString QmitkNDIConfigurationWidget::m_RepresentatonCellDefaultText |
|
protected |
◆ m_Source
mitk::TrackingDeviceSource::Pointer QmitkNDIConfigurationWidget::m_Source |
|
protected |
◆ m_SROMCellDefaultText
QString QmitkNDIConfigurationWidget::m_SROMCellDefaultText |
|
protected |
◆ m_Tracker
mitk::NDITrackingDevice::Pointer QmitkNDIConfigurationWidget::m_Tracker |
|
protected |
The documentation for this class was generated from the following file: