19 : QSpinBox(parent), m_octreeBoxWidth(0) {
24 connect(
this, SIGNAL(valueChanged(
int)),
this, SLOT(
onValueChange(
int)));
59 setSuffix(QString(
" (grid step = %1)").arg(cs));
A 3D cloud interface with associated features (color, normals, octree, etc.)
virtual ccOctree::Shared getOctree() const
Returns the associated octree (if any)
ccBBox getOwnBB(bool withGLFeatures=false) override
Returns the entity's own bounding-box.
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.
const Vector3Tpl< T > & maxCorner() const
Returns max corner (const)
T getMaxBoxDim() const
Returns maximal box dimension.
const Vector3Tpl< T > & minCorner() const
Returns min corner (const)
The octree structure used throughout the library.
static const int MAX_OCTREE_LEVEL
Max octree subdivision level.
const PointCoordinateType & getCellSize(unsigned char level) const
Returns the octree cells length for a given level of subdivision.