2#include <NDEVR/Editor.h>
6 class LineOfSightEditorUI;
47 Ui::LineOfSightEditorUI*
ui;
48#if NDEVR_SUPPORTS_THREADING
A thread that executes a user-provided callback function concurrently.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Editor(QWidget *parent=nullptr)
Constructs an Editor with no design object target.
virtual void updateValues() override
Refreshes the editor UI to reflect the current state of the line-of-sight object.
LineOfSightEditor(const DynamicPointer< QTDesignObject > &line_of_sight, QWidget *parent=nullptr)
Constructs a LineOfSightEditor for the given line-of-sight design object.
void updateAllLineOfSights()
Recalculates all line-of-sight analyses in the scene.
BasicThread * m_los_all_thread
Background thread for computing all line-of-sight analyses.
void moveCameraToLineOfSight(UUID camera_id=Constant< UUID >::Invalid) const
Moves the specified camera to the line-of-sight viewpoint.
BasicThread * m_los_thread
Background thread for computing a single line-of-sight analysis.
LineOfSight lineOfSight() const
Returns the LineOfSight object being edited.
void updateLineOfSiteFromDialog()
Updates the line-of-sight model from the current dialog values.
Ui::LineOfSightEditorUI * ui
The auto-generated UI form for the editor.
A Model which represents everything that is visible from a certain vantage point.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.