18 #include <ui_subsamplingDlg.h>
36 double maxCloudRadius,
A 3D cloud interface with associated features (color, normals, octree, etc.)
Subsampling cloud dialog.
ccSubsamplingDlg(unsigned maxPointCount, double maxCloudRadius, QWidget *parent=0)
Default constructor.
cloudViewer::ReferenceCloud * getSampledCloud(ccGenericPointCloud *cloud, cloudViewer::GenericProgressCallback *progressCb=0)
Returns subsampled version of a cloud according to current parameters.
CC_SUBSAMPLING_METHOD
Sub-sampling method.
void enableSFModulation(ScalarType sfMin, ScalarType sfMax)
Enables the SF modulation option (SPATIAL method)
ScalarType m_sfMax
Scalar modulation (max SF value)
void updateLabels()
Updates the dialog labels depending on the active mode.
ScalarType m_sfMin
Scalar modulation (min SF value)
void samplingRateChanged(double value)
void changeSamplingMethod(int index)
void sliderMoved(int sliderPos)
bool m_sfModEnabled
Scalar modulation.
unsigned m_maxPointCount
Max point count (for RANDOM method)
double m_maxRadius
Max radius (for SPACE method)
A very simple point cloud (no point duplication)