Public Member Functions | Private Attributes | List of all members
grid_map::DeletionFilter< T > Class Template Reference

#include <DeletionFilter.hpp>

Inheritance diagram for grid_map::DeletionFilter< T >:
Inheritance graph
[legend]

Public Member Functions

virtual bool configure ()
 
 DeletionFilter ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~DeletionFilter ()
 
- Public Member Functions inherited from filters::FilterBase< T >
bool configure (const std::string &param_name, ros::NodeHandle node_handle=ros::NodeHandle())
 
bool configure (XmlRpc::XmlRpcValue &config)
 
 FilterBase ()
 
const std::string & getName ()
 
std::string getType ()
 
virtual ~FilterBase ()
 

Private Attributes

std::vector< std::string > layers_
 List of layers that should be deleted. More...
 

Additional Inherited Members

- Protected Member Functions inherited from filters::FilterBase< T >
bool getParam (const std::string &name, std::string &value)
 
bool getParam (const std::string &name, XmlRpc::XmlRpcValue &value)
 
bool getParam (const std::string &name, double &value)
 
bool getParam (const std::string &name, std::vector< double > &value)
 
bool getParam (const std::string &name, unsigned int &value)
 
bool getParam (const std::string &name, int &value)
 
bool getParam (const std::string &name, std::vector< std::string > &value)
 
bool getParam (const std::string &name, bool &value)
 
bool loadConfiguration (XmlRpc::XmlRpcValue &config)
 
- Protected Attributes inherited from filters::FilterBase< T >
bool configured_
 
std::string filter_name_
 
std::string filter_type_
 
string_map_t params_
 

Detailed Description

template<typename T>
class grid_map::DeletionFilter< T >

Deletion filter class deletes layers of a grid map.

Definition at line 22 of file DeletionFilter.hpp.

Constructor & Destructor Documentation

template<typename T >
grid_map::DeletionFilter< T >::DeletionFilter ( )

Constructor

Definition at line 19 of file DeletionFilter.cpp.

template<typename T >
grid_map::DeletionFilter< T >::~DeletionFilter ( )
virtual

Destructor.

Definition at line 24 of file DeletionFilter.cpp.

Member Function Documentation

template<typename T >
bool grid_map::DeletionFilter< T >::configure ( )
virtual

Configures the filter from parameters on the parameter server.

Implements filters::FilterBase< T >.

Definition at line 29 of file DeletionFilter.cpp.

template<typename T >
bool grid_map::DeletionFilter< T >::update ( const T &  mapIn,
T &  mapOut 
)
virtual

Deletes the specified layers of a grid map.

Parameters
mapIngridMap with the different layers.
mapOutgridMap without the deleted layers.

Implements filters::FilterBase< T >.

Definition at line 41 of file DeletionFilter.cpp.

Member Data Documentation

template<typename T >
std::vector<std::string> grid_map::DeletionFilter< T >::layers_
private

List of layers that should be deleted.

Definition at line 51 of file DeletionFilter.hpp.


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


grid_map_filters
Author(s): P├ęter Fankhauser , Martin Wermelinger
autogenerated on Fri Feb 19 2021 03:15:19