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.h>
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 
60 
62  double opacity_;
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 Fri Feb 19 2021 03:15:18