/
klischa
/
AstraScanner2
Обзор
Документация
Войти
/
klischa
/
AstraScanner2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/controllers/ProcessingTabBinder.h
98 строк
3 KB
Arena Agent
ui: add contextual help shortcuts across scanner ui
18 июн 2026, 21:46
18 июн 2026, 21:46
79d6112
Код
Авторство
О чём код?
#ifndef PROCESSINGTABBINDER_H #define PROCESSINGTABBINDER_H #include <QObject> class QTabWidget; class QWidget; class QLabel; class QSlider; class QCheckBox; class QSpinBox; class QDoubleSpinBox; class QPushButton; class QProgressBar; class QVTKOpenGLNativeWidget; class ProcessingTabBinder : public QObject { Q_OBJECT public: struct Widgets { QVTKOpenGLNativeWidget *procVtkWidget = nullptr; QPushButton *cleanupHelpBtn = nullptr; QPushButton *objectPrepHelpBtn = nullptr; QPushButton *icpHelpBtn = nullptr; QPushButton *poissonHelpBtn = nullptr; QPushButton *meshPostHelpBtn = nullptr; QSpinBox *sorMeanKSpin = nullptr; QDoubleSpinBox *sorThreshSpin = nullptr; QPushButton *sorBtn = nullptr; QDoubleSpinBox *rorRadiusSpin = nullptr; QSpinBox *rorNeighborsSpin = nullptr; QPushButton *rorBtn = nullptr; QDoubleSpinBox *voxelSizeSpin = nullptr; QPushButton *voxelBtn = nullptr; QPushButton *magicWandBtn = nullptr; QDoubleSpinBox *bgDistSpin = nullptr; QSpinBox *bgIterSpin = nullptr; QPushButton *bgBtn = nullptr; QDoubleSpinBox *segTolSpin = nullptr; QSpinBox *segMinSpin = nullptr; QSpinBox *segMaxSpin = nullptr; QPushButton *segBtn = nullptr; QSpinBox *smoothIterSpin = nullptr; QDoubleSpinBox *smoothConvSpin = nullptr; QPushButton *smoothBtn = nullptr; QSlider *simplSlider = nullptr; QLabel *simplValueLabel = nullptr; QPushButton *simplBtn = nullptr; QDoubleSpinBox *holeSizeSpin = nullptr; QPushButton *holeBtn = nullptr; QDoubleSpinBox *icpMaxCorrSpin = nullptr; QSpinBox *icpIterSpin = nullptr; QDoubleSpinBox *icpVoxelSpin = nullptr; QCheckBox *icpSkipCheck = nullptr; QPushButton *mergeScansBtn = nullptr; QPushButton *addMergedBtn = nullptr; QProgressBar *icpProgress = nullptr; QLabel *icpStatusLabel = nullptr; QSpinBox *depthSpin = nullptr; QDoubleSpinBox *pointWeightSpin = nullptr; QDoubleSpinBox *samplesSpin = nullptr; QDoubleSpinBox *normalRadiusSpin = nullptr; QSpinBox *kNearestSpin = nullptr; QCheckBox *poissonFlipNormalsChk = nullptr; QCheckBox *poissonConsistentOrientChk = nullptr; QCheckBox *poissonCustomVpChk = nullptr; QDoubleSpinBox *poissonVpX = nullptr; QDoubleSpinBox *poissonVpY = nullptr; QDoubleSpinBox *poissonVpZ = nullptr; QPushButton *reconstructBtn = nullptr; QPushButton *reconstructLightweightBtn = nullptr; QPushButton *showCloudBtn = nullptr; QPushButton *exportMeshBtn = nullptr; QProgressBar *poissonProgress = nullptr; QLabel *meshStatusLabel = nullptr; QProgressBar *processingProgress = nullptr; }; explicit ProcessingTabBinder(QObject *parent = nullptr); Widgets bind(QTabWidget *tabWidget, QWidget *owner); }; #endif // PROCESSINGTABBINDER_H