NDEVR
API Documentation
GroundSurfaceEditor.h
1#pragma once
2#include <NDEVR/Editor.h>
3#if NDEVR_GROUND_SURFACE
4#include <NDEVR/GroundSurface.h>
5namespace Ui
6{
7 class GroundSurfaceEditorUI;
8}
9namespace NDEVR
10{
11 class StatusBar;
12 class Log;
17 class GroundSurfaceEditor : public Editor
18 {
19 Q_OBJECT
20 public:
26 GroundSurfaceEditor(const DynamicPointer<QTDesignObject>& pattern, QWidget* parent = nullptr);
30 virtual ~GroundSurfaceEditor();
34 virtual void updateValues() override;
38 void setFromZip();
43 CoordinateBoundsSelector* boundsSelector();
49 virtual void setup(DesignObjectDialog* dialog, const ShowPropertiesSettings& style) override;
54 EditorShowMode showMode() const override;
55 protected slots:
59 void updateBoundsFromDialog();
60 protected:
65 uint04 imageTextureResolution();
70 uint04 lineworkTextureResolution();
75 fltp08 elevationSpacing();
80 AerialImageMode aerialImageMode() const;
85 AerialImageMode aerialLineworkMode() const;
86 protected:
87 Ui::GroundSurfaceEditorUI* ui;
88 StatusBar* m_log_widget = nullptr;
89 CoordinateBoundsSelector* m_bounds_selector = nullptr;
90 Log* m_log;
91 bool has_send_out_of_bounds_warning = false;
92 };
93}
94#endif
A dedicated dialog for allowing the user to select bounds for a northing and easting.
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:58
Serves as the primary program interface for processes to report issues and allows any number of LogSt...
Definition Log.h:50
A simple widget that shows a Status and optionally a progressbar.
Definition StatusBar.h:49
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
double fltp08
Defines an alias representing an 8 byte floating-point number.
EditorShowMode
Describes how an Editor should be displayed within the application UI.
Definition Editor.h:48
AerialImageMode
enum specifying what type of image to fetch.