API Documentation
Loading...
Searching...
No Matches
ScanModelEditor.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: NDEVR
28File: ScanModelEditor
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include <NDEVR/Editor.h>
34#if NDEVR_SCAN
35#include <NDEVR/QTModelManager.h>
36
37namespace Ui
38{
39 class ScanModelEditorUI;
40}
41namespace NDEVR
42{
43 class QTResourceListener;
44 /**--------------------------------------------------------------------------------------------------
45 \brief A popup Editor dialog for showing options or information related to ScanModel model objects.
46 **/
47 class ScanModelEditor : public Editor
48 {
49 Q_OBJECT
50 public:
51 ScanModelEditor(const DynamicPointer<QTDesignObject>& station, QWidget* parent = nullptr);
52 virtual ~ScanModelEditor();
53 void setupEditor();
54 void updateValues() override;
55 void showEditingControls(bool show);
56 QSize sizeHint() const override;
57 protected:
58 void setScanLocation(const Vertex<3, fltp08>& location);
59
60 protected slots:
61 void updateCalibrationFromUI();
62 protected:
63 Ui::ScanModelEditorUI* scan_ui;
64 BasicThread* m_update_thread = nullptr;
65 QTResourceListener* m_units_listener;
66 };
67}
68#endif
Definition ACIColor.h:37
Definition FontEditor.h:6