![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Octree level editor dialog. More...
#include <ecvOctreeSpinBox.h>


Public Member Functions | |
| ccOctreeSpinBox (QWidget *parent=0) | |
| Default constructor. More... | |
| void | setCloud (ccGenericPointCloud *cloud) |
| void | setOctree (cloudViewer::DgmOctree *octree) |
| Inits the dialog with an octree. More... | |
Protected Slots | |
| void | onValueChange (int) |
| Called each time the spinbox value changes. More... | |
Protected Attributes | |
| double | m_octreeBoxWidth |
| Corresponding octree base size. More... | |
Octree level editor dialog.
Definition at line 22 of file ecvOctreeSpinBox.h.
|
explicit |
Default constructor.
Definition at line 18 of file ecvOctreeSpinBox.cpp.
References cloudViewer::DgmOctree::MAX_OCTREE_LEVEL, and onValueChange().
|
protectedslot |
Called each time the spinbox value changes.
Definition at line 54 of file ecvOctreeSpinBox.cpp.
References m_octreeBoxWidth.
Referenced by ccOctreeSpinBox(), setCloud(), and setOctree().
| void ccOctreeSpinBox::setCloud | ( | ccGenericPointCloud * | cloud | ) |
Inits the dialog with a cloud (on which the octree has been or will be computed) Alternative to ccOctreeSpinBox::setOctree
Definition at line 27 of file ecvOctreeSpinBox.cpp.
References cloudViewer::BoundingBoxTpl< T >::getMaxBoxDim(), ccGenericPointCloud::getOctree(), ccGenericPointCloud::getOwnBB(), m_octreeBoxWidth, cloudViewer::CCMiscTools::MakeMinAndMaxCubical(), cloudViewer::BoundingBoxTpl< T >::maxCorner(), cloudViewer::BoundingBoxTpl< T >::minCorner(), onValueChange(), and setOctree().
| void ccOctreeSpinBox::setOctree | ( | cloudViewer::DgmOctree * | octree | ) |
Inits the dialog with an octree.
Alternative to ccOctreeSpinBox::setCloud
Definition at line 44 of file ecvOctreeSpinBox.cpp.
References cloudViewer::DgmOctree::getCellSize(), m_octreeBoxWidth, octree, and onValueChange().
Referenced by setCloud().
|
protected |
Corresponding octree base size.
Definition at line 47 of file ecvOctreeSpinBox.h.
Referenced by onValueChange(), setCloud(), and setOctree().