ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvRenderToFileDlg.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 <QDialog>
11 
12 #include "CVPluginAPI.h"
13 
14 namespace Ui {
15 class RenderToFileDialog;
16 }
17 
19 class CVPLUGIN_LIB_API ccRenderToFileDlg : public QDialog {
20  Q_OBJECT
21 
22 public:
24  ccRenderToFileDlg(unsigned baseWidth,
25  unsigned baseHeight,
26  QWidget* parent = 0);
27 
28  ~ccRenderToFileDlg() override;
29 
31  void hideOptions();
32 
34  float getZoom() const;
36  QString getFilename() const;
38  bool dontScalePoints() const;
40  bool renderOverlayItems() const;
41 
42 protected slots:
43 
44  void chooseFile();
45  void updateInfo();
46  void saveSettings();
47 
48 protected:
49  unsigned w;
50  unsigned h;
51 
52  QString selectedFilter;
53  QString currentPath;
54  QString filters;
55 
56  Ui::RenderToFileDialog* m_ui;
57 };
#define CVPLUGIN_LIB_API
Definition: CVPluginAPI.h:15
#define slots
Dialog for screen to file rendering.
Ui::RenderToFileDialog * m_ui