Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CutAtDescriptorThresholdDataPointsFilter< T > Struct Template Reference

Subsampling. Cut points with value of a given descriptor above or below a given threshold. More...

#include <CutAtDescriptorThreshold.h>

Inheritance diagram for CutAtDescriptorThresholdDataPointsFilter< T >:
Inheritance graph
[legend]

Public Types

typedef PointMatcher< T >::DataPoints DataPoints
 
typedef PointMatcher< T >::DataPoints::InvalidField InvalidField
 
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, ParameterParameters
 Parameters stored as a map of string->string. More...
 
typedef std::vector< ParameterDocParametersDoc
 The documentation of all parameters. More...
 
typedef std::set< std::string > ParametersUsed
 Parameters whose value has been read. More...
 

Public Member Functions

 CutAtDescriptorThresholdDataPointsFilter (const Parameters &params=Parameters())
 Constructor, uses parameter interface. More...
 
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...
 
- Public Member Functions inherited from PointMatcher< T >::DataPointsFilter
 DataPointsFilter ()
 Construct without parameter. More...
 
 DataPointsFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 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 >
get (const std::string &paramName)
 Return the value of paramName, lexically-casted to S. More...
 
std::string getParamValueString (const std::string &paramName)
 Get the value of a parameter, as a string. More...
 
 Parametrizable ()
 Construct a documentation of parameters from a description in the source. More...
 
 Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 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 std::string descName
 
const T threshold
 
const bool useLargerThan
 
- 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...
 

Detailed Description

template<typename T>
struct CutAtDescriptorThresholdDataPointsFilter< T >

Subsampling. Cut points with value of a given descriptor above or below a given threshold.

Definition at line 43 of file CutAtDescriptorThreshold.h.

Member Typedef Documentation

◆ DataPoints

Definition at line 52 of file CutAtDescriptorThreshold.h.

◆ InvalidField

Definition at line 53 of file CutAtDescriptorThreshold.h.

◆ InvalidParameter

Definition at line 50 of file CutAtDescriptorThreshold.h.

◆ P

Definition at line 46 of file CutAtDescriptorThreshold.h.

◆ ParameterDoc

Definition at line 48 of file CutAtDescriptorThreshold.h.

◆ Parameters

Definition at line 47 of file CutAtDescriptorThreshold.h.

◆ ParametersDoc

Definition at line 49 of file CutAtDescriptorThreshold.h.

◆ Parametrizable

Definition at line 45 of file CutAtDescriptorThreshold.h.

Constructor & Destructor Documentation

◆ CutAtDescriptorThresholdDataPointsFilter()

Constructor, uses parameter interface.

Definition at line 41 of file CutAtDescriptorThreshold.cpp.

Member Function Documentation

◆ availableParameters()

template<typename T >
static const ParametersDoc CutAtDescriptorThresholdDataPointsFilter< T >::availableParameters ( )
inlinestatic

Definition at line 59 of file CutAtDescriptorThreshold.h.

◆ description()

template<typename T >
static const std::string CutAtDescriptorThresholdDataPointsFilter< T >::description ( )
inlinestatic

Definition at line 55 of file CutAtDescriptorThreshold.h.

◆ filter()

template<typename T >
PointMatcher< T >::DataPoints CutAtDescriptorThresholdDataPointsFilter< T >::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 53 of file CutAtDescriptorThreshold.cpp.

◆ inPlaceFilter()

template<typename T >
void CutAtDescriptorThresholdDataPointsFilter< T >::inPlaceFilter ( DataPoints cloud)
virtual

Apply these filters to a point cloud without copying.

Implements PointMatcher< T >::DataPointsFilter.

Definition at line 62 of file CutAtDescriptorThreshold.cpp.

Member Data Documentation

◆ descName

template<typename T >
const std::string CutAtDescriptorThresholdDataPointsFilter< T >::descName

Definition at line 68 of file CutAtDescriptorThreshold.h.

◆ threshold

template<typename T >
const T CutAtDescriptorThresholdDataPointsFilter< T >::threshold

Definition at line 70 of file CutAtDescriptorThreshold.h.

◆ useLargerThan

template<typename T >
const bool CutAtDescriptorThresholdDataPointsFilter< T >::useLargerThan

Definition at line 69 of file CutAtDescriptorThreshold.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03