資源簡(jiǎn)介
模仿photoscan界面,右鍵左上角空白區(qū)域加載二維圖像或者三維圖像,得到chunk或者chunk3d,雙擊選擇文件,二維圖選擇圖片文件,三維圖選擇obj文件。右側(cè)顯示區(qū)會(huì)得到相應(yīng)的tab分頁(yè),點(diǎn)擊即可,支持放大縮小,旋轉(zhuǎn)。拖動(dòng)。
代碼片段和文件信息
/****************************************************************************
**?meta?object?code?from?reading?C++?file?‘imgscan.h‘
**
**?Created?by:?The?Qt?meta?object?Compiler?version?67?(Qt?5.9.8)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
*****************************************************************************/
#include?“../../my_photoscan/imgscan.h“
#include?
#include?tatype.h>
#if?!defined(Q_MOC_OUTPUT_REVISION)
#error?“The?header?file?‘imgscan.h‘?doesn‘t?include?ject>.“
#elif?Q_MOC_OUTPUT_REVISION?!=?67
#error?“This?file?was?generated?using?the?moc?from?5.9.8.?It“
#error?“cannot?be?used?with?the?include?files?from?this?version?of?Qt.“
#error?“(The?moc?has?changed?too?much.)“
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct?qt_meta_stringdata_imgscan_t?{
????QByteArrayData?data[6];
????char?stringdata0[62];
};
#define?QT_MOC_LITERAL(idx?ofs?len)?\
????Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len?\
????qptrdiff(offsetof(qt_meta_stringdata_imgscan_t?stringdata0)?+?ofs?\
????????-?idx?*?sizeof(QByteArrayData))?\
????)
static?const?qt_meta_stringdata_imgscan_t?qt_meta_stringdata_imgscan?=?{
????{
QT_MOC_LITERAL(0?0?7)?//?“imgscan“
QT_MOC_LITERAL(1?8?13)?//?“onZoomInImage“
QT_MOC_LITERAL(2?22?0)?//?““
QT_MOC_LITERAL(3?23?14)?//?“onZoomOutImage“
QT_MOC_LITERAL(4?38?6)?//?“getBIG“
QT_MOC_LITERAL(5?45?16)?//?“QListWidgetItem*“
????}
????“imgscan\0onZoomInImage\0\0onZoomOutImage\0“
????“getBIG\0QListWidgetItem*“
};
#undef?QT_MOC_LITERAL
static?const?uint?qt_meta_data_imgscan[]?=?{
?//?content:
???????7???????//?revision
???????0???????//?classname
???????0????0?//?classinfo
???????3???14?//?methods
???????0????0?//?properties
???????0????0?//?enums/sets
???????0????0?//?constructors
???????0???????//?flags
???????0???????//?signalCount
?//?slots:?name?argc?parameters?tag?flags
???????1????0???29????2?0x0a?/*?Public?*/
???????3????0???30????2?0x0a?/*?Public?*/
???????4????1???31????2?0x0a?/*?Public?*/
?//?slots:?parameters
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void?0x80000000?|?5????2
???????0????????//?eod
};
void?imgscan::qt_static_metacall(Qobject?*_o?Qmetaobject::Call?_c?int?_id?void?**_a)
{
????if?(_c?==?Qmetaobject::InvokemetaMethod)?{
????????imgscan?*_t?=?static_cast(_o);
????????Q_UNUSED(_t)
????????switch?(_id)?{
????????case?0:?_t->onZoomInImage();?break;
????????case?1:?_t->onZoomOutImage();?break;
????????case?2:?_t->getBIG((*reinterpret_cast(_a[1])));?break;
????????default:?;
????????}
????}
}
const?Qmetaobject?imgscan::staticmetaobject?=?{
????{?&QWidget::staticmetaobject?qt_meta_stringdata_imgscan.data
??????qt_meta_data_imgscan??qt_static_metacall?nullptr?nullptr}
};
const?Qmetaobject?*imgscan::metaobject()?con
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-08-03?10:14??my_photoscan_final\
?????目錄???????????0??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\
?????文件????????1452??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\.qmake.stash
?????目錄???????????0??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\
?????文件??????139635??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\imgscan.obj
?????文件??????273289??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\loadimgdk.obj
?????文件??????154661??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\main.obj
?????文件?????1821487??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\mainwindow.obj
?????文件????????3876??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_imgscan.cpp
?????文件??????101504??2020-08-03?10:15??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_imgscan.obj
?????文件????????5491??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_loadimgdk.cpp
?????文件??????151457??2020-08-03?10:15??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_loadimgdk.obj
?????文件????????4235??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_mainwindow.cpp
?????文件??????195080??2020-08-03?10:15??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_mainwindow.obj
?????文件????????5949??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_photodock.cpp
?????文件??????171961??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_photodock.obj
?????文件?????????276??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\moc_predefs.h
?????文件??????516608??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\my_photoscan.exe
?????文件?????3255384??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\my_photoscan.ilk
?????文件?????3928064??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\my_photoscan.pdb
?????文件?????3149824??2020-08-03?11:35??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\my_photoscan.vc.pdb
?????文件??????183380??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\photodock.obj
?????文件????????7136??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\qrc_qml.cpp
?????文件????????8784??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\debug\qrc_qml.obj
?????文件???????32555??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\Makefile
?????文件??????123173??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\Makefile.Debug
?????文件??????123256??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\Makefile.Release
?????目錄???????????0??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\release\
?????文件???????79864??2020-08-03?10:14??my_photoscan_final\build-my_photoscan-Desktop_Qt_5_9_8_MSVC2017_64bit-Debug\ui_mainwindow.h
?????目錄???????????0??2020-08-03?09:42??my_photoscan_final\data\
?????文件??????????88??2020-07-08?15:46??my_photoscan_final\data\1.mtl
............此處省略26個(gè)文件信息
評(píng)論
共有 條評(píng)論