#include <ColorMapFilter.hpp>
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 ¶m_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_ |
Creates a new color layer with the color mapped between min. and max. value.
Definition at line 23 of file ColorMapFilter.hpp.
grid_map::ColorMapFilter< T >::ColorMapFilter | ( | ) |
Constructor
Definition at line 21 of file ColorMapFilter.cpp.
|
virtual |
Destructor.
Definition at line 28 of file ColorMapFilter.cpp.
|
virtual |
Configures the filter.
Implements filters::FilterBase< T >.
Definition at line 33 of file ColorMapFilter.cpp.
|
virtual |
Adds a new color layer.
mapIn | grid map to add the new layer. |
mapOut | grid map the grid map with the new color layer. |
Implements filters::FilterBase< T >.
Definition at line 82 of file ColorMapFilter.cpp.
|
private |
Input layer name.
Definition at line 57 of file ColorMapFilter.hpp.
|
private |
Definition at line 54 of file ColorMapFilter.hpp.
|
private |
Definition at line 51 of file ColorMapFilter.hpp.
|
private |
Min./max. values.
Definition at line 54 of file ColorMapFilter.hpp.
|
private |
Min./max. colors.
Definition at line 51 of file ColorMapFilter.hpp.
|
private |
Output layer name.
Definition at line 60 of file ColorMapFilter.hpp.