qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
ccSubsamplingDlg Class Reference

Subsampling cloud dialog. More...

#include <ccSubsamplingDlg.h>

Inheritance diagram for ccSubsamplingDlg:
Inheritance graph
[legend]
Collaboration diagram for ccSubsamplingDlg:
Collaboration graph
[legend]

Public Types

enum  CC_SUBSAMPLING_METHOD { RANDOM = 0, SPACE = 1, OCTREE = 2 }
 Sub-sampling method.
 

Public Member Functions

 ccSubsamplingDlg (unsigned maxPointCount, double maxCloudRadius, QWidget *parent=0)
 Default constructor.
 
CCLib::ReferenceCloud * getSampledCloud (ccGenericPointCloud *cloud, CCLib::GenericProgressCallback *progressCb=0)
 Returns subsampled version of a cloud according to current parameters. More...
 

Protected Slots

void sliderMoved (int sliderPos)
 
void samplingRateChanged (double value)
 
void changeSamplingMethod (int index)
 

Protected Member Functions

void updateLabels ()
 

Protected Attributes

unsigned m_maxPointCount
 Max point count (for RANDOM method)
 
double m_maxRadius
 Max radius (for SPACE method)
 

Detailed Description

Subsampling cloud dialog.

Member Function Documentation

CCLib::ReferenceCloud * ccSubsamplingDlg::getSampledCloud ( ccGenericPointCloud *  cloud,
CCLib::GenericProgressCallback *  progressCb = 0 
)

Returns subsampled version of a cloud according to current parameters.

Should be called only once the dialog has been validated.


The documentation for this class was generated from the following files: