Random sampling. More...
#include <RandomSampling.h>

| Public Types | |
| typedef PointMatcher< T >::DataPoints | DataPoints | 
| typedef Parametrizable::InvalidParameter | InvalidParameter | 
| typedef PointMatcherSupport::Parametrizable | P | 
| typedef Parametrizable::ParameterDoc | ParameterDoc | 
| typedef Parametrizable::Parameters | Parameters | 
| typedef Parametrizable::ParametersDoc | ParametersDoc | 
| typedef PointMatcherSupport::Parametrizable | Parametrizable | 
|  Public Types inherited from PointMatcherSupport::Parametrizable | |
| typedef bool(* | LexicalComparison) (std::string a, std::string b) | 
| A function that returns whether a is smaller than b.  More... | |
| typedef std::string | Parameter | 
| alias  More... | |
| typedef std::map< std::string, Parameter > | Parameters | 
| Parameters stored as a map of string->string.  More... | |
| typedef std::vector< ParameterDoc > | ParametersDoc | 
| The documentation of all parameters.  More... | |
| typedef std::set< std::string > | ParametersUsed | 
| Parameters whose value has been read.  More... | |
| 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.  More... | |
| virtual void | inPlaceFilter (DataPoints &cloud) | 
| Apply these filters to a point cloud without copying.  More... | |
| RandomSamplingDataPointsFilter (const Parameters ¶ms=Parameters()) | |
| Eigen::VectorXf | sampleRandomIndices (const size_t nbPoints) | 
| virtual | ~RandomSamplingDataPointsFilter () | 
|  Public Member Functions inherited from PointMatcher< T >::DataPointsFilter | |
| DataPointsFilter () | |
| Construct without parameter.  More... | |
| DataPointsFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with parameters.  More... | |
| virtual void | init () | 
| Init this filter.  More... | |
| virtual | ~DataPointsFilter () | 
| virtual destructor  More... | |
|  Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| S | get (const std::string ¶mName) | 
| Return the value of paramName, lexically-casted to S.  More... | |
| std::string | getParamValueString (const std::string ¶mName) | 
| Get the value of a parameter, as a string.  More... | |
| template<typename T > | |
| std::vector< T > | getVector (const std::string ¶mName) | 
| Return the value of paramName, lexically-casted std::vector<S>  More... | |
| Parametrizable () | |
| Construct a documentation of parameters from a description in the source.  More... | |
| Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with documented parameters.  More... | |
| virtual | ~Parametrizable () | 
| Virtual destructor, do nothing.  More... | |
| Static Public Member Functions | |
| static const ParametersDoc | availableParameters () | 
| static const std::string | description () | 
|  Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| static bool | Comp (std::string a, std::string b) | 
| Return whether a < b, lexically casted to S.  More... | |
| Public Attributes | |
| const double | prob | 
| const int | randomSamplingMethod | 
| const int | seed | 
|  Public Attributes inherited from PointMatcherSupport::Parametrizable | |
| const std::string | className | 
| name of the class  More... | |
| Parameters | parameters | 
| parameters with their values encoded in string  More... | |
| const ParametersDoc | parametersDoc | 
| documentation of parameters  More... | |
| ParametersUsed | parametersUsed | 
| parameters whose value has actually been read  More... | |
Random sampling.
Definition at line 43 of file RandomSampling.h.
| typedef PointMatcher<T>::DataPoints RandomSamplingDataPointsFilter< T >::DataPoints | 
Definition at line 52 of file RandomSampling.h.
| typedef Parametrizable::InvalidParameter RandomSamplingDataPointsFilter< T >::InvalidParameter | 
Definition at line 50 of file RandomSampling.h.
| typedef PointMatcherSupport::Parametrizable RandomSamplingDataPointsFilter< T >::P | 
Definition at line 46 of file RandomSampling.h.
| typedef Parametrizable::ParameterDoc RandomSamplingDataPointsFilter< T >::ParameterDoc | 
Definition at line 48 of file RandomSampling.h.
| typedef Parametrizable::Parameters RandomSamplingDataPointsFilter< T >::Parameters | 
Definition at line 47 of file RandomSampling.h.
| typedef Parametrizable::ParametersDoc RandomSamplingDataPointsFilter< T >::ParametersDoc | 
Definition at line 49 of file RandomSampling.h.
| typedef PointMatcherSupport::Parametrizable RandomSamplingDataPointsFilter< T >::Parametrizable | 
Definition at line 45 of file RandomSampling.h.
| RandomSamplingDataPointsFilter< T >::RandomSamplingDataPointsFilter | ( | const Parameters & | params = Parameters() | ) | 
Definition at line 42 of file RandomSampling.cpp.
| 
 | inlinevirtual | 
Definition at line 72 of file RandomSampling.h.
| 
 | inlinestatic | 
Definition at line 58 of file RandomSampling.h.
| 
 | inlinestatic | 
Definition at line 54 of file RandomSampling.h.
| 
 | virtual | 
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 53 of file RandomSampling.cpp.
| 
 | virtual | 
Apply these filters to a point cloud without copying.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 92 of file RandomSampling.cpp.
| Eigen::VectorXf RandomSamplingDataPointsFilter< T >::sampleRandomIndices | ( | const size_t | nbPoints | ) | 
Definition at line 62 of file RandomSampling.cpp.
| const double RandomSamplingDataPointsFilter< T >::prob | 
Definition at line 67 of file RandomSampling.h.
| const int RandomSamplingDataPointsFilter< T >::randomSamplingMethod | 
Definition at line 68 of file RandomSampling.h.
| const int RandomSamplingDataPointsFilter< T >::seed | 
Definition at line 69 of file RandomSampling.h.