ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvPrimitiveDistanceDlg.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // Qt
11 #include <ui_primitiveDistanceDlg.h>
12 
13 #include <QDialog>
14 #include <QString>
15 
16 class ccHObject;
17 class ccPointCloud;
19 class ccGenericMesh;
20 
22 class ecvPrimitiveDistanceDlg : public QDialog,
23  public Ui::primitiveDistanceDlg {
24  Q_OBJECT
25 
26 public:
28  ecvPrimitiveDistanceDlg(QWidget* parent = nullptr);
29 
32 
33  bool signedDistances() { return signedDistCheckBox->isChecked(); }
34  bool flipNormals() { return flipNormalsCheckBox->isChecked(); }
36  return treatPlanesAsBoundedCheckBox->isChecked();
37  }
38 public slots:
39  void applyAndExit();
40  void cancelAndExit();
41 
42 protected slots:
43  void toggleSigned(bool);
44 };
#define slots
Generic mesh interface.
A 3D cloud interface with associated features (color, normals, octree, etc.)
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Dialog for cloud sphere or cloud plane comparison setting.
ecvPrimitiveDistanceDlg(QWidget *parent=nullptr)
Default constructor.
~ecvPrimitiveDistanceDlg()=default
Default destructor.