ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
profileImportDlg.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_profileImportDlg.h"
11 
12 class ProfileImportDlg : public QDialog, public Ui::ProfileImportDlg {
13  Q_OBJECT
14 
15 public:
17  explicit ProfileImportDlg(QWidget* parent = 0);
18 
19  int getAxisDimension() const;
20 
22  void setDefaultFilename(QString filename);
23 
25  QString getFilename() const;
26 
29  bool absoluteHeightValues() const;
30 
31 protected slots:
32 
34  void browseFile();
35 };
std::string filename
#define slots
Dialog for importing a 2D revolution profile (qSRA plugin)
QString getFilename() const
Returns input filename (on completion)
int getAxisDimension() const
bool absoluteHeightValues() const
ProfileImportDlg(QWidget *parent=0)
Default constructor.
void setDefaultFilename(QString filename)
Sets default filename.
void browseFile()
Called when the 'browse' tool button is pressed.