#include <cmath>
#include <algorithm>
Go to the source code of this file.
|
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) |
|
◆ 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 |
|
) |
| |
◆ 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 |
|
) |
| |