MEPP2 Project
Typedefs | Functions
msdm2 Namespace Reference

Typedefs

using CGALKernel = CGAL::Cartesian< double >
 
using CGALPoint = CGALKernel::Point_3
 
using MeshT = CGAL::Surface_mesh< CGALPoint >
 
using vertex_descriptor = boost::graph_traits< MeshT >::vertex_descriptor
 
using VertexIndexMapT = boost::property_map< MeshT, boost::vertex_index_t >::const_type
 
using Msdm2MapT = boost::vector_property_map< double, VertexIndexMapT >
 

Functions

void msdm2_surfacemesh (const MeshT &mesh_degraded, const MeshT &mesh_original, const int nb_levels, double &msdm2_value, Msdm2MapT &msdm2_pmap)
 Computes the multiscale MSDM2 metric. More...
 

Typedef Documentation

◆ CGALKernel

using msdm2::CGALKernel = typedef CGAL::Cartesian< double >

Definition at line 29 of file msdm2_surfacemesh.h.

◆ CGALPoint

using msdm2::CGALPoint = typedef CGALKernel::Point_3

Definition at line 30 of file msdm2_surfacemesh.h.

◆ MeshT

using msdm2::MeshT = typedef CGAL::Surface_mesh< CGALPoint >

Definition at line 32 of file msdm2_surfacemesh.h.

◆ Msdm2MapT

using msdm2::Msdm2MapT = typedef boost::vector_property_map< double, VertexIndexMapT >

Definition at line 37 of file msdm2_surfacemesh.h.

◆ vertex_descriptor

using msdm2::vertex_descriptor = typedef boost::graph_traits< MeshT >::vertex_descriptor

Definition at line 33 of file msdm2_surfacemesh.h.

◆ VertexIndexMapT

using msdm2::VertexIndexMapT = typedef boost::property_map< MeshT, boost::vertex_index_t >::const_type

Definition at line 35 of file msdm2_surfacemesh.h.

Function Documentation

◆ msdm2_surfacemesh()

WINDLL_EXPORT void msdm2::msdm2_surfacemesh ( const MeshT mesh_degraded,
const MeshT mesh_original,
const int  nb_levels,
double &  msdm2_value,
Msdm2MapT msdm2_pmap 
)

Computes the multiscale MSDM2 metric.

SDM2 Filter library entry point

Parameters
mesh_degradedthe 1st mesh
meshoriginal the 2nd mesh
nb_levelsnumber of scales used
msdm2_value[output] the computed value of the MSDM2 metric
msdm2_map[output] the MSDM2 vertex map

Definition at line 25 of file msdm2_surfacemesh.cpp.

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