ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvUnrollDlg.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 #include <ui_unrollDlg.h>
11 
12 // CV_CORE_LIB
13 #include <CVGeom.h>
14 
15 // CV_DB_LIB
16 #include <ecvPointCloud.h>
17 
19 class ccUnrollDlg : public QDialog, public Ui::UnrollDialog {
20  Q_OBJECT
21 
22 public:
24  explicit ccUnrollDlg(QWidget* parent = 0);
25 
27  int getAxisDimension() const;
28  bool isAxisPositionAuto() const;
29  CCVector3 getAxisPosition() const;
30  void getAngleRange(double& start_deg, double& stop_deg) const;
31  double getRadius() const;
32  double getConeHalfAngle() const;
33  bool exportDeviationSF() const;
34 
35  void toPersistentSettings() const;
37 
38 protected slots:
39  void shapeTypeChanged(int index);
40  void axisDimensionChanged(int index);
41  void axisAutoStateChanged(int checkState);
42 
43 protected:
44  bool coneMode;
45 };
#define slots
Dialog: unroll clould on a cylinder or a cone.
Definition: ecvUnrollDlg.h:19
CCVector3 getAxisPosition() const
double getConeHalfAngle() const
void shapeTypeChanged(int index)
bool isAxisPositionAuto() const
void axisDimensionChanged(int index)
void toPersistentSettings() const
ccPointCloud::UnrollMode getType() const
int getAxisDimension() const
ccUnrollDlg(QWidget *parent=0)
Default constructor.
bool exportDeviationSF() const
void fromPersistentSettings()
double getRadius() const
void getAngleRange(double &start_deg, double &stop_deg) const
void axisAutoStateChanged(int checkState)