ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
distancewidgetobserver.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 "abstractwidgetobserver.h"
11 
12 namespace VtkUtils {
13 
15  : public AbstractWidgetObserver {
16  Q_OBJECT
17 public:
18  explicit DistanceWidgetObserver(QObject* parent = nullptr);
19 
20 signals:
21  void distanceChanged(double dist);
22  void worldPoint1Changed(double* pos);
23  void worldPoint2Changed(double* pos);
24  void displayPoint1Changed(double* pos);
25  void displayPoint2Changed(double* pos);
26 
27 protected:
28  void Execute(vtkObject* caller, unsigned long eventId, void* callData);
29 };
30 
31 } // namespace VtkUtils
static bool Execute(PointStream< Real > &pointStream, PoissonReconLib::IMesh< Real > &out_mesh, const PoissonReconLib::Parameters &params, UIntPack< FEMSigs... >)
#define signals
void displayPoint2Changed(double *pos)
void distanceChanged(double dist)
void worldPoint1Changed(double *pos)
void worldPoint2Changed(double *pos)
void displayPoint1Changed(double *pos)
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15