ColorBlendingFilter.hpp
Go to the documentation of this file.
1 /*
2  * ColorBlendingFilter.hpp
3  *
4  * Created on: Sep 14, 2017
5  * Author: Peter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
11 #include <filters/filter_base.hpp>
12 
13 #include <Eigen/Core>
14 #include <string>
15 
16 namespace grid_map {
17 
21 template<typename T>
23 {
24  public:
29 
33  virtual ~ColorBlendingFilter();
34 
38  virtual bool configure();
39 
45  virtual bool update(const T& mapIn, T& mapOut);
46 
47  private:
48 
49  enum class BlendModes {
50  Normal,
51  HardLight,
52  SoftLight
53  };
54 
57 
59  double opacity_;
60 
63 
65  std::string outputLayer_;
66 };
67 
68 } /* namespace */
BlendModes blendMode_
Blend mode.
std::string backgroundLayer_
Input layers.
virtual bool update(const T &mapIn, T &mapOut)
double opacity_
Opacity of foreground layer.
std::string outputLayer_
Output layer name.


grid_map_filters
Author(s): Péter Fankhauser , Martin Wermelinger
autogenerated on Tue Jun 1 2021 02:13:38