NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
StereoCameraCalibrationSelectionWidget.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef StereoCameraCalibrationSelectionWidget_h
16 #define StereoCameraCalibrationSelectionWidget_h
17 
18 #include "niftkIGIGuiExports.h"
19 #include "ui_StereoCameraCalibrationSelectionWidget.h"
20 #include <QWidget>
21 #include <QString>
22 
28 class NIFTKIGIGUI_EXPORT StereoCameraCalibrationSelectionWidget : public QWidget, public Ui_StereoCameraCalibrationSelectionWidget
29 {
30  Q_OBJECT
31 
32 public:
33  StereoCameraCalibrationSelectionWidget(QWidget *parent = 0);
34 
35  QString GetLastDirectory() const;
36  void SetLastDirectory(const QString& directoryName);
37 
38  QString GetLeftIntrinsicFileName() const;
39  QString GetRightIntrinsicFileName() const;
40  QString GetLeftToRightTransformationFileName() const;
41 
42  void SetRightChannelEnabled(const bool& isEnabled);
43  void SetLeftChannelEnabled(const bool& isEnabled);
44 
45 private slots:
46 
47  void OnLeftIntrinsicCurrentPathChanged(const QString &path);
48  void OnRightIntrinsicCurrentPathChanged(const QString &path);
49  void OnLeftToRightTransformChanged(const QString &path);
50 
51 private:
52 
53  void SaveDirectoryName(const QString &fullPathName);
54 
58  QString m_LastDirectory;
59 
60 };
61 
62 #endif // StereoCameraCalibrationSelectionWidget_h
GLsizei const GLchar ** path
Definition: glew.h:5384
Used to group widgets to specify pathnames for left/right intrinsics and left-to-right transformation...
Definition: StereoCameraCalibrationSelectionWidget.h:28