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

#include <VoxelGrid.h>

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

Classes

struct  Voxel
 

Public Types

typedef PM::DataPoints DataPoints
 
typedef PM::DataPointsFilter DataPointsFilter
 
typedef PointMatcher< T >::DataPoints::InvalidField InvalidField
 
typedef Parametrizable::InvalidParameter InvalidParameter
 
typedef PointMatcher< T >::Matrix Matrix
 
typedef PointMatcherSupport::Parametrizable P
 
typedef Parametrizable::ParameterDoc ParameterDoc
 
typedef Parametrizable::Parameters Parameters
 
typedef Parametrizable::ParametersDoc ParametersDoc
 
typedef PointMatcherSupport::Parametrizable Parametrizable
 
typedef PointMatcher< T > PM
 
typedef PointMatcher< T >::Vector Vector
 
typedef Eigen::Matrix< T, 2, 1 > Vector2
 
typedef Eigen::Matrix< T, 3, 1 > Vector3
 
- 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

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...
 
 VoxelGridDataPointsFilter (const Parameters &params=Parameters())
 
 VoxelGridDataPointsFilter ()
 
virtual ~VoxelGridDataPointsFilter ()
 
- 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 bool averageExistingDescriptors
 
const bool useCentroid
 
const T vSizeX
 
const T vSizeY
 
const T vSizeZ
 
- 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 VoxelGridDataPointsFilter< T >

Definition at line 40 of file VoxelGrid.h.

Member Typedef Documentation

◆ DataPoints

template<typename T >
typedef PM::DataPoints VoxelGridDataPointsFilter< T >::DataPoints

Definition at line 44 of file VoxelGrid.h.

◆ DataPointsFilter

Definition at line 45 of file VoxelGrid.h.

◆ InvalidField

Definition at line 58 of file VoxelGrid.h.

◆ InvalidParameter

Definition at line 52 of file VoxelGrid.h.

◆ Matrix

template<typename T >
typedef PointMatcher<T>::Matrix VoxelGridDataPointsFilter< T >::Matrix

Definition at line 54 of file VoxelGrid.h.

◆ P

Definition at line 48 of file VoxelGrid.h.

◆ ParameterDoc

Definition at line 50 of file VoxelGrid.h.

◆ Parameters

Definition at line 49 of file VoxelGrid.h.

◆ ParametersDoc

Definition at line 51 of file VoxelGrid.h.

◆ Parametrizable

Definition at line 47 of file VoxelGrid.h.

◆ PM

template<typename T >
typedef PointMatcher<T> VoxelGridDataPointsFilter< T >::PM

Definition at line 43 of file VoxelGrid.h.

◆ Vector

template<typename T >
typedef PointMatcher<T>::Vector VoxelGridDataPointsFilter< T >::Vector

Definition at line 55 of file VoxelGrid.h.

◆ Vector2

template<typename T >
typedef Eigen::Matrix<T,2,1> VoxelGridDataPointsFilter< T >::Vector2

Definition at line 56 of file VoxelGrid.h.

◆ Vector3

template<typename T >
typedef Eigen::Matrix<T,3,1> VoxelGridDataPointsFilter< T >::Vector3

Definition at line 57 of file VoxelGrid.h.

Constructor & Destructor Documentation

◆ VoxelGridDataPointsFilter() [1/2]

template<typename T >
VoxelGridDataPointsFilter< T >::VoxelGridDataPointsFilter ( const Parameters params = Parameters())

Definition at line 50 of file VoxelGrid.cpp.

◆ VoxelGridDataPointsFilter() [2/2]

template<typename T >
VoxelGridDataPointsFilter< T >::VoxelGridDataPointsFilter ( )

Definition at line 40 of file VoxelGrid.cpp.

◆ ~VoxelGridDataPointsFilter()

template<typename T >
virtual VoxelGridDataPointsFilter< T >::~VoxelGridDataPointsFilter ( )
inlinevirtual

Definition at line 94 of file VoxelGrid.h.

Member Function Documentation

◆ availableParameters()

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

Definition at line 66 of file VoxelGrid.h.

◆ description()

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

Definition at line 61 of file VoxelGrid.h.

◆ filter()

template<typename T >
PointMatcher< T >::DataPoints VoxelGridDataPointsFilter< 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 63 of file VoxelGrid.cpp.

◆ inPlaceFilter()

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

Apply these filters to a point cloud without copying.

Implements PointMatcher< T >::DataPointsFilter.

Definition at line 71 of file VoxelGrid.cpp.

Member Data Documentation

◆ averageExistingDescriptors

template<typename T >
const bool VoxelGridDataPointsFilter< T >::averageExistingDescriptors

Definition at line 81 of file VoxelGrid.h.

◆ useCentroid

template<typename T >
const bool VoxelGridDataPointsFilter< T >::useCentroid

Definition at line 80 of file VoxelGrid.h.

◆ vSizeX

template<typename T >
const T VoxelGridDataPointsFilter< T >::vSizeX

Definition at line 77 of file VoxelGrid.h.

◆ vSizeY

template<typename T >
const T VoxelGridDataPointsFilter< T >::vSizeY

Definition at line 78 of file VoxelGrid.h.

◆ vSizeZ

template<typename T >
const T VoxelGridDataPointsFilter< T >::vSizeZ

Definition at line 79 of file VoxelGrid.h.


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


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