Namespaces | Functions
GeometryAlgorithms.hpp File Reference
#include "lvr2/geometry/BaseMesh.hpp"
#include "lvr2/attrmaps/AttrMaps.hpp"
#include "lvr2/geometry/Handles.hpp"
#include <list>
#include "GeometryAlgorithms.tcc"
Include dependency graph for GeometryAlgorithms.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lvr2
 

Functions

template<typename BaseVecT >
DenseVertexMap< float > lvr2::calcAverageVertexAngles (const BaseMesh< BaseVecT > &mesh, const VertexMap< Normal< typename BaseVecT::CoordType >> &normals)
 Calculates the average angle for each vertex. More...
 
template<typename BaseVecT >
void lvr2::calcLocalVertexNeighborhood (const BaseMesh< BaseVecT > &mesh, VertexHandle vH, double radius, vector< VertexHandle > &neighborsOut)
 Calculates the local neighborhood of a given vertex (defined by it's handle). More...
 
template<typename BaseVecT >
DenseEdgeMap< float > lvr2::calcVertexAngleEdges (const BaseMesh< BaseVecT > &mesh, const VertexMap< Normal< typename BaseVecT::CoordType >> &normals)
 Calculates the angle between two vertex normals for each edge. More...
 
template<typename BaseVecT >
DenseEdgeMap< float > lvr2::calcVertexDistances (const BaseMesh< BaseVecT > &mesh)
 Computes the distances between the vertices and stores them in the given dense edge map. More...
 
template<typename BaseVecT >
DenseVertexMap< float > lvr2::calcVertexHeightDifferences (const BaseMesh< BaseVecT > &mesh, double radius)
 Calculate the height difference value for each vertex of the given BaseMesh. More...
 
template<typename BaseVecT >
DenseVertexMap< float > lvr2::calcVertexRoughness (const BaseMesh< BaseVecT > &mesh, double radius, const VertexMap< Normal< typename BaseVecT::CoordType >> &normals)
 Calculates the roughness for each vertex. More...
 
template<typename BaseVecT >
void lvr2::calcVertexRoughnessAndHeightDifferences (const BaseMesh< BaseVecT > &mesh, double radius, const VertexMap< Normal< typename BaseVecT::CoordType >> &normals, DenseVertexMap< float > &roughness, DenseVertexMap< float > &heightDiff)
 Calculates the roughness and the height difference for each vertex. More...
 
template<typename BaseVecT >
bool lvr2::Dijkstra (const BaseMesh< BaseVecT > &mesh, const VertexHandle &start, const VertexHandle &goal, const DenseEdgeMap< float > &edgeCosts, std::list< VertexHandle > &path, DenseVertexMap< float > &distances, DenseVertexMap< VertexHandle > &predecessors, DenseVertexMap< bool > &seen, DenseVertexMap< float > &vertex_costs)
 Dijkstra's algorithm. More...
 
template<typename BaseVecT , typename VisitorF >
void lvr2::visitLocalVertexNeighborhood (const BaseMesh< BaseVecT > &mesh, VertexHandle vH, double radius, VisitorF visitor)
 Visits every vertex in the local neighborhood of vH. More...
 


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25