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 1005 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 1013 of file DataPointsFiltersImpl.cpp.
static const ParametersDoc DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::availableParameters | ( | ) | [inline, static] |
Definition at line 373 of file DataPointsFiltersImpl.h.
static const std::string DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::description | ( | ) | [inline, static] |
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.
Definition at line 1021 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.
Definition at line 1031 of file DataPointsFiltersImpl.cpp.
const double DataPointsFiltersImpl< T >::RandomSamplingDataPointsFilter::prob |
Definition at line 380 of file DataPointsFiltersImpl.h.