ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvOctreeSpinBox.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 // Local
11 #include "CV_db.h"
12 
13 // cloudViewer
14 #include <DgmOctree.h>
15 
16 // Qt
17 #include <QSpinBox>
18 
20 
22 class CV_DB_LIB_API ccOctreeSpinBox : public QSpinBox {
23  Q_OBJECT
24 
25 public:
27  explicit ccOctreeSpinBox(QWidget* parent = 0);
28 
31 
34 
36 
39 
40 protected slots:
41 
43  void onValueChange(int);
44 
45 protected:
48 };
#define CV_DB_LIB_API
Definition: CV_db.h:15
#define slots
A 3D cloud interface with associated features (color, normals, octree, etc.)
Octree level editor dialog.
void onValueChange(int)
Called each time the spinbox value changes.
double m_octreeBoxWidth
Corresponding octree base size.
void setOctree(cloudViewer::DgmOctree *octree)
Inits the dialog with an octree.
void setCloud(ccGenericPointCloud *cloud)
ccOctreeSpinBox(QWidget *parent=0)
Default constructor.
The octree structure used throughout the library.
Definition: DgmOctree.h:39
cloudViewer::DgmOctree * octree