ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvOrthoSectionGenerationDlg.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_orthoSectionGenerationDlg.h>
12 
13 #include <QDialog>
14 
17 class ccOrthoSectionGenerationDlg : public QDialog,
18  public Ui::OrthoSectionGenerationDlg {
19  Q_OBJECT
20 
21 public:
23  explicit ccOrthoSectionGenerationDlg(QWidget* parent = 0);
24 
26  void setPathLength(double l);
27 
29  void setAutoSaveAndRemove(bool state);
31  bool autoSaveAndRemove() const;
32 
34  void setGenerationStep(double s);
36  void setSectionsWidth(double w);
37 
39  double getGenerationStep() const;
41  double getSectionsWidth() const;
42 
43 protected slots:
44  void onStepChanged(double);
45 
46 protected:
48  double m_pathLength;
49 };
#define slots
void setAutoSaveAndRemove(bool state)
Sets whether the generatrix should be automatically saved and removed.
bool autoSaveAndRemove() const
Returns whether the generatrix should be automatically saved and removed.
void setSectionsWidth(double w)
Sets he sections width.
double getGenerationStep() const
Returns the generation step.
double getSectionsWidth() const
Returns the sections width.
void setGenerationStep(double s)
Sets the generation step.
void setPathLength(double l)
Sets the path legnth.
ccOrthoSectionGenerationDlg(QWidget *parent=0)
Default constructor.