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

#include <ColorMapFilter.hpp>

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

Public Member Functions

 ColorMapFilter ()
 
virtual bool configure ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~ColorMapFilter ()
 
- 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::string inputLayer_
 Input layer name. More...
 
double max_
 
Eigen::Vector3f maxColor_
 
double min_
 Min./max. values. More...
 
Eigen::Vector3f minColor_
 Min./max. colors. More...
 
std::string outputLayer_
 Output layer name. 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::ColorMapFilter< T >

Creates a new color layer with the color mapped between min. and max. value.

Definition at line 23 of file ColorMapFilter.hpp.

Constructor & Destructor Documentation

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

Constructor

Definition at line 21 of file ColorMapFilter.cpp.

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

Destructor.

Definition at line 28 of file ColorMapFilter.cpp.

Member Function Documentation

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

Configures the filter.

Implements filters::FilterBase< T >.

Definition at line 33 of file ColorMapFilter.cpp.

template<typename T >
bool grid_map::ColorMapFilter< 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 82 of file ColorMapFilter.cpp.

Member Data Documentation

template<typename T >
std::string grid_map::ColorMapFilter< T >::inputLayer_
private

Input layer name.

Definition at line 57 of file ColorMapFilter.hpp.

template<typename T >
double grid_map::ColorMapFilter< T >::max_
private

Definition at line 54 of file ColorMapFilter.hpp.

template<typename T >
Eigen::Vector3f grid_map::ColorMapFilter< T >::maxColor_
private

Definition at line 51 of file ColorMapFilter.hpp.

template<typename T >
double grid_map::ColorMapFilter< T >::min_
private

Min./max. values.

Definition at line 54 of file ColorMapFilter.hpp.

template<typename T >
Eigen::Vector3f grid_map::ColorMapFilter< T >::minColor_
private

Min./max. colors.

Definition at line 51 of file ColorMapFilter.hpp.

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

Output layer name.

Definition at line 60 of file ColorMapFilter.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