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 };
ccOrthoSectionGenerationDlg::onStepChanged
void onStepChanged(double)
Definition: ecvOrthoSectionGenerationDlg.cpp:56
ccOrthoSectionGenerationDlg
Definition: ecvOrthoSectionGenerationDlg.h:17
ccOrthoSectionGenerationDlg::setAutoSaveAndRemove
void setAutoSaveAndRemove(bool state)
Sets whether the generatrix should be automatically saved and removed.
Definition: ecvOrthoSectionGenerationDlg.cpp:32
slots
#define slots
Definition: PythonPlugin.cpp:25
ccOrthoSectionGenerationDlg::getSectionsWidth
double getSectionsWidth() const
Returns the sections width.
Definition: ecvOrthoSectionGenerationDlg.cpp:52
ccOrthoSectionGenerationDlg::getGenerationStep
double getGenerationStep() const
Returns the generation step.
Definition: ecvOrthoSectionGenerationDlg.cpp:48
Ui
Definition: sfEditDlg.h:16
ccOrthoSectionGenerationDlg::setGenerationStep
void setGenerationStep(double s)
Sets the generation step.
Definition: ecvOrthoSectionGenerationDlg.cpp:40
ccOrthoSectionGenerationDlg::setSectionsWidth
void setSectionsWidth(double w)
Sets he sections width.
Definition: ecvOrthoSectionGenerationDlg.cpp:44
cloudViewer::utility::floor
MiniVec< float, N > floor(const MiniVec< float, N > &a)
Definition: MiniVec.h:75
ccOrthoSectionGenerationDlg::ccOrthoSectionGenerationDlg
ccOrthoSectionGenerationDlg(QWidget *parent=0)
Default constructor.
Definition: ecvOrthoSectionGenerationDlg.cpp:13
ecvOrthoSectionGenerationDlg.h
count
int count
Definition: FileIOFactory.cpp:132
ccOrthoSectionGenerationDlg::autoSaveAndRemove
bool autoSaveAndRemove() const
Returns whether the generatrix should be automatically saved and removed.
Definition: ecvOrthoSectionGenerationDlg.cpp:36
ccOrthoSectionGenerationDlg::setPathLength
void setPathLength(double l)
Sets the path legnth.
Definition: ecvOrthoSectionGenerationDlg.cpp:25
ccOrthoSectionGenerationDlg::m_pathLength
double m_pathLength
Path length.
Definition: ecvOrthoSectionGenerationDlg.h:48