![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog for octree computation. More...
#include <ecvComputeOctreeDlg.h>


Public Types | |
| enum | ComputationMode { DEFAULT , MIN_CELL_SIZE , CUSTOM_BBOX } |
| Computation mode. More... | |
Public Member Functions | |
| ccComputeOctreeDlg (const ccBBox &baseBBox, double minCellSize, QWidget *parent=0) | |
| Default constructor. More... | |
| ComputationMode | getMode () const |
| Returns octree computation mode. More... | |
| double | getMinCellSize () const |
| Returns cell size at max level. More... | |
| ccBBox | getCustomBBox () const |
| Returns custom bbox. More... | |
Protected Attributes | |
| ccBoundingBoxEditorDlg * | m_bbEditorDlg |
| Associated dialog. More... | |
Dialog for octree computation.
Definition at line 18 of file ecvComputeOctreeDlg.h.
Computation mode.
| Enumerator | |
|---|---|
| DEFAULT | |
| MIN_CELL_SIZE | |
| CUSTOM_BBOX | |
Definition at line 28 of file ecvComputeOctreeDlg.h.
| ccComputeOctreeDlg::ccComputeOctreeDlg | ( | const ccBBox & | baseBBox, |
| double | minCellSize, | ||
| QWidget * | parent = 0 |
||
| ) |
Default constructor.
Definition at line 16 of file ecvComputeOctreeDlg.cpp.
References ccBoundingBoxEditorDlg::exec(), ccBoundingBoxEditorDlg::forceKeepSquare(), cloudViewer::BoundingBoxTpl< T >::isValid(), m_bbEditorDlg, cloudViewer::DgmOctree::MAX_OCTREE_LEVEL, ccBoundingBoxEditorDlg::setBaseBBox(), and CVLog::Warning().
| ccBBox ccComputeOctreeDlg::getCustomBBox | ( | ) | const |
Returns custom bbox.
Definition at line 64 of file ecvComputeOctreeDlg.cpp.
References ccBoundingBoxEditorDlg::getBox(), and m_bbEditorDlg.
Referenced by ccEntityAction::computeOctree().
| double ccComputeOctreeDlg::getMinCellSize | ( | ) | const |
Returns cell size at max level.
Definition at line 60 of file ecvComputeOctreeDlg.cpp.
Referenced by ccEntityAction::computeOctree().
| ccComputeOctreeDlg::ComputationMode ccComputeOctreeDlg::getMode | ( | ) | const |
Returns octree computation mode.
Definition at line 49 of file ecvComputeOctreeDlg.cpp.
References CUSTOM_BBOX, DEFAULT, and MIN_CELL_SIZE.
Referenced by ccEntityAction::computeOctree().
|
protected |
Associated dialog.
Definition at line 41 of file ecvComputeOctreeDlg.h.
Referenced by ccComputeOctreeDlg(), and getCustomBBox().