You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
#ifndef ROUTEANALYSISDIALOG_H
|
|
#define ROUTEANALYSISDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "chart.h"
|
|
#include "Geometry/UGGeoLine.h"
|
|
#include "Engine/UGRecordset.h"
|
|
#include "geocomputation.h"
|
|
#include "geospatialanalysis.h"
|
|
#include "routeglobalvariant.h"
|
|
#include "translator.h"
|
|
#include "geofeatureoperator.h"
|
|
|
|
namespace Ui {
|
|
class RouteAnalysisDialog;
|
|
}
|
|
|
|
class RouteAnalysisDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit RouteAnalysisDialog(QWidget *parent = nullptr);
|
|
~RouteAnalysisDialog();
|
|
|
|
void SetRecordset(UGRecordsetPtr res);
|
|
void SetDem(UGDatasetRasterPtr dem);
|
|
void InitDialog();
|
|
private slots:
|
|
void on_FlightSpeedDSpinBox_textChanged(const QString &arg1);
|
|
|
|
private:
|
|
double GetFlightDistance();
|
|
void SetFlightDistance(double dist);
|
|
double GetFlightHeight();
|
|
void SetFlightTime();
|
|
void ShowElevationPlot();
|
|
private:
|
|
Ui::RouteAnalysisDialog *ui;
|
|
|
|
UGRecordsetPtr res;
|
|
GeoComputation geoComputation;
|
|
GeoFeatureOperator geoFtOpt;
|
|
RouteGlobalVariant routeGVar;
|
|
UGDatasetRasterPtr dem;
|
|
Chart* chart;
|
|
};
|
|
|
|
#endif // ROUTEANALYSISDIALOG_H
|