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 
13 class ProfileImportDlg : public QDialog, public Ui::ProfileImportDlg {
14  Q_OBJECT
15 
16 public:
18  explicit ProfileImportDlg(QWidget* parent = 0);
19 
21 
23  int getAxisDimension() const;
24 
27 
29  QString getFilename() const;
30 
33  bool absoluteHeightValues() const;
34 
35 protected slots:
36 
38  void browseFile();
39 };
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
Returns revolution axis dimension index.
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.