#include "BaseToolbox.h" #include "QToolAbstract.h" #include "QImportGF3StripL1ADataset.h" #include "QComplex2AmpPhase.h" #include "QRDOrthProcessClass.h" #include "QOrthSlrRaster.h" #include "QMergeRasterProcessDialog.h" #include "RasterMainWidget.h" #include "ToolBoxWidget.h" #include "QDEMResampleDialog.h" #include "DEMLLA2XYZTool.h" #include "QConvertCoordinateSystemDialog.h" #include "QResampleRefrenceRaster.h" #include "QtLookTableCorrectOffsetDialog.h" #include "QtCreateGPSPointsDialog.h" #include "RasterVRT2ENVIdataDialog.h" #include "SARSatalliteSimulationWorkflow.h" // 大场景仿真 GF3ImportDataToolButton::GF3ImportDataToolButton(QWidget* parent) :QToolAbstract(parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"数据导入导出"); this->toolname = QString(u8"导入GF3条带"); } GF3ImportDataToolButton::~GF3ImportDataToolButton() { } void GF3ImportDataToolButton::excute() { QImportGF3StripL1ADataset* dialog = new QImportGF3StripL1ADataset(); dialog->show(); } Complex2AmpPhaseToolButton::Complex2AmpPhaseToolButton(QWidget* parent) :QToolAbstract(parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"复数据转换"); } Complex2AmpPhaseToolButton::~Complex2AmpPhaseToolButton() { } void Complex2AmpPhaseToolButton::excute() { QComplex2AmpPhase* dialog = new QComplex2AmpPhase(); dialog->show(); } QRDOrthProcessClassToolButton::QRDOrthProcessClassToolButton(QWidget* parent) :QToolAbstract(parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"创建查找表"); } QRDOrthProcessClassToolButton::~QRDOrthProcessClassToolButton() { } void QRDOrthProcessClassToolButton::excute() { QRDOrthProcessClass* dialog = new QRDOrthProcessClass(); dialog->show(); } QOrthSlrRasterToolButton::QOrthSlrRasterToolButton(QWidget* parent) :QToolAbstract(parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"图像正射"); } QOrthSlrRasterToolButton::~QOrthSlrRasterToolButton() { } void QOrthSlrRasterToolButton::excute() { QOrthSlrRaster* dialog = new QOrthSlrRaster(); dialog->show(); } MergeRasterProcessToolButton::MergeRasterProcessToolButton(QWidget* parent) :QToolAbstract(parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"图像合并"); } MergeRasterProcessToolButton::~MergeRasterProcessToolButton() { } void MergeRasterProcessToolButton::excute() { QMergeRasterProcessDialog* dialog = new QMergeRasterProcessDialog(); dialog->show(); } void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox) { emit toolbox->addBoxToolItemSIGNAL(new GF3ImportDataToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new Complex2AmpPhaseToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QRDOrthProcessClassToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QOrthSlrRasterToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new MergeRasterProcessToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QDEMResampleDialogToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QDEMLLA2XYZToolToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QConvertCoordinateSystemToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QResampleRefrenceRasterToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QLookTableCorrectOffsetToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new QCreateGPSPointsToolButton(toolbox)); emit toolbox->addBoxToolItemSIGNAL(new RasterVRT2ENVIdataDialogToolButton(toolbox)); // 大场景仿真流程 #ifdef __BASETOOLBOX__SARSATALLITESIMULATIONWORKFLOW__H__ initBaseToolSARSateSimulationWorkflow(toolbox); #endif // __BASETOOLBOX__SARSATALLITESIMULATIONWORKFLOW__H__ } QDEMResampleDialogToolButton::QDEMResampleDialogToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"栅格重采样"); } QDEMResampleDialogToolButton::~QDEMResampleDialogToolButton() { } void QDEMResampleDialogToolButton::excute() { QDEMResampleDialog* dialog = new QDEMResampleDialog(); dialog->show(); } QDEMLLA2XYZToolToolButton::QDEMLLA2XYZToolToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"DEM(WGS84)LLA转为XYZ"); } QDEMLLA2XYZToolToolButton::~QDEMLLA2XYZToolToolButton() { } void QDEMLLA2XYZToolToolButton::excute() { DEMLLA2XYZTool* dialog = new DEMLLA2XYZTool(); dialog->show(); } QConvertCoordinateSystemToolButton::QConvertCoordinateSystemToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"栅格坐标系转换"); } QConvertCoordinateSystemToolButton::~QConvertCoordinateSystemToolButton() { } void QConvertCoordinateSystemToolButton::excute() { QConvertCoordinateSystemDialog* dialog = new QConvertCoordinateSystemDialog(); dialog->show(); } QResampleRefrenceRasterToolButton::QResampleRefrenceRasterToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"栅格重采样(参考影像)"); } QResampleRefrenceRasterToolButton::~QResampleRefrenceRasterToolButton() { } void QResampleRefrenceRasterToolButton::excute() { QResampleRefrenceRaster* dialog = new QResampleRefrenceRaster; dialog->show(); } QLookTableCorrectOffsetToolButton::QLookTableCorrectOffsetToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"查找表偏移校正"); } QLookTableCorrectOffsetToolButton::~QLookTableCorrectOffsetToolButton() { } void QLookTableCorrectOffsetToolButton::excute() { QtLookTableCorrectOffsetDialog* dialog = new QtLookTableCorrectOffsetDialog; dialog->show(); } QCreateGPSPointsToolButton::QCreateGPSPointsToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"两行根数生成轨道节点"); } QCreateGPSPointsToolButton::~QCreateGPSPointsToolButton() { } void QCreateGPSPointsToolButton::excute() { QtCreateGPSPointsDialog* dialog = new QtCreateGPSPointsDialog; dialog->show(); } RasterVRT2ENVIdataDialogToolButton::RasterVRT2ENVIdataDialogToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"基础处理"); this->toolname = QString(u8"vrt文件转换envi数据格式"); } RasterVRT2ENVIdataDialogToolButton::~RasterVRT2ENVIdataDialogToolButton() { } void RasterVRT2ENVIdataDialogToolButton::run() { RasterVRT2ENVIdataDialog* dialog = new RasterVRT2ENVIdataDialog; dialog->show(); }