MEPP2 Project
Functions
Generic manifold filters

Functions

template<typename HalfedgeGraph , typename PointMap , typename VertexColorMap , typename VertexNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void helloworld_filter (const HalfedgeGraph &g, PointMap &pm, VertexColorMap &v_cm, VertexNormalMap &v_nm, const GeometryTraits &gt)
 Refer here for a detailed presentation of that filter example, what it does and how to use it. More...
 
template<typename HalfedgeGraph , typename MaterialMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void texture_image_demo_filter (const HalfedgeGraph &, MaterialMap &mtl_pm, const GeometryTraits &)
 
template<typename HalfedgeGraph , typename VertexCurvatureMap , typename PointMap , typename FaceNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void FEVV::Filters::calculate_curvature_cmdm (const HalfedgeGraph &g, VertexCurvatureMap &v_cm, const PointMap &pm, const FaceNormalMap &f_nm, bool is_geod, double radius, double &min_nrm_min_curvature, double &max_nrm_min_curvature, double &min_nrm_max_curvature, double &max_nrm_max_curvature, const GeometryTraits &gt)
 Calculate the curvature for a mesh. More...
 
template<typename HalfedgeGraph , typename VertexCurvatureMap , typename PointMap , typename FaceNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void FEVV::Filters::calculate_curvature_cmdm (const HalfedgeGraph &g, VertexCurvatureMap &v_cm, const PointMap &pm, const FaceNormalMap &f_nm, bool is_geod, double radius, double &min_nrm_min_curvature, double &max_nrm_min_curvature, double &min_nrm_max_curvature, double &max_nrm_max_curvature)
 Calculate the curvature for a mesh. More...
 

Detailed Description

This group gathers filters that are Generic to Manifold surfaces. It assumes that the FaceGraph template argument complies with the ... concept.

Function Documentation

◆ calculate_curvature_cmdm() [1/2]

template<typename HalfedgeGraph , typename VertexCurvatureMap , typename PointMap , typename FaceNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void FEVV::Filters::calculate_curvature_cmdm ( const HalfedgeGraph &  g,
VertexCurvatureMap &  v_cm,
const PointMap &  pm,
const FaceNormalMap &  f_nm,
bool  is_geod,
double  radius,
double &  min_nrm_min_curvature,
double &  max_nrm_min_curvature,
double &  min_nrm_max_curvature,
double &  max_nrm_max_curvature 
)

Calculate the curvature for a mesh.

Parameters
ginput mesh
v_cmoutput vertex curvature map
pmpoint map
f_nmface normal map
isGeodisGeod if true = geodesic neighborhood, if false = 1-ring neighborhood
radiusradius
MinNrmMinCurvatureoutput minimum value of the minimum curvature (usefull for color rendering)
MaxNrmMinCurvatureoutput maximum value of the minimum curvature (usefull for color rendering)
MinNrmMaxCurvatureoutput minimum value of the maximum curvature (usefull for color rendering)
MaxNrmMaxCurvatureoutput maximum value of the maximum curvature (usefull for color rendering)
See also
the variant that use the geometry traits provided by the user.

Definition at line 721 of file curvature_cmdm.hpp.

Here is the call graph for this function:

◆ calculate_curvature_cmdm() [2/2]

template<typename HalfedgeGraph , typename VertexCurvatureMap , typename PointMap , typename FaceNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void FEVV::Filters::calculate_curvature_cmdm ( const HalfedgeGraph &  g,
VertexCurvatureMap &  v_cm,
const PointMap &  pm,
const FaceNormalMap &  f_nm,
bool  is_geod,
double  radius,
double &  min_nrm_min_curvature,
double &  max_nrm_min_curvature,
double &  min_nrm_max_curvature,
double &  max_nrm_max_curvature,
const GeometryTraits &  gt 
)

Calculate the curvature for a mesh.

Parameters
ginput mesh
v_cmoutput vertex curvature map
pmpoint map
f_nmface normal map
isGeodisGeod if true = geodesic neighborhood, if false = 1-ring neighborhood
radiusradius
MinNrmMinCurvatureoutput minimum value of the minimum curvature (usefull for color rendering)
MaxNrmMinCurvatureoutput maximum value of the minimum curvature (usefull for color rendering)
MinNrmMaxCurvatureoutput minimum value of the maximum curvature (usefull for color rendering)
MaxNrmMaxCurvatureoutput maximum value of the maximum curvature (usefull for color rendering)
gtthe geometry traits to use
See also
the simplified variant that use the default geometry traits of the mesh.

Definition at line 523 of file curvature_cmdm.hpp.

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

◆ helloworld_filter()

template<typename HalfedgeGraph , typename PointMap , typename VertexColorMap , typename VertexNormalMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void helloworld_filter ( const HalfedgeGraph &  g,
PointMap &  pm,
VertexColorMap &  v_cm,
VertexNormalMap &  v_nm,
const GeometryTraits &  gt 
)

Refer here for a detailed presentation of that filter example, what it does and how to use it.

Definition at line 27 of file helloworld_filter.hpp.

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

◆ texture_image_demo_filter()

template<typename HalfedgeGraph , typename MaterialMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void texture_image_demo_filter ( const HalfedgeGraph &  ,
MaterialMap &  mtl_pm,
const GeometryTraits &   
)

Definition at line 24 of file texture_image_demo_filter.hpp.

Here is the caller graph for this function: