Program Listing for File ColorFillFilter.hpp
↰ Return to documentation for file (include/grid_map_filters/ColorFillFilter.hpp
)
/*
* ColorFillFilter.hpp
*
* Created on: Sep 14, 2017
* Author: Peter Fankhauser
* Institute: ETH Zurich, ANYbotics
*/
#ifndef GRID_MAP_FILTERS__COLORFILLFILTER_HPP_
#define GRID_MAP_FILTERS__COLORFILLFILTER_HPP_
#include <filters/filter_base.hpp>
#include <Eigen/Core>
#include <string>
namespace grid_map
{
template<typename T>
class ColorFillFilter : public filters::FilterBase<T>
{
public:
ColorFillFilter();
virtual ~ColorFillFilter();
bool configure() override;
bool update(const T & mapIn, T & mapOut) override;
private:
double r_, g_, b_;
std::string maskLayer_;
std::string outputLayer_;
};
} // namespace grid_map
#endif // GRID_MAP_FILTERS__COLORFILLFILTER_HPP_