ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
surface.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 "../qPCL.h"
11 #include "point3f.h"
12 #include "vtkwidget.h"
13 
14 class vtkActor;
15 namespace VtkUtils {
16 
17 class SurfacePrivate;
19  Q_OBJECT
20 public:
21  explicit Surface(QWidget* parent = nullptr);
22  virtual ~Surface();
23 
24  void setPoints(const QList<Point3F>& points);
25 
26 protected:
27  virtual void renderSurface();
28  vtkActor* surfaceActor() const;
29 
30 private:
31  SurfacePrivate* d_ptr;
32  Q_DISABLE_COPY(Surface)
33 };
34 
35 } // namespace VtkUtils
int points
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15