mirror of https://github.com/CGAL/cgal
Fix some header includes
This commit is contained in:
parent
b800cc0d49
commit
828e47f61e
|
|
@ -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 {
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue