mirror of https://github.com/CGAL/cgal
Merge pull request #7881 from afabri/Poisson-enable_structural_filtering-GF
Poisson Surface Reconstruction: Enable Structural Filtering
This commit is contained in:
commit
cb4e75773d
|
|
@ -26,6 +26,7 @@
|
|||
#include <CGAL/Delaunay_triangulation_3.h>
|
||||
#include <CGAL/Delaunay_triangulation_cell_base_3.h>
|
||||
#include <CGAL/Triangulation_cell_base_with_info_3.h>
|
||||
#include <CGAL/Triangulation_structural_filtering_traits.h>
|
||||
|
||||
#include <CGAL/algorithm.h>
|
||||
#include <CGAL/bounding_box.h>
|
||||
|
|
@ -148,6 +149,12 @@ struct Reconstruction_triangulation_default_geom_traits_3 : public BaseGt
|
|||
};
|
||||
|
||||
|
||||
template < class BaseGt >
|
||||
struct Triangulation_structural_filtering_traits<Reconstruction_triangulation_default_geom_traits_3<BaseGt> > {
|
||||
typedef typename Triangulation_structural_filtering_traits<BaseGt>::Use_structural_filtering_tag Use_structural_filtering_tag;
|
||||
};
|
||||
|
||||
|
||||
/// \internal
|
||||
/// The Reconstruction_triangulation_3 class
|
||||
/// provides the interface requested by the Poisson_reconstruction_function class:
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#include <CGAL/number_utils_classes.h>
|
||||
#include <CGAL/Cartesian_converter.h>
|
||||
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
|
||||
#include <CGAL/Triangulation_structural_filtering_traits.h>
|
||||
#include <CGAL/constructions/kernel_ftC3.h>
|
||||
|
||||
namespace CGAL {
|
||||
|
|
@ -531,6 +532,13 @@ public:
|
|||
Robust_circumcenter_filtered_traits_3(const Kernel& k = Kernel()) : Kernel(k) { }
|
||||
};
|
||||
|
||||
|
||||
template < class BaseGt >
|
||||
struct Triangulation_structural_filtering_traits<Robust_circumcenter_filtered_traits_3<BaseGt> > {
|
||||
typedef typename Triangulation_structural_filtering_traits<BaseGt>::Use_structural_filtering_tag Use_structural_filtering_tag;
|
||||
};
|
||||
|
||||
|
||||
template<class K_>
|
||||
class Robust_weighted_circumcenter_filtered_traits_3
|
||||
: public Robust_circumcenter_filtered_traits_3<K_>
|
||||
|
|
|
|||
Loading…
Reference in New Issue