GEOM
Computer Graphics Structures library
Remapping.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef GEOM_REMAPPING_H
7 #define GEOM_REMAPPING_H
8 
9 #include <iostream>
10 #include <vector>
11 #include <map>
12 
13 #include <glm/glm.hpp>
14 #include <Eigen/Dense>
15 //#include <Utils/Meshes.h>
16 #include <Utils/ExtGLM.h>
17 
18 #include <GEOM/API.h>
19 #include <GEOM/Geometry.h>
20 
21 namespace geom
22 {
23 
24  /*typedef std::vector<float>(*WeightFunc)(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
25 
26  namespace weightFunc
27  {
28  GEOM_API std::vector<float> DefaultBarycentric(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
29  GEOM_API std::vector<float> CorrectedBarycentric(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
30  GEOM_API std::vector<float> CorrectedBarycentric2(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
31  GEOM_API std::vector<float> CorrectedBarycentric3(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
32  GEOM_API std::vector<float> MeanValue(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
33  GEOM_API std::vector<float> DiscreteLaplacian(const meshes::IndexedFace &region, const unsigned &vertex_index, const std::vector<unsigned> &neighbours);
34  }
35 
36  GEOM_API bool RefineRegionUVs(meshes::IndexedFace &region, WeightFunc weight_function);
37 
38  GEOM_API void RefineRegionUVsHolidayBarycentric(meshes::IndexedFace &region, const float &max_tolerated_error);*/
39 }
40 
41 #endif /* !GEOM_REMAPPING_H */
Definition: Constructors.h:9