ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvComputeOctreeDlg.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 <ui_computeOctreeDlg.h>
11 
12 // CV_DB_LIB
13 #include <ecvBBox.h>
14 
16 
18 class ccComputeOctreeDlg : public QDialog, public Ui::ComputeOctreeDialog {
19  Q_OBJECT
20 
21 public:
23  ccComputeOctreeDlg(const ccBBox& baseBBox,
24  double minCellSize,
25  QWidget* parent = 0);
26 
29 
31  ComputationMode getMode() const;
32 
34  double getMinCellSize() const;
35 
37  ccBBox getCustomBBox() const;
38 
39 protected:
42 };
Bounding box structure.
Definition: ecvBBox.h:25
Dialog to define the extents of a 3D box.
Dialog for octree computation.
ComputationMode getMode() const
Returns octree computation mode.
double getMinCellSize() const
Returns cell size at max level.
ccBBox getCustomBBox() const
Returns custom bbox.
ccComputeOctreeDlg(const ccBBox &baseBBox, double minCellSize, QWidget *parent=0)
Default constructor.
ccBoundingBoxEditorDlg * m_bbEditorDlg
Associated dialog.
ComputationMode
Computation mode.