#include <LightIntensityFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
LightIntensityFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~LightIntensityFilter () |
Private Attributes | |
std::string | inputLayersPrefix_ |
Input layers prefix. | |
Eigen::Vector3f | lightDirection_ |
Light direction. | |
std::string | outputLayer_ |
Output layer name. |
Compute the diffuse lighting of a surface as new black and white color layer.
Definition at line 22 of file LightIntensityFilter.hpp.
grid_map::LightIntensityFilter< T >::LightIntensityFilter | ( | ) |
Constructor
Definition at line 21 of file LightIntensityFilter.cpp.
grid_map::LightIntensityFilter< T >::~LightIntensityFilter | ( | ) | [virtual] |
Destructor.
Definition at line 26 of file LightIntensityFilter.cpp.
bool grid_map::LightIntensityFilter< T >::configure | ( | ) | [virtual] |
Configures the filter from parameters on the Parameter Server
Implements filters::FilterBase< T >.
Definition at line 31 of file LightIntensityFilter.cpp.
bool grid_map::LightIntensityFilter< T >::update | ( | const T & | mapIn, |
T & | mapOut | ||
) | [virtual] |
Compute the diffuse lighting layer.
mapIn | grid map containing the layers of the normal vectors. |
mapOut | grid map containing mapIn and the black and white lighting color layer. |
Implements filters::FilterBase< T >.
Definition at line 62 of file LightIntensityFilter.cpp.
std::string grid_map::LightIntensityFilter< T >::inputLayersPrefix_ [private] |
Input layers prefix.
Definition at line 50 of file LightIntensityFilter.hpp.
Eigen::Vector3f grid_map::LightIntensityFilter< T >::lightDirection_ [private] |
Light direction.
Definition at line 56 of file LightIntensityFilter.hpp.
std::string grid_map::LightIntensityFilter< T >::outputLayer_ [private] |
Output layer name.
Definition at line 53 of file LightIntensityFilter.hpp.