Public Types | Public Member Functions | Private Attributes | List of all members
floam::lidar::GenericCondition< PointT > Class Template Reference

#include <lidar.hpp>

Inheritance diagram for floam::lidar::GenericCondition< PointT >:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< const GenericCondition< PointT > > ConstPtr
 
typedef std::function< bool(const PointT &)> FunctorT
 
typedef std::shared_ptr< GenericCondition< PointT > > Ptr
 

Public Member Functions

virtual bool evaluate (const PointT &point) const
 
 GenericCondition (FunctorT evaluator)
 

Private Attributes

FunctorT _evaluator
 

Detailed Description

template<typename PointT>
class floam::lidar::GenericCondition< PointT >

taken from the example here (thanks, Davide!) https://cpp-optimizations.netlify.app/pcl_filter/

Definition at line 90 of file lidar.hpp.

Member Typedef Documentation

◆ ConstPtr

template<typename PointT >
typedef std::shared_ptr<const GenericCondition<PointT> > floam::lidar::GenericCondition< PointT >::ConstPtr

Definition at line 94 of file lidar.hpp.

◆ FunctorT

template<typename PointT >
typedef std::function<bool(const PointT&)> floam::lidar::GenericCondition< PointT >::FunctorT

Definition at line 95 of file lidar.hpp.

◆ Ptr

template<typename PointT >
typedef std::shared_ptr<GenericCondition<PointT> > floam::lidar::GenericCondition< PointT >::Ptr

Definition at line 93 of file lidar.hpp.

Constructor & Destructor Documentation

◆ GenericCondition()

template<typename PointT >
floam::lidar::GenericCondition< PointT >::GenericCondition ( FunctorT  evaluator)
inline

Definition at line 97 of file lidar.hpp.

Member Function Documentation

◆ evaluate()

template<typename PointT >
virtual bool floam::lidar::GenericCondition< PointT >::evaluate ( const PointT &  point) const
inlinevirtual

Definition at line 101 of file lidar.hpp.

Member Data Documentation

◆ _evaluator

template<typename PointT >
FunctorT floam::lidar::GenericCondition< PointT >::_evaluator
private

Definition at line 106 of file lidar.hpp.


The documentation for this class was generated from the following file:


floam
Author(s): Han Wang
autogenerated on Mon Feb 28 2022 22:25:11