MEPP2 Project
Namespaces | Functions
calculate_face_tangent.hpp File Reference
#include <boost/graph/graph_traits.hpp>
#include "FEVV/Wrappings/Geometry_traits.h"
#include "FEVV/Operators/Geometry/tangents.hpp"
Include dependency graph for calculate_face_tangent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FEVV
 Interfaces for plugins These interfaces will be used for different plugins.
 
 FEVV::Operators
 

Functions

template<typename HalfedgeGraph , typename PointMap , typename Vector , typename VertexTangentMap >
void FEVV::Operators::calculate_face_tangent (typename boost::graph_traits< HalfedgeGraph >::face_descriptor f, const HalfedgeGraph &g, const PointMap &pm, const Vector &uv1, const Vector &uv2, const Vector &uv3, VertexTangentMap &vtm)
 Calculate a face tangent, then accumulate its value on every vertices it contains to average them; final vertex tangents are normalized later. More...