diff --git a/GraphicsView/include/CGAL/GraphicBuffer.h b/GraphicsView/include/CGAL/GraphicBuffer.h index 1a4ca391cac..82ff62e04e5 100644 --- a/GraphicsView/include/CGAL/GraphicBuffer.h +++ b/GraphicsView/include/CGAL/GraphicBuffer.h @@ -13,6 +13,14 @@ #define CGAL_GRAPHIC_BUFFER_H #include +#include + +#include +#include +#include +#include +#include +#include #include #include @@ -24,9 +32,6 @@ #include #include -#include -#include -#include #include // #include @@ -35,10 +40,10 @@ namespace CGAL { // This class is responsible for dealing with available CGAL data structures and // handling buffers. -template class GraphicBuffer { +template +class GraphicBuffer { public: - typedef CGAL::Exact_predicates_inexact_constructions_kernel Local_kernel; typedef Local_kernel::Point_3 Local_point; @@ -141,17 +146,11 @@ public: return m_buffer_for_clipping_plane; } - const CGAL::Bbox_3 &get_bounding_box() const { - return m_bounding_box; - } + const CGAL::Bbox_3 &get_bounding_box() const { return m_bounding_box; } - std::vector& get_array_of_index(int index) { - return arrays[index]; - } + std::vector &get_array_of_index(int index) { return arrays[index]; } - void update_bounding_box(CGAL::Bbox_3& box) { - m_bounding_box += box; - } + void update_bounding_box(CGAL::Bbox_3 &box) { m_bounding_box += box; } void initiate_bounding_box(CGAL::Bbox_3 new_bounding_box) { m_bounding_box = new_bounding_box; @@ -330,7 +329,6 @@ public: add_text(kp, txt.c_str()); } - protected: // The following enum gives the indices of different elements of arrays // vectors.