API Documentation
Loading...
Searching...
No Matches
GroundSurfaceEditor.h
Go to the documentation of this file.
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;
13 class CoordinateBoundsSelector;
14 /**--------------------------------------------------------------------------------------------------
15 \brief A popup Editor dialog for showing options or information related to GroundSurface model objects.
16 **/
17 class GroundSurfaceEditor : public Editor
18 {
19 public:
20 GroundSurfaceEditor(const DynamicPointer<QTDesignObject>& pattern, QWidget* parent = nullptr);
21 virtual ~GroundSurfaceEditor();
22 virtual void updateValues() override;
23 void setFromZip();
24 CoordinateBoundsSelector* boundsSelector();
25 virtual void setup(DesignObjectDialog* dialog, const ShowPropertiesSettings& style) override;
26 virtual bool fullscreenTouch() const override
27 {
28 return true;
29 }
30 protected slots:
31 void updateFromUISlot();
32 void updateBoundsFromDialog();
33 protected:
34 uint04 imageTextureResolution();
35 uint04 lineworkTextureResolution();
36 fltp08 elevationSpacing();
37 AerialImageMode aerialImageMode() const;
38 AerialImageMode aerialLineworkMode() const;
39 protected:
40 Ui::GroundSurfaceEditorUI* ui;
41 StatusBar* m_log_widget = nullptr;
42 CoordinateBoundsSelector* m_bounds_selector = nullptr;
43 Log* m_log;
44 bool has_send_out_of_bounds_warning = false;
45 };
46}
47#endif
Definition ACIColor.h:37
AerialImageMode
enum specifying what type of image to fetch. Options for terrain, satellite, or road views
Definition MercatorImageManager.h:16
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149
Definition FontEditor.h:6