Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkVirtualTrackerWidget Class Reference

Implementation of a configuration widget for a Vitrual Tracking Device. More...

#include <QmitkVirtualTrackerWidget.h>

Inheritance diagram for QmitkVirtualTrackerWidget:
Collaboration diagram for QmitkVirtualTrackerWidget:

Public Member Functions

 QmitkVirtualTrackerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkVirtualTrackerWidget ()
 
virtual void Initialize ()
 Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call InitializeSuperclassWidget(), CreateQtPartControl and optionally CreateConnections during this function. More...
 
virtual mitk::TrackingDevice::Pointer ConstructTrackingDevice ()
 
- Public Member Functions inherited from QmitkAbstractTrackingDeviceWidget
 QmitkAbstractTrackingDeviceWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~QmitkAbstractTrackingDeviceWidget ()
 
QmitkAbstractTrackingDeviceWidgetCloneForQt (QWidget *parent=0) const
 Return pointer to copy of the object. Internally use of QmitkUSAbstractCustomWidget::Clone() with additionaly setting an internal flag that the object was really cloned. More...
 
bool IsInitialized () const
 
virtual void ResetOutput ()
 Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More...
 
virtual void AddOutput (std::string)
 Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More...
 
virtual void StoreUISettings ()
 Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More...
 
virtual void LoadUISettings ()
 Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More...
 
virtual bool IsDeviceInstalled ()
 Optional method to investigate if drivers etc for your device are installed. The default value is "true" as most devices don't need this information. Others however migth crash, and for these you might implement this function (see QmitkMicronTrackerWidget) More...
 

Static Public Attributes

static const std::string VIEW_ID
 
- Static Public Attributes inherited from QmitkAbstractTrackingDeviceWidget
static const std::string VIEW_ID
 

Protected Slots

void EnableGaussianNoise ()
 
- Protected Slots inherited from QmitkAbstractTrackingDeviceWidget
void TestConnectionFinished (bool connected, QString output)
 
void TestConnection ()
 

Protected Member Functions

virtual QmitkVirtualTrackerWidgetClone (QWidget *parent) const
 Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call Initialize() during this function and copy all of your settings. More...
 
- Protected Member Functions inherited from QmitkAbstractTrackingDeviceWidget
PERSISTENCE_GET_SERVICE_METHOD_MACRO void InitializeSuperclassWidget ()
 

Protected Attributes

Ui::QmitkVirtualTrackerWidget * m_Controls
 
- Protected Attributes inherited from QmitkAbstractTrackingDeviceWidget
QmitkTrackingDeviceConfigurationWidgetConnectionWorkerm_TestConnectionWorker
 
QThread * m_TestConnectionWorkerThread
 

Additional Inherited Members

- Signals inherited from QmitkAbstractTrackingDeviceWidget
void ConnectionTested (bool connected, QString output)
 
- Public Attributes inherited from QmitkAbstractTrackingDeviceWidget
std::string m_ErrorMessage
 current problem description More...
 

Detailed Description

Implementation of a configuration widget for a Vitrual Tracking Device.

Documentation:

Definition at line 29 of file QmitkVirtualTrackerWidget.h.

Constructor & Destructor Documentation

QmitkVirtualTrackerWidget::QmitkVirtualTrackerWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 23 of file QmitkVirtualTrackerWidget.cpp.

Referenced by Clone().

QmitkVirtualTrackerWidget::~QmitkVirtualTrackerWidget ( )

Definition at line 36 of file QmitkVirtualTrackerWidget.cpp.

References m_Controls.

Member Function Documentation

QmitkVirtualTrackerWidget * QmitkVirtualTrackerWidget::Clone ( QWidget *  parent) const
protectedvirtual

Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call Initialize() during this function and copy all of your settings.

Implements QmitkAbstractTrackingDeviceWidget.

Definition at line 85 of file QmitkVirtualTrackerWidget.cpp.

References Initialize(), m_Controls, and QmitkVirtualTrackerWidget().

mitk::TrackingDevice::Pointer QmitkVirtualTrackerWidget::ConstructTrackingDevice ( )
virtual
void QmitkVirtualTrackerWidget::EnableGaussianNoise ( )
protectedslot

Definition at line 71 of file QmitkVirtualTrackerWidget.cpp.

References m_Controls.

void QmitkVirtualTrackerWidget::Initialize ( )
virtual

Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call InitializeSuperclassWidget(), CreateQtPartControl and optionally CreateConnections during this function.

Implements QmitkAbstractTrackingDeviceWidget.

Definition at line 29 of file QmitkVirtualTrackerWidget.cpp.

References QmitkAbstractTrackingDeviceWidget::InitializeSuperclassWidget().

Referenced by Clone().

Member Data Documentation

Ui::QmitkVirtualTrackerWidget* QmitkVirtualTrackerWidget::m_Controls
protected
const std::string QmitkVirtualTrackerWidget::VIEW_ID
static

Definition at line 34 of file QmitkVirtualTrackerWidget.h.


The documentation for this class was generated from the following files: