Namespaces | Functions
NormalAlgorithms.hpp File Reference
#include "lvr2/geometry/BaseMesh.hpp"
#include "lvr2/util/Cluster.hpp"
#include "lvr2/util/ClusterBiMap.hpp"
#include "lvr2/geometry/Normal.hpp"
#include "lvr2/reconstruction/PointsetSurface.hpp"
#include "lvr2/attrmaps/AttrMaps.hpp"
#include "lvr2/algorithm/NormalAlgorithms.tcc"
Include dependency graph for NormalAlgorithms.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 >
DenseFaceMap< Normal< typename BaseVecT::CoordType > > lvr2::calcFaceNormals (const BaseMesh< BaseVecT > &mesh)
 Calculates a normal for each face in the mesh. More...
 
template<typename BaseVecT >
DenseVertexMap< Normal< typename BaseVecT::CoordType > > lvr2::calcVertexNormals (const BaseMesh< BaseVecT > &mesh, const FaceMap< Normal< typename BaseVecT::CoordType >> &normals)
 Calculates a normal for each vertex in the mesh. More...
 
template<typename BaseVecT >
DenseVertexMap< Normal< typename BaseVecT::CoordType > > lvr2::calcVertexNormals (const BaseMesh< BaseVecT > &mesh, const FaceMap< Normal< typename BaseVecT::CoordType >> &normals, const PointsetSurface< BaseVecT > &surface)
 Calculates a normal for each vertex in the mesh. More...
 
template<typename BaseVecT >
boost::optional< Normal< typename BaseVecT::CoordType > > lvr2::getFaceNormal (array< BaseVecT, 3 > vertices)
 Returns the normal of a face with the given three vertices. More...
 
template<typename BaseVecT >
boost::optional< Normal< typename BaseVecT::CoordType > > lvr2::interpolatedVertexNormal (const BaseMesh< BaseVecT > &mesh, const FaceMap< Normal< typename BaseVecT::CoordType >> &normals, VertexHandle handle)
 Returns a vertex normal for the given vertex interpolated from the normals of its adjacent faces. 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