ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkBoxWidgetCustomCallback.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 <vtkCommand.h>
11 #include <vtkSmartPointer.h>
12 
13 #include "qPCL.h"
14 
15 class vtkActor;
16 class vtkObject;
17 
19 public:
20  static vtkBoxWidgetCustomCallback *New();
21  virtual void Execute(vtkObject *caller, unsigned long, void *);
22 
27  void SetActor(vtkSmartPointer<vtkActor> actor);
28 
29  inline void EnablePreview(bool enabled) { m_preview = enabled; }
30 
31 private:
32  bool m_preview = true;
35 };
static bool Execute(PointStream< Real > &pointStream, PoissonReconLib::IMesh< Real > &out_mesh, const PoissonReconLib::Parameters &params, UIntPack< FEMSigs... >)
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15