#include "SimulationSARTool.h" #include "LAMPMainWidget.h" #include "RasterMainWidget.h" #include "ToolBoxWidget.h" #include "QSimulationSARPolynomialOrbitModel.h" #include "QSimulationLookTableDialog.h" #include "QCreateSARIntensityByLookTableDialog.h" #include "QtSimulationGeoSARSigma0Dialog.h" #include "QtLinearToIntenisityDialog.h" #include "InitCreateImageXYZDialog.h" #include "ImagePlaneAtiInterpDialog.h" #include "QCreateInSARImagePlaneXYZRDialog.h" SARSimlulationRFPCToolButton::SARSimlulationRFPCToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"RFPC"); } SARSimlulationRFPCToolButton::~SARSimlulationRFPCToolButton() { } void SARSimlulationRFPCToolButton::excute() { QImageSARRFPC* dialog = new QImageSARRFPC(); dialog->show(); } SARSimulationTBPImageToolButton::SARSimulationTBPImageToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"成像工具库"); this->toolname = QString(u8"TimeBP仿真成像"); } SARSimulationTBPImageToolButton::~SARSimulationTBPImageToolButton() { } void SARSimulationTBPImageToolButton::excute() { QSimulationBPImage* dialog = new QSimulationBPImage; dialog->show(); } QSimulationSAROrbitModelToolButton::QSimulationSAROrbitModelToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"轨道仿真"); } QSimulationSAROrbitModelToolButton::~QSimulationSAROrbitModelToolButton() { } void QSimulationSAROrbitModelToolButton::excute() { QSimulationPolynomialSAROrbitModel* dialog = new QSimulationPolynomialSAROrbitModel; dialog->show(); } void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox) { emit toolbox->addBoxToolItemSIGNAL(new SARSimlulationRFPCToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new SARSimulationTBPImageToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QSimulationSAROrbitModelToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new LookTableComputerClassToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QCreateSARIntensityByLookTableToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QtSimulationGeoSARSigma0ToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QtLinearToIntenisityToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new InitCreateImageXYZToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new ImagePlaneAtiInterpToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QCreateInSARImagePlaneXYZRToolButton(toolbox)); } LookTableComputerClassToolButton::LookTableComputerClassToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"查找表生成"); } LookTableComputerClassToolButton::~LookTableComputerClassToolButton() { } void LookTableComputerClassToolButton::excute() { QSimulationLookTableDialog* dialog = new QSimulationLookTableDialog; dialog->show(); } QCreateSARIntensityByLookTableToolButton::QCreateSARIntensityByLookTableToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"生成模拟强度图"); } QCreateSARIntensityByLookTableToolButton::~QCreateSARIntensityByLookTableToolButton() { } void QCreateSARIntensityByLookTableToolButton::excute() { QCreateSARIntensityByLookTableDialog* dialog = new QCreateSARIntensityByLookTableDialog; dialog->show(); } QtSimulationGeoSARSigma0ToolButton::QtSimulationGeoSARSigma0ToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"生成模拟强度图(地距)"); } QtSimulationGeoSARSigma0ToolButton::~QtSimulationGeoSARSigma0ToolButton() { } void QtSimulationGeoSARSigma0ToolButton::excute() { QtSimulationGeoSARSigma0Dialog* dialog = new QtSimulationGeoSARSigma0Dialog; dialog->show(); } QtLinearToIntenisityToolButton::QtLinearToIntenisityToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"dB转线性值"); } QtLinearToIntenisityToolButton::~QtLinearToIntenisityToolButton() { } void QtLinearToIntenisityToolButton::excute() { QtLinearToIntenisityDialog* dialog = new QtLinearToIntenisityDialog; dialog->show(); } InitCreateImageXYZToolButton::InitCreateImageXYZToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"成像工具库"); this->toolname = QString(u8"1.构建成像粗平面"); } InitCreateImageXYZToolButton::~InitCreateImageXYZToolButton() { } void InitCreateImageXYZToolButton::run() { InitCreateImageXYZDialog* dialog = new InitCreateImageXYZDialog; dialog->show(); } ImagePlaneAtiInterpToolButton::ImagePlaneAtiInterpToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"成像工具库"); this->toolname = QString(u8"2.粗平面映射DEM"); } ImagePlaneAtiInterpToolButton::~ImagePlaneAtiInterpToolButton() { } void ImagePlaneAtiInterpToolButton::run() { ImagePlaneAtiInterpDialog* dialog = new ImagePlaneAtiInterpDialog; dialog->show(); } QCreateInSARImagePlaneXYZRToolButton::QCreateInSARImagePlaneXYZRToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"成像工具库"); this->toolname = QString(u8"1.创建InSAR成像平面"); } QCreateInSARImagePlaneXYZRToolButton::~QCreateInSARImagePlaneXYZRToolButton() { } void QCreateInSARImagePlaneXYZRToolButton::run() { QCreateInSARImagePlaneXYZRDialog* dialog = new QCreateInSARImagePlaneXYZRDialog; dialog->show(); }