33 #include "ui_aboutDialog.h" 34 #include <opencv2/core/version.hpp> 35 #include <pcl/pcl_config.h> 36 #include <vtkVersion.h> 43 _ui =
new Ui_aboutDialog();
47 version.append(
" [DEMO]");
49 QString cv_version = CV_VERSION;
50 #ifdef RTABMAP_NONFREE 51 cv_version.append(
" [With nonfree]");
52 _ui->label_opencv_license->setText(
"Not Commercial");
54 cv_version.append(
" [Without nonfree]");
55 _ui->label_opencv_license->setText(
"BSD");
57 _ui->label_version->setText(version);
58 _ui->label_opencv_version->setText(cv_version);
59 _ui->label_pcl_version->setText(PCL_VERSION_PRETTY);
60 _ui->label_vtk_version->setText(vtkVersion::GetVTKVersion());
61 _ui->label_qt_version->setText(qVersion());
62 #ifdef RTABMAP_OCTOMAP 63 _ui->label_octomap->setText(
"Yes");
64 _ui->label_octomap_license->setEnabled(
true);
66 _ui->label_octomap->setText(
"No");
67 _ui->label_octomap_license->setEnabled(
false);
69 #ifdef RTABMAP_CPUTSDF 70 _ui->label_cputsdf->setText(
"Yes");
71 _ui->label_cputsdf_license->setEnabled(
true);
73 _ui->label_cputsdf->setText(
"No");
74 _ui->label_cputsdf_license->setEnabled(
false);
76 #ifdef RTABMAP_OPENCHISEL 77 _ui->label_openchisel->setText(
"Yes");
79 _ui->label_openchisel->setText(
"No");
106 #ifdef RTABMAP_POINTMATCHER 107 _ui->label_libpointmatcher->setText(
"Yes");
108 _ui->label_libpointmatcher_license->setEnabled(
true);
110 _ui->label_libpointmatcher->setText(
"No");
111 _ui->label_libpointmatcher_license->setEnabled(
false);
115 _ui->label_fovis->setText(
"Yes");
116 _ui->label_fovis_license->setEnabled(
true);
118 _ui->label_fovis->setText(
"No");
119 _ui->label_fovis_license->setEnabled(
false);
122 _ui->label_viso2->setText(
"Yes");
123 _ui->label_viso2_license->setEnabled(
true);
125 _ui->label_viso2->setText(
"No");
126 _ui->label_viso2_license->setEnabled(
false);
129 _ui->label_dvo->setText(
"Yes");
130 _ui->label_dvo_license->setEnabled(
true);
132 _ui->label_dvo->setText(
"No");
133 _ui->label_dvo_license->setEnabled(
false);
135 #ifdef RTABMAP_ORB_SLAM2 136 _ui->label_orbslam2->setText(
"Yes");
137 _ui->label_orbslam2_license->setEnabled(
true);
139 _ui->label_orbslam2->setText(
"No");
140 _ui->label_orbslam2_license->setEnabled(
false);
144 _ui->label_okvis->setText(
"Yes");
145 _ui->label_okvis_license->setEnabled(
true);
147 _ui->label_okvis->setText(
"No");
148 _ui->label_okvis_license->setEnabled(
false);
152 _ui->label_loam->setText(
"Yes");
153 _ui->label_loam_license->setEnabled(
true);
155 _ui->label_loam->setText(
"No");
156 _ui->label_loam_license->setEnabled(
false);
159 #ifdef RTABMAP_MSCKF_VIO 160 _ui->label_msckf->setText(
"Yes");
161 _ui->label_msckf_license->setEnabled(
true);
163 _ui->label_msckf->setText(
"No");
164 _ui->label_msckf_license->setEnabled(
false);
static std::string getVersion()
AboutDialog(QWidget *parent=0)
static bool isAvailable(Optimizer::Type type)