upgrading copyright year from 2015 to 2016
[hkl.git] / gui / hkl-gui-3d.h
blob780882e6d397a0b402d20768361a19ce8071e987
1 /* This file is part of the hkl library.
3 * The hkl library is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
8 * The hkl library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with the hkl library. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright (C) 2003-2016 Synchrotron SOLEIL
17 * L'Orme des Merisiers Saint-Aubin
18 * BP 48 91192 GIF-sur-YVETTE CEDEX
20 * Authors: Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
22 #ifndef __HKL_GUI_3D_H__
23 #define __HKL_GUI_3D_H__
25 #include <gtk/gtk.h>
27 G_BEGIN_DECLS
29 /* HklGui3D */
31 #define HKL_GUI_TYPE_3D (hkl_gui_3d_get_type ())
32 #define HKL_GUI_3D(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HKL_GUI_TYPE_3D, HklGui3D))
33 #define HKL_GUI_3D_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HKL_GUI_TYPE_3D, HklGui3DClass))
34 #define HKL_GUI_IS_3D(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HKL_GUI_TYPE_3D))
35 #define HKL_GUI_IS_3D_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HKL_GUI_TYPE_3D))
36 #define HKL_GUI_3D_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HKL_GUI_TYPE_3D, HklGuiEngineClass))
38 typedef struct _HklGui3D HklGui3D;
39 typedef struct _HklGui3DClass HklGui3DClass;
40 typedef struct _HklGui3DPrivate HklGui3DPrivate;
42 GType hkl_gui_3d_get_type (void) G_GNUC_CONST;
44 HklGui3D *hkl_gui_3d_new (const char *filename, HklGeometry *geometry);
46 void hkl_gui_3d_is_colliding(HklGui3D *self);
48 void hkl_gui_3d_invalidate(HklGui3D *self);
50 GtkFrame *hkl_gui_3d_frame_get(HklGui3D *self);
52 #endif // __HKL_GUI_3D_H__