1 /* EXTRAITS DE LA LICENCE 2 Copyright CEA, contributeurs : Damien 3 CALISTE, laboratoire L_Sim, (2016) 4 5 Adresse mèl : 6 BILLARD, non joignable par mèl ; 7 CALISTE, damien P caliste AT cea P fr. 8 9 Ce logiciel est un programme informatique servant à visualiser des 10 structures atomiques dans un rendu pseudo-3D. 11 12 Ce logiciel est régi par la licence CeCILL soumise au droit français et 13 respectant les principes de diffusion des logiciels libres. Vous pouvez 14 utiliser, modifier et/ou redistribuer ce programme sous les conditions 15 de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA 16 sur le site "http://www.cecill.info". 17 18 Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 19 pris connaissance de la licence CeCILL, et que vous en avez accepté les 20 termes (cf. le fichier Documentation/licence.fr.txt fourni avec ce logiciel). 21 */ 22 23 /* LICENCE SUM UP 24 Copyright CEA, contributors : Damien 25 CALISTE, laboratoire L_Sim, (2016) 26 27 E-mail address: 28 BILLARD, not reachable any more ; 29 CALISTE, damien P caliste AT cea P fr. 30 31 This software is a computer program whose purpose is to visualize atomic 32 configurations in 3D. 33 34 This software is governed by the CeCILL license under French law and 35 abiding by the rules of distribution of free software. You can use, 36 modify and/ or redistribute the software under the terms of the CeCILL 37 license as circulated by CEA, CNRS and INRIA at the following URL 38 "http://www.cecill.info". 39 40 The fact that you are presently reading this means that you have had 41 knowledge of the CeCILL license and that you accept its terms. You can 42 find a copy of this licence shipped with this software at Documentation/licence.en.txt. 43 */ 44 45 #ifndef WIRE_RENDERER_H 46 #define WIRE_RENDERER_H 47 48 #include <glib-object.h> 49 50 #include <visu_tools.h> 51 #include "linkRenderer.h" 52 53 /** 54 * VISU_TYPE_PAIR_WIRE_RENDERER: 55 * 56 * return the type of #VisuPairWireRenderer. 57 * 58 * Since: 3.8 59 */ 60 #define VISU_TYPE_PAIR_WIRE_RENDERER (visu_pair_wire_renderer_get_type ()) 61 /** 62 * VISU_PAIR_WIRE_RENDERER: 63 * @obj: a #GObject to cast. 64 * 65 * Cast the given @obj into #VisuPairWireRenderer type. 66 * 67 * Since: 3.8 68 */ 69 #define VISU_PAIR_WIRE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, VISU_TYPE_PAIR_WIRE_RENDERER, VisuPairWireRenderer)) 70 /** 71 * VISU_PAIR_WIRE_RENDERER_CLASS: 72 * @klass: a #GObjectClass to cast. 73 * 74 * Cast the given @klass into #VisuPairWireRendererClass. 75 * 76 * Since: 3.8 77 */ 78 #define VISU_PAIR_WIRE_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST(klass, VISU_TYPE_PAIR_WIRE_RENDERER, VisuPairWireRendererClass)) 79 /** 80 * VISU_IS_PAIR_WIRE_RENDERER: 81 * @obj: a #GObject to test. 82 * 83 * Test if the given @ogj is of the type of #VisuPairWireRenderer object. 84 * 85 * Since: 3.8 86 */ 87 #define VISU_IS_PAIR_WIRE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, VISU_TYPE_PAIR_WIRE_RENDERER)) 88 /** 89 * VISU_IS_PAIR_WIRE_RENDERER_CLASS: 90 * @klass: a #GObjectClass to test. 91 * 92 * Test if the given @klass is of the type of #VisuPairWireRendererClass class. 93 * 94 * Since: 3.8 95 */ 96 #define VISU_IS_PAIR_WIRE_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE(klass, VISU_TYPE_PAIR_WIRE_RENDERER)) 97 /** 98 * VISU_PAIR_WIRE_RENDERER_GET_CLASS: 99 * @obj: a #GObject to get the class of. 100 * 101 * It returns the class of the given @obj. 102 * 103 * Since: 3.8 104 */ 105 #define VISU_PAIR_WIRE_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, VISU_TYPE_PAIR_WIRE_RENDERER, VisuPairWireRendererClass)) 106 107 typedef struct _VisuPairWireRenderer VisuPairWireRenderer; 108 typedef struct _VisuPairWireRendererPrivate VisuPairWireRendererPrivate; 109 typedef struct _VisuPairWireRendererClass VisuPairWireRendererClass; 110 111 /** 112 * VisuPairWireRenderer: 113 * 114 * An opaque structure. 115 */ 116 struct _VisuPairWireRenderer 117 { 118 VisuPairLinkRenderer parent; 119 }; 120 121 /** 122 * VisuPairWireRendererClass: 123 * @parent: the parent class; 124 * 125 * A short way to identify #_VisuPairWireRendererClass structure. 126 */ 127 struct _VisuPairWireRendererClass 128 { 129 VisuPairLinkRendererClass parent; 130 }; 131 132 /** 133 * visu_pair_wire_renderer_get_type: 134 * 135 * This method returns the type of #VisuPairWireRenderer, use 136 * VISU_TYPE_PAIR_WIRE_RENDERER instead. 137 * 138 * Since: 3.8 139 * 140 * Returns: the type of #VisuPairWireRenderer. 141 */ 142 GType visu_pair_wire_renderer_get_type(void); 143 144 VisuPairWireRenderer* visu_pair_wire_renderer_new(); 145 146 #endif 147