Random sampling. More...
#include <DataPointsFiltersImpl.h>
Public Member Functions | |
virtual DataPoints | filter (const DataPoints &input) |
Apply filters to input point cloud. This is the non-destructive version and returns a copy. | |
virtual void | inPlaceFilter (DataPoints &cloud) |
Apply these filters to a point cloud without copying. | |
RandomSamplingDataPointsFilter (const Parameters ¶ms=Parameters()) | |
virtual | ~RandomSamplingDataPointsFilter () |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Public Attributes | |
const double | prob |
Protected Member Functions | |
RandomSamplingDataPointsFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) |
Random sampling.
Definition at line 367 of file DataPointsFiltersImpl.h.
DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::RandomSamplingDataPointsFilter | ( | const Parameters & | params = Parameters() | ) |
Definition at line 1006 of file DataPointsFiltersImpl.cpp.
virtual DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::~RandomSamplingDataPointsFilter | ( | ) | [inline, virtual] |
Definition at line 383 of file DataPointsFiltersImpl.h.
DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::RandomSamplingDataPointsFilter | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) | [protected] |
Definition at line 1014 of file DataPointsFiltersImpl.cpp.
static const ParametersDoc DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::availableParameters | ( | ) | [inline, static] |
Reimplemented in DataPointsFiltersImpl< T >::MaxPointCountDataPointsFilter.
Definition at line 373 of file DataPointsFiltersImpl.h.
static const std::string DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::description | ( | ) | [inline, static] |
Reimplemented in DataPointsFiltersImpl< T >::MaxPointCountDataPointsFilter.
Definition at line 369 of file DataPointsFiltersImpl.h.
PointMatcher< T >::DataPoints DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::filter | ( | const DataPoints & | input | ) | [virtual] |
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Implements PointMatcher< T >::DataPointsFilter.
Reimplemented in DataPointsFiltersImpl< T >::MaxPointCountDataPointsFilter.
Definition at line 1022 of file DataPointsFiltersImpl.cpp.
void DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::inPlaceFilter | ( | DataPoints & | cloud | ) | [virtual] |
Apply these filters to a point cloud without copying.
Implements PointMatcher< T >::DataPointsFilter.
Reimplemented in DataPointsFiltersImpl< T >::MaxPointCountDataPointsFilter.
Definition at line 1032 of file DataPointsFiltersImpl.cpp.
const double DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::prob |
Definition at line 380 of file DataPointsFiltersImpl.h.