Fix some header includes

This commit is contained in:
Mael Rouxel-Labbé 2020-01-17 17:55:53 +01:00
parent b800cc0d49
commit 828e47f61e
33 changed files with 94 additions and 88 deletions

View File

@ -26,14 +26,14 @@
#include <CGAL/boost/graph/Named_function_parameters.h>
#include <CGAL/boost/graph/properties.h>
#include <CGAL/Kernel_traits.h>
#ifdef CGAL_USE_VTK
#include <CGAL/IO/VTK/vtk_internals.h>
#include <CGAL/IO/VTK.h>
#endif
#include <CGAL/IO/write_vtk.h>
#include <CGAL/internal/Generic_facegraph_builder.h>
#include <CGAL/IO/STL/STL_reader.h>
#include <CGAL/IO/OBJ/OBJ_reader.h>
#include <CGAL/IO/OBJ/File_writer_wavefront.h>
#include <CGAL/IO/STL.h>
#include <CGAL/IO/OBJ.h>
namespace CGAL {
/*!

View File

@ -12,9 +12,7 @@
#ifndef CGAL_LINEAR_CELL_COMPLEX_CONSTRUCTORS_H
#define CGAL_LINEAR_CELL_COMPLEX_CONSTRUCTORS_H 1
#include <CGAL/IO/File_header_OFF.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Linear_cell_complex_incremental_builder.h>
#include <iostream>

View File

@ -3,7 +3,7 @@
#include <CGAL/boost/graph/iterator.h>
#include <CGAL/Polygon_mesh_processing/repair.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/IO/OFF_reader.h>
#include <CGAL/IO/OFF.h>
#include <fstream>

View File

@ -7,7 +7,7 @@
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/Polygon_mesh_processing/orientation.h>
#include <CGAL/IO/OFF_reader.h>
#include <CGAL/IO/OFF.h>
#include <vector>
#include <fstream>

View File

@ -41,7 +41,7 @@
#ifdef CGAL_PMP_REMOVE_DEGENERATE_FACES_DEBUG
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/IO/OFF_reader.h>
#include <CGAL/IO/OFF.h>
#endif
#include <boost/algorithm/minmax_element.hpp>

View File

@ -4,10 +4,10 @@
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/algorithm.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Polygon_mesh_processing/orient_polygon_soup.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/algorithm.h>
#include <CGAL/Timer.h>
#include <fstream>

View File

@ -4,7 +4,7 @@
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/Polygon_mesh_processing/orient_polygon_soup.h>
#include <CGAL/IO/OFF_reader.h>
#include <CGAL/IO/OFF.h>
#include <string>
#include <fstream>

View File

@ -11,7 +11,7 @@
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/property_map.h>
#include <CGAL/IO/STL_reader.h>
#include <CGAL/IO/STL.h>
#include <array>
#include <iostream>

View File

@ -1,22 +1,25 @@
#include "Scene_surface_mesh_item.h"
#include "Scene_polygon_soup_item.h"
#include "Scene_points_with_normal_item.h"
#include <CGAL/Three/Three.h>
#include <CGAL/Polygon_mesh_processing/repair.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/Three/Polyhedron_demo_io_plugin_interface.h>
#include <CGAL/Three/Three.h>
#include <fstream>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/OBJ_reader.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/IO/OBJ.h>
#include <CGAL/Polygon_mesh_processing/repair.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <QMessageBox>
#include <QApplication>
#include <iostream>
#include <fstream>
#include <limits>
using namespace CGAL::Three;
class Polyhedron_demo_off_plugin :
public QObject,
public Polyhedron_demo_io_plugin_interface

View File

@ -3,17 +3,24 @@
#include "Scene_textured_surface_mesh_item.h"
#include "Scene_points_with_normal_item.h"
#include <CGAL/IO/PLY.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/Three/Polyhedron_demo_io_plugin_interface.h>
#include <CGAL/Three/Three.h>
#include <QInputDialog>
#include <QApplication>
#include <fstream>
#include <CGAL/IO/PLY_reader.h>
#include <CGAL/IO/PLY_writer.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <QMessageBox>
#include <fstream>
#include <iostream>
#include <limits>
#include <sstream>
#include <string>
#include <vector>
using namespace CGAL::Three;
class Polyhedron_demo_ply_plugin :
public QObject,
public CGAL::Three::Polyhedron_demo_io_plugin_interface

View File

@ -8,7 +8,7 @@
#include <CGAL/Three/Three.h>
#include <fstream>
#include <CGAL/IO/STL_reader.h>
#include <CGAL/IO/STL.h>
#include <CGAL/boost/graph/io.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>

View File

@ -1,40 +1,32 @@
#include <vector>
#include <queue>
#define CGAL_PMP_REPAIR_POLYGON_SOUP_VERBOSE 1
#include "Scene_polygon_soup_item.h"
#include "Scene_surface_mesh_item.h"
#include <CGAL/Three/Viewer_interface.h>
#include <CGAL/Three/Triangle_container.h>
#include <CGAL/Three/Edge_container.h>
#include <CGAL/Three/Point_container.h>
#include <CGAL/Three/Three.h>
#include <QObject>
#include <QApplication>
#include <QtDebug>
#include "triangulate_primitive.h"
#include <set>
#include <stack>
#include <algorithm>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/OFF_reader.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/version.h>
#include <CGAL/array.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include <CGAL/Polygon_mesh_processing/orient_polygon_soup.h>
#include <CGAL/Polygon_mesh_processing/orientation.h>
#include <CGAL/Polygon_mesh_processing/repair.h>
#define CGAL_PMP_REPAIR_POLYGON_SOUP_VERBOSE 1
#include <CGAL/Polygon_mesh_processing/repair_polygon_soup.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/version.h>
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
#include "triangulate_primitive.h"
#include <CGAL/array.h>
#include <QObject>
#include <QApplication>
#include <QtDebug>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
@ -43,8 +35,13 @@
#include <boost/accumulators/statistics/max.hpp>
#include <boost/accumulators/statistics/median.hpp>
#include <algorithm>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <streambuf>
#include <vector>
using namespace CGAL::Three;
typedef Viewer_interface Vi;

View File

@ -33,9 +33,7 @@
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h>
#include "triangulate_primitive.h"
#include <CGAL/IO/File_writer_wavefront.h>
#include <CGAL/IO/generic_copy_OFF.h>
#include <CGAL/IO/OBJ_reader.h>
#include <CGAL/IO/OBJ.h>
#include <CGAL/Polygon_mesh_processing/measure.h>
#include <CGAL/statistics_helpers.h>

View File

@ -15,7 +15,7 @@
#include <CGAL/Modifier_base.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/IO/STL_reader.h>
#include <CGAL/IO/STL.h>
#include <iostream>

View File

@ -18,11 +18,11 @@
#include <CGAL/disable_warnings.h>
#include <CGAL/basic.h>
#include <CGAL/IO/OFF/File_header_OFF.h>
#include <CGAL/IO/OFF/File_scanner_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Modifier_base.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Polyhedron_3.h>
#include <iostream>
#include <cstddef>

View File

@ -15,12 +15,11 @@
#include <CGAL/license/Polyhedron.h>
#include <CGAL/basic.h>
#include <CGAL/IO/OFF/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/IO/generic_print_polyhedron.h>
#include <CGAL/Polyhedron_3.h>
#include <iostream>
#include <fstream>
namespace CGAL {

View File

@ -1,8 +1,9 @@
// Copies a file in OFF format.
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/IO/generic_copy_OFF.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>

View File

@ -2,7 +2,8 @@
#include <CGAL/Bbox_3.h>
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/OFF.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>
@ -10,7 +11,6 @@
#include <fstream>
#include <cfloat>
using namespace std;
bool verbose = false;

View File

@ -1,9 +1,10 @@
// Glue vertices of a polyhedron together that have equal coordinate values.
#include <CGAL/Simple_cartesian.h>
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>

View File

@ -1,9 +1,10 @@
// Applies translation and scaling to an OFF object.
#include <CGAL/Simple_cartesian.h>
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>

View File

@ -11,9 +11,10 @@
#ifndef CGAL_IO_OFF_H
#define CGAL_IO_OFF_H
#include <CGAL/IO/OFF/OFF_reader.h>
#include <CGAL/IO/OFF/File_scanner_OFF.h>
#include <CGAL/IO/reader_helpers.h>
#include <CGAL/IO/OFF/OFF_reader.h>
#include <CGAL/IO/OFF/OFF_writer.h>
#include <CGAL/IO/OFF/File_scanner_OFF.h>
#include <CGAL/IO/OFF/File_writer_OFF.h>
#include <vector>

View File

@ -15,14 +15,16 @@
#include <CGAL/IO/OFF/File_scanner_OFF.h>
#include <CGAL/IO/reader_helpers.h>
#include <vector>
#include <iostream>
#include <CGAL/array.h>
#include <CGAL/assertions.h>
#include <CGAL/use.h>
#include <vector>
#include <iostream>
namespace CGAL {
namespace OFF_internal {
template <class Point_3, class Polygon_3>
bool
read_OFF( std::istream& in,

View File

@ -16,8 +16,8 @@
#ifndef CGAL_HEADER_ONLY
#include <CGAL/IO/File_header_OFF.h>
#include <CGAL/IO/File_header_OFF_impl.h>
#include <CGAL/IO/OFF/File_header_OFF.h>
#include <CGAL/IO/OFF/File_header_OFF_impl.h>
#endif // CGAL_HEADER_ONLY

View File

@ -16,8 +16,8 @@
#ifndef CGAL_HEADER_ONLY
#include <CGAL/IO/File_header_extended_OFF.h>
#include <CGAL/IO/File_header_extended_OFF_impl.h>
#include <CGAL/IO/OFF/File_header_extended_OFF.h>
#include <CGAL/IO/OFF/File_header_extended_OFF_impl.h>
#endif // CGAL_HEADER_ONLY

View File

@ -16,8 +16,8 @@
#ifndef CGAL_HEADER_ONLY
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_scanner_OFF_impl.h>
#include <CGAL/IO/OFF/File_scanner_OFF.h>
#include <CGAL/IO/OFF/File_scanner_OFF_impl.h>
#endif // CGAL_HEADER_ONLY

View File

@ -16,8 +16,8 @@
#ifndef CGAL_HEADER_ONLY
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/File_writer_OFF_impl.h>
#include <CGAL/IO/OFF/File_writer_OFF.h>
#include <CGAL/IO/OFF/File_writer_OFF_impl.h>
#endif // CGAL_HEADER_ONLY

View File

@ -1,7 +1,7 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/array.h>
#include <CGAL/IO/STL_reader.h>
#include <CGAL/IO/STL.h>
#include <cassert>
#include <fstream>

View File

@ -1,7 +1,7 @@
#include <CGAL/IO/STL/STL_reader.h>
#include <CGAL/IO/STL/STL_writer.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/STL.h>
#include <iostream>
#include <fstream>
#include <vector>

View File

@ -42,7 +42,7 @@
#include <CGAL/boost/graph/copy_face_graph.h>
#include <CGAL/boost/graph/iterator.h>
#include <CGAL/boost/graph/Euler_operations.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Surface_mesh/IO/PLY.h>
#include <CGAL/Handle_hash_function.h>
#include <CGAL/boost/graph/named_params_helper.h>

View File

@ -19,7 +19,7 @@
#define CGAL_C2T3_USE_FILE_WRITER_OFF
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>

View File

@ -37,8 +37,7 @@
#include <CGAL/Triangulation_ds_iterators_2.h>
#include <CGAL/Triangulation_ds_circulators_2.h>
#include <CGAL/IO/File_header_OFF.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/OFF.h>
namespace CGAL {

View File

@ -2,12 +2,13 @@
// (Terrain triangulation)
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/Projection_traits_xy_3.h>
#include <CGAL/Triangulation_2.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>

View File

@ -4,9 +4,7 @@
#include <iostream>
#include <fstream>
#include <CGAL/IO/File_scanner_OFF.h>
#include <CGAL/IO/File_header_OFF.h>
#include <CGAL/IO/File_writer_OFF.h>
#include <CGAL/IO/OFF.h>
#include <CGAL/IO/read_off_points.h>
#include <CGAL/IO/write_off_points.h>
#include <CGAL/IO/read_xyz_points.h>