NDEVR
API Documentation
CustomPointScanDialog.h
1#pragma once
2#include <NDEVR/Scanner3D.h>
3#if NDEVR_SCAN
4#include <NDEVR/Bounds.h>
5#include <NDEVR/Angle.h>
6#include <QWidget>
7namespace Ui
8{
9 class CustomPointScanDialogUI;
10}
11namespace NDEVR
12{
13 class QTModelManager;
14 class MeasurementManager;
20 class CustomPointScanDialog : public QWidget
21 {
22 Q_OBJECT
23 public:
27 CustomPointScanDialog(QTModelManager* manager, QWidget* parent = nullptr);
30 Bounds<2, Angle<fltp08>> specifiedBounds() const;
34 void setProfile(Scanner3D* scanner, const ScanProfile& profile);
37 void selectBounds(uint01 dimension);
39 void clearCustomBounds();
42 bool hasCustomBounds() const;
43 bool event(QEvent* event);
44 void setVisible(bool visible) override;
45 signals:
47 void onEditedSignal();
48 protected:
51 void setMaxBounds(const Bounds<2, Angle<fltp08>>& max_bounds);
52 protected:
53 Ui::CustomPointScanDialogUI* ui = nullptr;
54 Scanner3D* m_scanner = nullptr;
55 QTModelManager* m_model_manager = nullptr;
56 MeasurementManager* m_measure_manager = nullptr;
57 ScanProfile m_scan_profile;
58 uint01 m_selection_dimension = Constant<uint01>::Invalid;
59 };
60}
61#endif
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
The primary namespace for the NDEVR SDK.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...