Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkVirtualTrackerWidget.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkVirtualTrackerWidget_H
18 #define QmitkVirtualTrackerWidget_H
19 
20 #include "ui_QmitkVirtualTrackerWidget.h"
22 
23 
30 {
31  Q_OBJECT // this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
32 
33 public:
34  static const std::string VIEW_ID;
35 
36  QmitkVirtualTrackerWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
38 
39  virtual void Initialize();
40 
41 signals:
42 
43  protected slots :
44  /* @brief Enables or disables the Gaussian Noise for the VirtualTrackingDevice dependent on the State of the according Checkbox */
45  void EnableGaussianNoise();
46 
47 private:
48 
50  void CreateConnections();
51 
52  void CreateQtPartControl(QWidget *parent);
53 protected:
54  virtual QmitkVirtualTrackerWidget* Clone(QWidget* parent) const;
55 
56  Ui::QmitkVirtualTrackerWidget* m_Controls;
57 
58 public:
60 };
61 #endif
itk::SmartPointer< Self > Pointer
virtual QmitkAbstractTrackingDeviceWidget * Clone(QWidget *parent=0) const =0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
virtual void Initialize()=0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
static const std::string VIEW_ID
virtual mitk::TrackingDevice::Pointer ConstructTrackingDevice()=0
Ui::QmitkVirtualTrackerWidget * m_Controls
Abstract class to configure a tracking device. Inherited widgets should be registered in the Microser...
Implementation of a configuration widget for a Vitrual Tracking Device.