API Documentation
Loading...
Searching...
No Matches
LineOfSightEditor.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Editor.h>
3#if NDEVR_LINE_OF_SITE
4namespace Ui
5{
6 class LineOfSightEditorUI;
7}
8namespace NDEVR
9{
10 class LineOfSight;
11 /**--------------------------------------------------------------------------------------------------
12 \brief A popup Editor dialog for showing options or information related to LineOfSight model objects.
13 **/
14 class LineOfSightEditor : public Editor
15 {
16 public:
17 LineOfSightEditor(const DynamicPointer<QTDesignObject>& line_of_sight, QWidget* parent = nullptr);
18 virtual ~LineOfSightEditor();
19 void updateLineOfSiteFromDialog();
20 void updateAllLineOfSights();
21 virtual void updateValues() override;
22 LineOfSight lineOfSight() const;
23 void moveCameraToLineOfSight(UUID camera_id = Constant<UUID>::Invalid) const;
24 protected:
25 Ui::LineOfSightEditorUI* ui;
26#if NDEVR_SUPPORTS_THREADING
27 BasicThread* m_los_thread = nullptr;
28 BasicThread* m_los_all_thread = nullptr;
29#endif
30 };
31}
32#endif
Definition ACIColor.h:37
Definition FontEditor.h:6