ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvPtsSamplingDlg.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_ptsSamplingDlg.h>
11 
13 class ccPtsSamplingDlg : public QDialog, public Ui::PointsSamplingDialog {
14  Q_OBJECT
15 
16 public:
18  explicit ccPtsSamplingDlg(QWidget* parent = 0);
19 
20  bool generateNormals() const;
21  bool interpolateRGB() const;
22  bool interpolateTexture() const;
23 
24  bool useDensity() const;
25  double getDensityValue() const;
26  unsigned getPointsNumber() const;
27 
28  void setPointsNumber(int count);
29  void setDensityValue(double density);
30  void setGenerateNormals(bool state);
31  void setUseDensity(bool state);
32 };
int count
Dialog: points sampling on a mesh.
unsigned getPointsNumber() const
double getDensityValue() const
bool generateNormals() const
void setDensityValue(double density)
ccPtsSamplingDlg(QWidget *parent=0)
Default constructor.
bool interpolateTexture() const
void setPointsNumber(int count)
bool useDensity() const
void setGenerateNormals(bool state)
void setUseDensity(bool state)
bool interpolateRGB() const