MEPP2 Project
Functions
flatcontrastcomputor.h File Reference
#include <cmath>
#include <algorithm>
Include dependency graph for flatcontrastcomputor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename GeometryTraits , typename Vector_t >
double compute_flat_contrast (const GeometryTraits &geom, const Vector_t &n1, const Vector_t &n2, const Vector_t &ldir)
 
template<typename Light_t , typename GeometryTraits , typename HalfedgeGraph , typename FaceNormalMap , typename HalfEdge >
double compute_flat_contrast (const GeometryTraits &geom, const Light_t &ldir, const HalfedgeGraph &mesh, const FaceNormalMap &f_nm, const HalfEdge &halfedge)
 

Function Documentation

◆ compute_flat_contrast() [1/2]

template<typename Light_t , typename GeometryTraits , typename HalfedgeGraph , typename FaceNormalMap , typename HalfEdge >
double compute_flat_contrast ( const GeometryTraits &  geom,
const Light_t &  ldir,
const HalfedgeGraph &  mesh,
const FaceNormalMap &  f_nm,
const HalfEdge &  halfedge 
)

Definition at line 50 of file flatcontrastcomputor.h.

Here is the call graph for this function:

◆ compute_flat_contrast() [2/2]

template<typename GeometryTraits , typename Vector_t >
double compute_flat_contrast ( const GeometryTraits &  geom,
const Vector_t &  n1,
const Vector_t &  n2,
const Vector_t &  ldir 
)

Definition at line 19 of file flatcontrastcomputor.h.

Here is the call graph for this function:
Here is the caller graph for this function: