Public Member Functions | Private Attributes | List of all members
grid_map::LightIntensityFilter< T > Class Template Reference

#include <LightIntensityFilter.hpp>

Inheritance diagram for grid_map::LightIntensityFilter< T >:
Inheritance graph
[legend]

Public Member Functions

virtual bool configure ()
 
 LightIntensityFilter ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~LightIntensityFilter ()
 
- Public Member Functions inherited from filters::FilterBase< T >
bool configure (const std::string &param_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 inputLayersPrefix_
 Input layers prefix. More...
 
Eigen::Vector3f lightDirection_
 Light direction. 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_
 

Detailed Description

template<typename T>
class grid_map::LightIntensityFilter< T >

Compute the diffuse lighting of a surface as new black and white color layer.

Definition at line 22 of file LightIntensityFilter.hpp.

Constructor & Destructor Documentation

template<typename T >
grid_map::LightIntensityFilter< T >::LightIntensityFilter ( )

Constructor

Definition at line 21 of file LightIntensityFilter.cpp.

template<typename T >
grid_map::LightIntensityFilter< T >::~LightIntensityFilter ( )
virtual

Destructor.

Definition at line 26 of file LightIntensityFilter.cpp.

Member Function Documentation

template<typename T >
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.

template<typename T >
bool grid_map::LightIntensityFilter< T >::update ( const T &  mapIn,
T &  mapOut 
)
virtual

Compute the diffuse lighting layer.

Parameters
mapIngrid map containing the layers of the normal vectors.
mapOutgrid map containing mapIn and the black and white lighting color layer.

Implements filters::FilterBase< T >.

Definition at line 62 of file LightIntensityFilter.cpp.

Member Data Documentation

template<typename T >
std::string grid_map::LightIntensityFilter< T >::inputLayersPrefix_
private

Input layers prefix.

Definition at line 50 of file LightIntensityFilter.hpp.

template<typename T >
Eigen::Vector3f grid_map::LightIntensityFilter< T >::lightDirection_
private

Light direction.

Definition at line 56 of file LightIntensityFilter.hpp.

template<typename T >
std::string grid_map::LightIntensityFilter< T >::outputLayer_
private

Output layer name.

Definition at line 53 of file LightIntensityFilter.hpp.


The documentation for this class was generated from the following files:


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