Public Member Functions | Private Types | Private Member Functions | Private Attributes
grid_map::NormalVectorsFilter< T > Class Template Reference

#include <NormalVectorsFilter.hpp>

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

List of all members.

Public Member Functions

virtual bool configure ()
 NormalVectorsFilter ()
virtual bool update (const T &mapIn, T &mapOut)
virtual ~NormalVectorsFilter ()

Private Types

enum  Method { Area, Raster }

Private Member Functions

void computeWithArea (GridMap &map, const std::string &inputLayer, const std::string &outputLayersPrefix)
void computeWithRaster (GridMap &map, const std::string &inputLayer, const std::string &outputLayersPrefix)

Private Attributes

double estimationRadius_
 Radius of submap for normal vector estimation.
std::string inputLayer_
 Input layer name.
Method method_
Eigen::Vector3d normalVectorPositiveAxis_
 Normal vector positive axis.
std::string outputLayersPrefix_
 Output layer name.

Detailed Description

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

Compute the normal vectors of a layer in a map.

Definition at line 23 of file NormalVectorsFilter.hpp.


Member Enumeration Documentation

template<typename T >
enum grid_map::NormalVectorsFilter::Method [private]
Enumerator:
Area 
Raster 

Definition at line 55 of file NormalVectorsFilter.hpp.


Constructor & Destructor Documentation

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

Constructor

Definition at line 22 of file NormalVectorsFilter.cpp.

template<typename T >
grid_map::NormalVectorsFilter< T >::~NormalVectorsFilter ( ) [virtual]

Destructor.

Definition at line 29 of file NormalVectorsFilter.cpp.


Member Function Documentation

template<typename T >
void grid_map::NormalVectorsFilter< T >::computeWithArea ( GridMap map,
const std::string &  inputLayer,
const std::string &  outputLayersPrefix 
) [private]

Definition at line 102 of file NormalVectorsFilter.cpp.

template<typename T >
void grid_map::NormalVectorsFilter< T >::computeWithRaster ( GridMap map,
const std::string &  inputLayer,
const std::string &  outputLayersPrefix 
) [private]

Definition at line 164 of file NormalVectorsFilter.cpp.

template<typename T >
bool grid_map::NormalVectorsFilter< T >::configure ( ) [virtual]

Configures the filter from parameters on the Parameter Server

Implements filters::FilterBase< T >.

Definition at line 34 of file NormalVectorsFilter.cpp.

template<typename T >
bool grid_map::NormalVectorsFilter< T >::update ( const T mapIn,
T mapOut 
) [virtual]

Compute the normal vectors of a layer in a map and saves it as additional grid map layer.

Parameters:
mapIngrid map containing the layer for which the normal vectors are computed for.
mapOutgrid map containing mapIn and the new layers for the normal vectors.

Implements filters::FilterBase< T >.

Definition at line 80 of file NormalVectorsFilter.cpp.


Member Data Documentation

template<typename T >
double grid_map::NormalVectorsFilter< T >::estimationRadius_ [private]

Radius of submap for normal vector estimation.

Definition at line 63 of file NormalVectorsFilter.hpp.

template<typename T >
std::string grid_map::NormalVectorsFilter< T >::inputLayer_ [private]

Input layer name.

Definition at line 69 of file NormalVectorsFilter.hpp.

template<typename T >
Method grid_map::NormalVectorsFilter< T >::method_ [private]

Definition at line 60 of file NormalVectorsFilter.hpp.

template<typename T >
Eigen::Vector3d grid_map::NormalVectorsFilter< T >::normalVectorPositiveAxis_ [private]

Normal vector positive axis.

Definition at line 66 of file NormalVectorsFilter.hpp.

template<typename T >
std::string grid_map::NormalVectorsFilter< T >::outputLayersPrefix_ [private]

Output layer name.

Definition at line 72 of file NormalVectorsFilter.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 Jul 9 2019 05:06:36