Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkFreeSurferParcellationWidget.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 QmitkFreeSurferParcellationWidget_h
18 #define QmitkFreeSurferParcellationWidget_h
19 
20 // Qmitk
21 #include "ui_QmitkFreeSurferParcellationWidgetControls.h"
23 // Qt
24 #include <QObject>
25 #include <QString>
26 #include <QWidget>
27 
29 
30 class QmitkFreeSurferParcellationWidget : public QWidget
31 {
32  Q_OBJECT
33 
34  public:
35  typedef Ui::QmitkFreeSurferParcellationWidgetControls ViewType;
37 
38  // Constructors
39  QmitkFreeSurferParcellationWidget( QWidget* parent = 0 );
41 
42 
43  // Signals
44  Q_SIGNALS:
48  void Clicked( const QString & );
52  void Hovered( const QString & );
53 
54 
55  // Slots
56  protected slots:
57  void OnHandlerClicked( const QString & name );
58  void OnHandlerHovered( const QString & name );
59 
60  protected:
61  // Members:
62  ViewType m_View;
63  HandlerType* m_Handler;
64 };
65 
66 #endif //QmitkFreeSurferParcellationWidget_h
This handler returns either the pixelvalue or anatomical label of the current position of the crossha...
Ui::QmitkFreeSurferParcellationWidgetControls ViewType
QmitkFreeSurferParcellationHandler HandlerType
void Hovered(const QString &)
Emitted when anatomical region is hovered.
void Clicked(const QString &)
Emitted when anatomical region is clicked.