ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ProjectionFilter.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 "BasePclModule.h"
11 
13 
16 public:
18  virtual ~ProjectionFilter();
19 
20  // inherited from BasePclModule
21  virtual int compute();
22 
23 protected:
24  // inherited from BasePclModule
25  virtual int openInputDialog();
26  virtual int checkParameters();
27  virtual void getParametersFromDialog();
28  virtual QString getErrorMessage(int errorCode);
29 
31 
33 
34  // projection parameters
39 
40  // boundary parameters
42  float m_leafSize;
43  bool m_useKnn;
48 };
Base abstract class for each implemented PCL filter.
Definition: BasePclModule.h:53
Projection Filter.
virtual int openInputDialog()
virtual int checkParameters()
virtual QString getErrorMessage(int errorCode)
Returns the error message corresponding to a given error code.
float m_boundaryAngleThreshold
virtual void getParametersFromDialog()
Collects parameters from the filter dialog (if openDialog is successful)
virtual int compute()
Performs the actual filter job.
ProjectionFilterDlg * m_dialog
virtual ~ProjectionFilter()