From 9a5adb37e7142db1bacc033a3eb753196e5195ed Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Thu, 17 Apr 2025 17:45:34 +0200 Subject: [PATCH] Add file Basic_viewer.h --- Basic_viewer/include/CGAL/Basic_viewer.h | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Basic_viewer/include/CGAL/Basic_viewer.h diff --git a/Basic_viewer/include/CGAL/Basic_viewer.h b/Basic_viewer/include/CGAL/Basic_viewer.h new file mode 100644 index 00000000000..5421efb0a3d --- /dev/null +++ b/Basic_viewer/include/CGAL/Basic_viewer.h @@ -0,0 +1,34 @@ +// Copyright (c) 2018 GeometryFactory Sarl (France). +// All rights reserved. +// +// This file is part of CGAL (www.cgal.org). +// +// $URL$ +// $Id$ +// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial +// +// +// Author(s) : Guillaume Damiand + +#ifndef CGAL_BASIC_VIEWER_H +#define CGAL_BASIC_VIEWER_H + +#include + +#if defined(CGAL_USE_BASIC_VIEWER_QT) +#include +// #elif defined(CGAL_USE_BASIC_VIEWER_GLFW) +// #include +#else +namespace CGAL +{ + inline + void draw_graphics_scene(const Graphics_scene&, + const char* ="CGAL Basic Viewer") + { + std::cerr<<"Impossible to draw, CGAL_USE_BASIC_VIEWER_QT is not defined."<