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

#include <ColorFillFilter.hpp>

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

Public Member Functions

 ColorFillFilter ()
 
virtual bool configure ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~ColorFillFilter ()
 
- 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

double b_
 
double g_
 
std::string maskLayer_
 Mask layer name. More...
 
std::string outputLayer_
 Output layer name. More...
 
double r_
 Color. 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::ColorFillFilter< T >

Creates a new color layer.

Definition at line 22 of file ColorFillFilter.hpp.

Constructor & Destructor Documentation

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

Constructor

Definition at line 21 of file ColorFillFilter.cpp.

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

Destructor.

Definition at line 29 of file ColorFillFilter.cpp.

Member Function Documentation

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

Configures the filter.

Implements filters::FilterBase< T >.

Definition at line 34 of file ColorFillFilter.cpp.

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

Adds a new color layer.

Parameters
mapIngrid map to add the new layer.
mapOutgrid map the grid map with the new color layer.

Implements filters::FilterBase< T >.

Definition at line 66 of file ColorFillFilter.cpp.

Member Data Documentation

template<typename T >
double grid_map::ColorFillFilter< T >::b_
private

Definition at line 50 of file ColorFillFilter.hpp.

template<typename T >
double grid_map::ColorFillFilter< T >::g_
private

Definition at line 50 of file ColorFillFilter.hpp.

template<typename T >
std::string grid_map::ColorFillFilter< T >::maskLayer_
private

Mask layer name.

Definition at line 53 of file ColorFillFilter.hpp.

template<typename T >
std::string grid_map::ColorFillFilter< T >::outputLayer_
private

Output layer name.

Definition at line 56 of file ColorFillFilter.hpp.

template<typename T >
double grid_map::ColorFillFilter< T >::r_
private

Color.

Definition at line 50 of file ColorFillFilter.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