MEPP2 Project
Functions
distortion_computing.h File Reference
#include "FEVV/Filters/Generic/generic_reader.hpp"
#include "FEVV/Filters/Generic/generic_writer.hpp"
#include "FEVV/Filters/CGAL/Progressive_Compression/Compression/Batch_collapser.h"
#include "FEVV/Filters/CGAL/Progressive_Compression/Geometric_metrics.h"
#include "FEVV/Filters/CGAL/Progressive_Compression/Uniform_quantization.h"
#include "FEVV/Filters/CGAL/Progressive_Compression/Uniform_dequantization.h"
#include "FEVV/Filters/CGAL/Progressive_Compression/Compression/Preprocessing.h"
#include "boost/filesystem.hpp"
#include <iostream>
Include dependency graph for distortion_computing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< fs::path > get_files (fs::path const &root, std::string const &ext)
 
template<typename HalfedgeGraph , typename PointMap >
void compute_distortions (HalfedgeGraph &g, PointMap &pm, fs::path const &root)
 

Function Documentation

◆ compute_distortions()

template<typename HalfedgeGraph , typename PointMap >
void compute_distortions ( HalfedgeGraph &  g,
PointMap &  pm,
fs::path const &  root 
)

Computes the distortion between an unquantized mesh g and a set of quantized meshes (LoDs associated with the original mesh, they will be unquantized).

Parameters
pmoriginal mesh
rootoriginal point map folder containing .obj files which are used to compute distortions between them and g

Definition at line 51 of file distortion_computing.h.

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

◆ get_files()

std::vector< fs::path > get_files ( fs::path const &  root,
std::string const &  ext 
)

Get the files from the root directory that end with the specified ext extension.

Definition at line 30 of file distortion_computing.h.

Here is the caller graph for this function: