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 class LineOfSightEditor : public Editor
12 {
13 public:
14 LineOfSightEditor(const DynamicPointer<QTDesignObject>& line_of_sight, QWidget* parent = nullptr);
15 virtual ~LineOfSightEditor();
16 void updateLineOfSiteFromDialog();
17 void updateAllLineOfSights();
18 virtual void updateValues() override;
19 LineOfSight lineOfSight() const;
20 void moveCameraToLineOfSight(UUID camera_id = Constant<UUID>::NaN) const;
21 protected:
22 Ui::LineOfSightEditorUI* ui;
23#if NDEVR_SUPPORTS_THREADING
24 BasicThread* m_los_thread = nullptr;
25 BasicThread* m_los_all_thread = nullptr;
26#endif
27 };
28}
29#endif
Definition ACIColor.h:37
Definition FontEditor.h:6