Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _QmitkToolDistanceWidget_H_INCLUDED
00019 #define _QmitkToolDistanceWidget_H_INCLUDED
00020
00021 #include "ui_QmitkToolDistanceWidgetControls.h"
00022 #include "MitkIGTUIExports.h"
00023
00024
00025 #include <itkProcessObject.h>
00026 #include <QLabel>
00027 #include <QVector>
00028
00029
00030
00031
00038 class MitkIGTUI_EXPORT QmitkToolDistanceWidget : public QWidget
00039 {
00040 Q_OBJECT
00041 public:
00042
00043 typedef QVector<QVector<QLabel*> > DistanceLabelType;
00044
00048 QmitkToolDistanceWidget( QWidget* parent );
00049
00053 virtual ~QmitkToolDistanceWidget();
00054
00058 void ShowDistanceValues(itk::ProcessObject::DataObjectPointerArray & outputs);
00059
00063 void CreateToolDistanceMatrix(itk::ProcessObject::DataObjectPointerArray & outputs);
00064
00068 void ClearDistanceMatrix();
00069
00070 public slots:
00074 void SetDistanceLabelValuesInvalid();
00075
00076 protected:
00077 void CreateConnections();
00078 void CreateQtPartControl( QWidget *parent );
00079 Ui::QmitkToolDistanceWidgetControls* m_Controls;
00080
00081
00082 private:
00086 DistanceLabelType* m_DistanceLabels;
00087
00088 };
00089 #endif // _QmitkToolDistanceWidget_H_INCLUDED
00090