ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FastGlobalRegistrationFilter.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 // ##########################################################################
11 // # #
12 // # CloudViewer PLUGIN: qPCL #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 or later of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: ACloudViewer project #
24 // # #
25 // ##########################################################################
26 
27 #include <CVGeom.h>
28 
29 #include "BasePclModule.h"
30 
31 class ccPointCloud;
32 
35 
38 public:
41 
42 protected:
43  // inherited from BasePclModule
44  virtual int compute() override;
45  virtual void getParametersFromDialog() override;
46  virtual int checkSelected() override;
47  virtual QString getErrorMessage(int errorCode) override;
48 
49 protected: // variables
50  std::vector<ccPointCloud*> m_alignedClouds;
53 };
Base abstract class for each implemented PCL filter.
Definition: BasePclModule.h:53
virtual int checkSelected() override
Checks if current selection is compliant with the filter.
std::vector< ccPointCloud * > m_alignedClouds
virtual QString getErrorMessage(int errorCode) override
Returns the error message corresponding to a given error code.
virtual int compute() override
Performs the actual filter job.
virtual void getParametersFromDialog() override
Collects parameters from the filter dialog (if openDialog is successful)
A 3D cloud and its associated features (color, normals, scalar fields, etc.)