v1.8
This commit is contained in:
@@ -4,6 +4,7 @@ Help::Help(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
this->setWindowIcon(QIcon(":/icon/image/common/icon.png"));
|
||||
QPixmap *pixmap = new QPixmap(":/Reconstruction/image/reconstruction/help.png");
|
||||
pixmap->scaled(ui.label->size(), Qt::KeepAspectRatio);
|
||||
ui.label->setScaledContents(true);
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <QWidget>
|
||||
#include "ui_Help.h"
|
||||
#include <QTextCodec>
|
||||
#include <QIcon>
|
||||
|
||||
class Help : public QWidget
|
||||
{
|
||||
|
||||
@@ -606,6 +606,9 @@ void Reconstruction::on_pushButton_4_clicked()
|
||||
|
||||
ui.lineEdit->setText(fileName);
|
||||
td->setPath(fileName.toStdString());
|
||||
auto w = ui.label_21->width();
|
||||
auto h = ui.label_21->height();
|
||||
ui.label_21->setPixmap(QPixmap(fileName).scaled(w, h, Qt::KeepAspectRatio));
|
||||
// 投影结构光图案
|
||||
// device->getProjector()->displayPattern(44);
|
||||
// todo 接着进行投影操作
|
||||
@@ -698,7 +701,7 @@ void Reconstruction::on_pushButton_17_clicked()
|
||||
// 异常点选择
|
||||
void Reconstruction::on_pushButton_11_clicked()
|
||||
{
|
||||
QMessageBox::information(this, tr("QMessageBox::information()"),
|
||||
QMessageBox::information(this, tr("Tip"),
|
||||
"Please press the 'X' in the keyboard to choose the outlier points!");
|
||||
}
|
||||
|
||||
|
||||
@@ -746,7 +746,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>载入投影图案</string>
|
||||
<string>载入投影图像</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,2 +1,42 @@
|
||||
Reading Qt configuration (D:\Qt\5.12.3\msvc2017_64\bin\qmake.exe)
|
||||
Reconstruction.cpp
|
||||
Unknown compiler version - please run the configure tests and report the results
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(17,1): warning C4005: “M_E”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(155): message : 参见“M_E”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(18,1): warning C4005: “M_LOG2E”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(159): message : 参见“M_LOG2E”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(19,1): warning C4005: “M_LOG10E”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(163): message : 参见“M_LOG10E”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(20,1): warning C4005: “M_LN2”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(167): message : 参见“M_LN2”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(21,1): warning C4005: “M_LN10”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(171): message : 参见“M_LN10”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(22,1): warning C4005: “M_PI”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(175): message : 参见“M_PI”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(23,1): warning C4005: “M_PI_2”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(179): message : 参见“M_PI_2”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(24,1): warning C4005: “M_PI_4”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(183): message : 参见“M_PI_4”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(25,1): warning C4005: “M_1_PI”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(187): message : 参见“M_1_PI”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(26,1): warning C4005: “M_2_PI”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(191): message : 参见“M_2_PI”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(27,1): warning C4005: “M_2_SQRTPI”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(195): message : 参见“M_2_SQRTPI”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(28,1): warning C4005: “M_SQRT2”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(199): message : 参见“M_SQRT2”的前一个定义
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt_math_defines.h(29,1): warning C4005: “M_SQRT1_2”: 宏重定义
|
||||
D:\Qt\5.12.3\msvc2017_64\include\QtCore\qmath.h(203): message : 参见“M_SQRT1_2”的前一个定义
|
||||
D:\BJTU\Reconstruction\Lib\PCL\PCL 1.8.1\include\pcl-1.8\pcl\point_traits.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\PCL\PCL 1.8.1\include\pcl-1.8\pcl\visualization\interactor_style.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\PCL\PCL 1.8.1\include\pcl-1.8\pcl\visualization\pcl_visualizer.h(1585,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\FlyCapture2.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\Error.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\CameraBase.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\GigECamera.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\Image.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\Utilities.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\AVIRecorder.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\TopologyNode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Lib\FlyCapture2\include\ImageStatistics.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
|
||||
D:\BJTU\Reconstruction\Classes\Reconstruction.cpp(14,43): warning C4806: “==”: 不安全操作: 从类型“bool”提升到类型“int”的值不能等于给定的常量
|
||||
Reconstruction.vcxproj -> D:\BJTU\Reconstruction\x64\Debug\Reconstruction.exe
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -21,8 +21,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_Reconstruction_t {
|
||||
QByteArrayData data[24];
|
||||
char stringdata0[509];
|
||||
QByteArrayData data[25];
|
||||
char stringdata0[515];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -54,7 +54,8 @@ QT_MOC_LITERAL(19, 430, 24), // "on_pushButton_18_clicked"
|
||||
QT_MOC_LITERAL(20, 455, 24), // "on_pushButton_19_clicked"
|
||||
QT_MOC_LITERAL(21, 480, 12), // "setPicAction"
|
||||
QT_MOC_LITERAL(22, 493, 6), // "action"
|
||||
QT_MOC_LITERAL(23, 500, 8) // "setCloud"
|
||||
QT_MOC_LITERAL(23, 500, 8), // "setCloud"
|
||||
QT_MOC_LITERAL(24, 509, 5) // "about"
|
||||
|
||||
},
|
||||
"Reconstruction\0on_pushButton_clicked\0"
|
||||
@@ -73,7 +74,7 @@ QT_MOC_LITERAL(23, 500, 8) // "setCloud"
|
||||
"on_pushButton_17_clicked\0"
|
||||
"on_pushButton_18_clicked\0"
|
||||
"on_pushButton_19_clicked\0setPicAction\0"
|
||||
"action\0setCloud"
|
||||
"action\0setCloud\0about"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -83,7 +84,7 @@ static const uint qt_meta_data_Reconstruction[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
21, 14, // methods
|
||||
22, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@@ -91,27 +92,28 @@ static const uint qt_meta_data_Reconstruction[] = {
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 119, 2, 0x08 /* Private */,
|
||||
3, 0, 120, 2, 0x08 /* Private */,
|
||||
4, 0, 121, 2, 0x08 /* Private */,
|
||||
5, 0, 122, 2, 0x08 /* Private */,
|
||||
6, 0, 123, 2, 0x08 /* Private */,
|
||||
7, 0, 124, 2, 0x08 /* Private */,
|
||||
8, 0, 125, 2, 0x08 /* Private */,
|
||||
9, 0, 126, 2, 0x08 /* Private */,
|
||||
10, 0, 127, 2, 0x08 /* Private */,
|
||||
11, 0, 128, 2, 0x08 /* Private */,
|
||||
12, 0, 129, 2, 0x08 /* Private */,
|
||||
13, 0, 130, 2, 0x08 /* Private */,
|
||||
14, 0, 131, 2, 0x08 /* Private */,
|
||||
15, 0, 132, 2, 0x08 /* Private */,
|
||||
16, 0, 133, 2, 0x08 /* Private */,
|
||||
17, 0, 134, 2, 0x08 /* Private */,
|
||||
18, 0, 135, 2, 0x08 /* Private */,
|
||||
19, 0, 136, 2, 0x08 /* Private */,
|
||||
20, 0, 137, 2, 0x08 /* Private */,
|
||||
21, 1, 138, 2, 0x08 /* Private */,
|
||||
23, 0, 141, 2, 0x08 /* Private */,
|
||||
1, 0, 124, 2, 0x08 /* Private */,
|
||||
3, 0, 125, 2, 0x08 /* Private */,
|
||||
4, 0, 126, 2, 0x08 /* Private */,
|
||||
5, 0, 127, 2, 0x08 /* Private */,
|
||||
6, 0, 128, 2, 0x08 /* Private */,
|
||||
7, 0, 129, 2, 0x08 /* Private */,
|
||||
8, 0, 130, 2, 0x08 /* Private */,
|
||||
9, 0, 131, 2, 0x08 /* Private */,
|
||||
10, 0, 132, 2, 0x08 /* Private */,
|
||||
11, 0, 133, 2, 0x08 /* Private */,
|
||||
12, 0, 134, 2, 0x08 /* Private */,
|
||||
13, 0, 135, 2, 0x08 /* Private */,
|
||||
14, 0, 136, 2, 0x08 /* Private */,
|
||||
15, 0, 137, 2, 0x08 /* Private */,
|
||||
16, 0, 138, 2, 0x08 /* Private */,
|
||||
17, 0, 139, 2, 0x08 /* Private */,
|
||||
18, 0, 140, 2, 0x08 /* Private */,
|
||||
19, 0, 141, 2, 0x08 /* Private */,
|
||||
20, 0, 142, 2, 0x08 /* Private */,
|
||||
21, 1, 143, 2, 0x08 /* Private */,
|
||||
23, 0, 146, 2, 0x08 /* Private */,
|
||||
24, 0, 147, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
@@ -134,6 +136,7 @@ static const uint qt_meta_data_Reconstruction[] = {
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 22,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@@ -166,6 +169,7 @@ void Reconstruction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _
|
||||
case 18: _t->on_pushButton_19_clicked(); break;
|
||||
case 19: _t->setPicAction((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 20: _t->setCloud(); break;
|
||||
case 21: _t->about(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
@@ -200,13 +204,13 @@ int Reconstruction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 21)
|
||||
if (_id < 22)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 21;
|
||||
_id -= 22;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 21)
|
||||
if (_id < 22)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 21;
|
||||
_id -= 22;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,6 @@
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenu>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpinBox>
|
||||
@@ -107,10 +106,8 @@ public:
|
||||
QPushButton *pushButton;
|
||||
QPushButton *pushButton_2;
|
||||
QPushButton *pushButton_3;
|
||||
QMenuBar *menuBar;
|
||||
QMenu *menusettings;
|
||||
QMenu *menuabout;
|
||||
QStatusBar *statusBar;
|
||||
QMenuBar *menuBar;
|
||||
|
||||
void setupUi(QMainWindow *ReconstructionClass)
|
||||
{
|
||||
@@ -307,7 +304,7 @@ public:
|
||||
label_11->setAlignment(Qt::AlignCenter);
|
||||
graphicsView_3 = new QGraphicsView(groupBox_5);
|
||||
graphicsView_3->setObjectName(QString::fromUtf8("graphicsView_3"));
|
||||
graphicsView_3->setGeometry(QRect(0, 0, 640, 512));
|
||||
graphicsView_3->setGeometry(QRect(0, 0, 640, 511));
|
||||
graphicsView_3->raise();
|
||||
label_11->raise();
|
||||
pushButton_5 = new QPushButton(page);
|
||||
@@ -336,7 +333,7 @@ public:
|
||||
pushButton_8->setFont(font3);
|
||||
groupBox_3 = new QGroupBox(page);
|
||||
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
|
||||
groupBox_3->setGeometry(QRect(690, 200, 291, 211));
|
||||
groupBox_3->setGeometry(QRect(690, 200, 291, 231));
|
||||
groupBox_3->setFont(font1);
|
||||
groupBox_3->setAlignment(Qt::AlignCenter);
|
||||
treeView = new QTreeView(groupBox_3);
|
||||
@@ -619,25 +616,13 @@ public:
|
||||
verticalLayout->addWidget(pushButton_3);
|
||||
|
||||
ReconstructionClass->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(ReconstructionClass);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 1240, 26));
|
||||
menusettings = new QMenu(menuBar);
|
||||
menusettings->setObjectName(QString::fromUtf8("menusettings"));
|
||||
QFont font10;
|
||||
font10.setFamily(QString::fromUtf8("\351\273\221\344\275\223"));
|
||||
font10.setPointSize(8);
|
||||
menusettings->setFont(font10);
|
||||
menuabout = new QMenu(menuBar);
|
||||
menuabout->setObjectName(QString::fromUtf8("menuabout"));
|
||||
menuabout->setFont(font10);
|
||||
ReconstructionClass->setMenuBar(menuBar);
|
||||
statusBar = new QStatusBar(ReconstructionClass);
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
ReconstructionClass->setStatusBar(statusBar);
|
||||
|
||||
menuBar->addAction(menusettings->menuAction());
|
||||
menuBar->addAction(menuabout->menuAction());
|
||||
menuBar = new QMenuBar(ReconstructionClass);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 1240, 26));
|
||||
ReconstructionClass->setMenuBar(menuBar);
|
||||
|
||||
retranslateUi(ReconstructionClass);
|
||||
QObject::connect(spinBox, SIGNAL(valueChanged(int)), spinBox, SLOT(setValue(int)));
|
||||
@@ -697,8 +682,6 @@ public:
|
||||
pushButton->setText(QApplication::translate("ReconstructionClass", "\347\263\273\347\273\237\346\240\207\345\256\232", nullptr));
|
||||
pushButton_2->setText(QApplication::translate("ReconstructionClass", "\344\270\211\347\273\264\351\207\215\345\273\272", nullptr));
|
||||
pushButton_3->setText(QApplication::translate("ReconstructionClass", "\347\202\271\344\272\221\346\270\262\346\237\223", nullptr));
|
||||
menusettings->setTitle(QApplication::translate("ReconstructionClass", "\347\233\270\346\234\272\350\256\276\347\275\256", nullptr));
|
||||
menuabout->setTitle(QApplication::translate("ReconstructionClass", "\345\205\263\344\272\216", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user