SignedDistance2d.hpp
Go to the documentation of this file.
1 /*
2  * SignedDistance2d.h
3  *
4  * Created on: Jul 10, 2020
5  * Author: Ruben Grandia
6  * Institute: ETH Zurich
7  */
8 
9 #pragma once
10 
11 #include <vector>
12 
14 
15 #include "Utils.hpp"
16 
17 namespace grid_map {
18 namespace signed_distance_field {
19 
30 Matrix signedDistanceAtHeight(const Matrix& elevationMap, float height, float resolution, float minHeight, float maxHeight);
31 
45 void signedDistanceAtHeightTranspose(const Matrix& elevationMap, Matrix& sdfTranspose, Matrix& tmp, Matrix& tmpTranspose, float height,
46  float resolution, float minHeight, float maxHeight);
47 
56 Matrix signedDistanceFromOccupancy(const Eigen::Matrix<bool, -1, -1>& occupancyGrid, float resolution);
57 
58 } // namespace signed_distance_field
59 } // namespace grid_map
void signedDistanceAtHeightTranspose(const Matrix &elevationMap, Matrix &sdfTranspose, Matrix &tmp, Matrix &tmpTranspose, float height, float resolution, float minHeight, float maxHeight)
Matrix signedDistanceAtHeight(const Matrix &elevationMap, float height, float resolution, float minHeight, float maxHeight)
Matrix signedDistanceFromOccupancy(const Eigen::Matrix< bool, -1, -1 > &occupancyGrid, float resolution)
Eigen::MatrixXf Matrix


grid_map_sdf
Author(s): Takahiro Miki , Péter Fankhauser
autogenerated on Wed Jul 5 2023 02:23:42