|
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...
|
|