// Copyright (c) 2011 CNRS and LIRIS' Establishments (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org) // // $URL$ // $Id$ // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial // // Author(s) : Guillaume Damiand // Kumar Snehasish // Mostafa Ashraf // #ifndef VIEWER_H #define VIEWER_H #include "typedefs.h" #include #include class Viewer : public CGAL::Basic_viewer { Q_OBJECT typedef CGAL::Basic_viewer Base; public: Viewer(QWidget* parent); void setScene(Scene* scene_, bool doredraw=true); void keyPressEvent(QKeyEvent *e); virtual QString helpString() const; public Q_SLOTS: void sceneChanged(); private: CGAL::Graphics_scene_options m_gs_options; CGAL::Graphics_scene m_graphic_buffer; Scene* scene; bool m_previous_scene_empty; }; #endif