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 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /externals/g4tools/include/tools/sg/strings (Version 11.3.0) and /externals/g4tools/include/tools/sg/strings (Version 9.3.p1)


  1 // Copyright (C) 2010, Guy Barrand. All rights    
  2 // See the file tools.license for terms.          
  3                                                   
  4 #ifndef tools_sg_strings                          
  5 #define tools_sg_strings                          
  6                                                   
  7 #include <string>                                 
  8                                                   
  9 namespace tools {                                 
 10 namespace sg {                                    
 11                                                   
 12 //////////////////////////////////////////////    
 13 //////////////////////////////////////////////    
 14 //////////////////////////////////////////////    
 15 inline const std::string& tick_modeling_none()    
 16   static const std::string s_v("none");           
 17   return s_v;                                     
 18 }                                                 
 19 inline const std::string& tick_modeling_hippo(    
 20   static const std::string s_v("hippo");          
 21   return s_v;                                     
 22 }                                                 
 23 inline const std::string& tick_modeling_hplot(    
 24   static const std::string s_v("hplot");          
 25   return s_v;                                     
 26 }                                                 
 27                                                   
 28 //////////////////////////////////////////////    
 29 //////////////////////////////////////////////    
 30 //////////////////////////////////////////////    
 31 inline const std::string& infos_modeling_ROOT(    
 32   static const std::string s_v("ROOT");           
 33   return s_v;                                     
 34 }                                                 
 35 //////////////////////////////////////////////    
 36 //////////////////////////////////////////////    
 37 //////////////////////////////////////////////    
 38 inline const std::string& encoding_none() {       
 39   static const std::string s_v("none");           
 40   return s_v;                                     
 41 }                                                 
 42 inline const std::string& encoding_PAW() {        
 43   static const std::string s_v("PAW");            
 44   return s_v;                                     
 45 }                                                 
 46                                                   
 47 //////////////////////////////////////////////    
 48 //////////////////////////////////////////////    
 49 //////////////////////////////////////////////    
 50                                                   
 51 inline const std::string& s_font_outline() {st    
 52 inline const std::string& s_font_filled()  {st    
 53 inline const std::string& s_font_pixmap()  {st    
 54                                                   
 55 inline const std::string& s_anim_mode_0()  {st    
 56 inline const std::string& s_anim_mode_1()  {st    
 57 inline const std::string& s_anim_mode_2()  {st    
 58 inline const std::string& s_anim_mode_3()  {st    
 59 inline const std::string& s_anim_mode_4()  {st    
 60                                                   
 61 //////////////////////////////////////////////    
 62 //////////////////////////////////////////////    
 63 //////////////////////////////////////////////    
 64 inline const std::string& modeling_boxes() {      
 65   static const std::string s_v("boxes");          
 66   return s_v;                                     
 67 }                                                 
 68                                                   
 69 inline const std::string& modeling_wire_boxes(    
 70   static const std::string s_v("wire_boxes");     
 71   return s_v;                                     
 72 }                                                 
 73 inline const std::string& modeling_lines() {      
 74   static const std::string s_v("lines");          
 75   return s_v;                                     
 76 }                                                 
 77 inline const std::string& modeling_segments()     
 78   static const std::string s_v("segments");       
 79   return s_v;                                     
 80 }                                                 
 81 inline const std::string& modeling_points() {     
 82   static const std::string s_v("points");         
 83   return s_v;                                     
 84 }                                                 
 85 inline const std::string& modeling_top_lines()    
 86   static const std::string s_v("top_lines");      
 87   return s_v;                                     
 88 }                                                 
 89 inline const std::string& modeling_top_lines_b    
 90   static const std::string s_v("top_lines_boxe    
 91   return s_v;                                     
 92 }                                                 
 93 inline const std::string& modeling_texts() {      
 94   static const std::string s_v("texts");          
 95   return s_v;                                     
 96 }                                                 
 97 inline const std::string& modeling_curve() {      
 98   static const std::string s_v("curve");          
 99   return s_v;                                     
100 }                                                 
101 inline const std::string& modeling_filled_curv    
102   static const std::string s_v("filled_curve")    
103   return s_v;                                     
104 }                                                 
105 inline const std::string& modeling_bar_chart()    
106   static const std::string s_v("bar_chart");      
107   return s_v;                                     
108 }                                                 
109 inline const std::string& modeling_solid() {      
110   static const std::string s_v("solid");          
111   return s_v;                                     
112 }                                                 
113 inline const std::string& modeling_wire_frame(    
114   static const std::string s_v("wire_frame");     
115   return s_v;                                     
116 }                                                 
117 inline const std::string& modeling_reduced_wir    
118   static const std::string s_v("reduced_wire_f    
119   return s_v;                                     
120 }                                                 
121 inline const std::string& modeling_polygon() {    
122   static const std::string s_v("polygon");        
123   return s_v;                                     
124 }                                                 
125 inline const std::string& modeling_none() {       
126   static const std::string s_v("none");           
127   return s_v;                                     
128 }                                                 
129 inline const std::string& modeling_I() {          
130   static const std::string s_v("I");              
131   return s_v;                                     
132 }                                                 
133 inline const std::string& modeling_plus() {       
134   static const std::string s_v("plus");           
135   return s_v;                                     
136 }                                                 
137 inline const std::string& modeling_markers() {    
138   static const std::string s_v("markers");        
139   return s_v;                                     
140 }                                                 
141                                                   
142 //////////////////////////////////////////////    
143 /// EsbRootView : ////////////////////////////    
144 //////////////////////////////////////////////    
145                                                   
146 inline const std::string& modeling_arrow() {      
147   static const std::string s_v("arrow");          
148   return s_v;                                     
149 }                                                 
150 inline const std::string& modeling_cube() {       
151   static const std::string s_v("cube");           
152   return s_v;                                     
153 }                                                 
154 inline const std::string& modeling_cone() { //    
155   static const std::string s_v("cone");           
156   return s_v;                                     
157 }                                                 
158 inline const std::string& modeling_cone_detect    
159   static const std::string s_v("cone_detector"    
160   return s_v;                                     
161 }                                                 
162 inline const std::string& modeling_detector()     
163   static const std::string s_v("detector");       
164   return s_v;                                     
165 }                                                 
166 inline const std::string& modeling_firework()     
167   static const std::string s_v("firework");       
168   return s_v;                                     
169 }                                                 
170                                                   
171 //////////////////////////////////////////////    
172 //////////////////////////////////////////////    
173 //////////////////////////////////////////////    
174 inline const std::string& light_model_base_col    
175   static const std::string s_v("base_color");     
176   return s_v;                                     
177 }                                                 
178 inline const std::string& light_model_phong()     
179   static const std::string s_v("phong");          
180   return s_v;                                     
181 }                                                 
182                                                   
183 //////////////////////////////////////////////    
184 //////////////////////////////////////////////    
185 //////////////////////////////////////////////    
186 inline const std::string& font_hershey() {stat    
187                                                   
188 #define TOOLS_FONT_TTF(a__name) \                 
189 inline const std::string& font_##a__name##_ttf    
190   static const std::string s_v(std::string(#a_    
191   return s_v;\                                    
192 }                                                 
193                                                   
194 TOOLS_FONT_TTF(arial)                             
195 TOOLS_FONT_TTF(arialbd)                           
196 TOOLS_FONT_TTF(timesbd)                           
197 TOOLS_FONT_TTF(symbol)                            
198 TOOLS_FONT_TTF(helvetica)                         
199 TOOLS_FONT_TTF(helveticabd)                       
200 TOOLS_FONT_TTF(times_roman)                       
201 TOOLS_FONT_TTF(cour)                              
202 TOOLS_FONT_TTF(courbd)                            
203 TOOLS_FONT_TTF(couri)                             
204 TOOLS_FONT_TTF(courbi)                            
205 TOOLS_FONT_TTF(lucidagrandebd)                    
206                                                   
207 TOOLS_FONT_TTF(roboto_bold)    //free replacem    
208 TOOLS_FONT_TTF(lato_regular)   //free replacem    
209 TOOLS_FONT_TTF(lato_bold)      //free replacem    
210                                                   
211 #undef TOOLS_FONT_TTF                             
212                                                   
213 inline const std::string& font_stixgeneral_otf    
214 inline const std::string& font_STIX2Text_Regul    
215                                                   
216 //////////////////////////////////////////////    
217 //////////////////////////////////////////////    
218 //////////////////////////////////////////////    
219 // From TAttText.cxx :                            
220 //*-*      1 : times-medium-i-normal      "Tim    
221 //*-*      2 : times-bold-r-normal        "Tim    
222 //*-*      3 : times-bold-i-normal        "Tim    
223 //*-*      4 : helvetica-medium-r-normal  "Ari    
224 //*-*      5 : helvetica-medium-o-normal  "Ari    
225 //*-*      6 : helvetica-bold-r-normal    "Ari    
226 //*-*      7 : helvetica-bold-o-normal    "Ari    
227 //*-*      8 : courier-medium-r-normal    "Cou    
228 //*-*      9 : courier-medium-o-normal    "Cou    
229 //*-*     10 : courier-bold-r-normal      "Cou    
230 //*-*     11 : courier-bold-o-normal      "Cou    
231 //*-*     12 : symbol-medium-r-normal     "Sym    
232 //*-*     13 : times-medium-r-normal      "Tim    
233 //*-*     14 :                            "Win    
234                                                   
235 inline const std::string& font_ROOT_12() {stat    
236 inline const std::string& font_ROOT_22() {stat    
237 inline const std::string& font_ROOT_32() {stat    
238 inline const std::string& font_ROOT_42() {stat    
239 inline const std::string& font_ROOT_52() {stat    
240 inline const std::string& font_ROOT_62() {stat    
241 inline const std::string& font_ROOT_72() {stat    
242 inline const std::string& font_ROOT_82() {stat    
243 inline const std::string& font_ROOT_92() {stat    
244 inline const std::string& font_ROOT_102() {sta    
245 inline const std::string& font_ROOT_112() {sta    
246 inline const std::string& font_ROOT_122() {sta    
247 inline const std::string& font_ROOT_132() {sta    
248 inline const std::string& font_ROOT_142() {sta    
249                                                   
250 }}                                                
251                                                   
252 //////////////////////////////////////////////    
253 //////////////////////////////////////////////    
254 //////////////////////////////////////////////    
255                                                   
256 #include "../S_STRING"                            
257                                                   
258 namespace tools {                                 
259 namespace sg {                                    
260 TOOLS_GLOBAL_STRING(node_end) //for write_bsg,    
261 //TOOLS_GLOBAL_STRING(clear_scene)                
262 //TOOLS_GLOBAL_STRING(no_hide_menu)               
263 //TOOLS_GLOBAL_STRING(back_color)                 
264 //TOOLS_GLOBAL_STRING(adapt_camera)               
265 //TOOLS_GLOBAL_STRING(adapt_camera_sg_was_empt    
266 TOOLS_GLOBAL_STRING(delete)                       
267 TOOLS_GLOBAL_STRING(movable)                      
268                                                   
269 TOOLS_GLOBAL_STRING(1D)                           
270 TOOLS_GLOBAL_STRING(2D)                           
271 TOOLS_GLOBAL_STRING(3D)                           
272                                                   
273 //TOOLS_GLOBAL_STRING(whole)                      
274 TOOLS_GLOBAL_STRING(col)                          
275 TOOLS_GLOBAL_STRING(row)                          
276                                                   
277 TOOLS_GLOBAL_STRING_VALUE(white_jpg,white.jpg)    
278                                                   
279 // for <scenario> EsbRootView.scenarios           
280 TOOLS_GLOBAL_STRING(rotation)                     
281 TOOLS_GLOBAL_STRING(translation)                  
282                                                   
283 //slides :                                        
284 TOOLS_GLOBAL_STRING(pos_x_wcam)                   
285 TOOLS_GLOBAL_STRING(pos_y_hcam)                   
286 TOOLS_GLOBAL_STRING(scale)                        
287 TOOLS_GLOBAL_STRING(rad_per_sec)                  
288 //TOOLS_GLOBAL_STRING(kind)                       
289 TOOLS_GLOBAL_STRING(axis)                         
290 TOOLS_GLOBAL_STRING(time_interval)                
291 TOOLS_GLOBAL_STRING(pos_col)                      
292 TOOLS_GLOBAL_STRING(pos_row)                      
293 TOOLS_GLOBAL_STRING(repeat)                       
294 TOOLS_GLOBAL_STRING(class)                        
295 TOOLS_GLOBAL_STRING(camera_height)                
296                                                   
297 TOOLS_GLOBAL_STRING(none)                         
298                                                   
299 TOOLS_GLOBAL_STRING(placement)                    
300 // send sg options :                              
301 TOOLS_GLOBAL_STRING_VALUE(send_placement,place    
302 TOOLS_GLOBAL_STRING_VALUE(placement_static,sta    
303 TOOLS_GLOBAL_STRING_VALUE(placement_dynamic,dy    
304 TOOLS_GLOBAL_STRING_VALUE(placement_static_ble    
305 TOOLS_GLOBAL_STRING_VALUE(placement_screen,scr    
306 TOOLS_GLOBAL_STRING_VALUE(send_radius,radius)     
307 TOOLS_GLOBAL_STRING_VALUE(send_scale,scale)       
308 TOOLS_GLOBAL_STRING_VALUE(send_clear,clear)       
309 //TOOLS_GLOBAL_STRING_VALUE(send_height,height    
310                                                   
311 TOOLS_GLOBAL_STRING_VALUE(protocol_start,start    
312 TOOLS_GLOBAL_STRING_VALUE(protocol_disconnect,    
313 TOOLS_GLOBAL_STRING_VALUE(protocol_zdoc,zdoc)     
314 TOOLS_GLOBAL_STRING_VALUE(protocol_get_wall_pa    
315                                                   
316 TOOLS_GLOBAL_STRING_VALUE(protocol_arg_sep,;)     
317                                                   
318 TOOLS_GLOBAL_STRING_VALUE(protocol_rwc,rwc)       
319 TOOLS_GLOBAL_STRING_VALUE(protocol_set_params,    
320 TOOLS_GLOBAL_STRING_VALUE(protocol_set_camera,    
321 TOOLS_GLOBAL_STRING_VALUE(protocol_clear_stati    
322 TOOLS_GLOBAL_STRING_VALUE(protocol_clear_dynam    
323 TOOLS_GLOBAL_STRING_VALUE(protocol_clear_scree    
324                                                   
325 TOOLS_GLOBAL_STRING(protocol_view_all)            
326 TOOLS_GLOBAL_STRING(protocol_set_background_bl    
327 TOOLS_GLOBAL_STRING(protocol_set_background_wh    
328 TOOLS_GLOBAL_STRING(protocol_disable_anim)        
329 TOOLS_GLOBAL_STRING(protocol_reset_camera)        
330                                                   
331 /* if adding protocols, think to declare corre    
332 protocol_set_plane_viewer(bool)                   
333 protocol_set_scene_light_on(bool)                 
334 protocol_hide_main_menu                           
335 protocol_hide_meta_zone                           
336 protocol_show_camera_menu                         
337 */                                                
338                                                   
339 TOOLS_GLOBAL_STRING_VALUE(dir_diaporama,diapor    
340                                                   
341 // sg_serv params :                               
342 TOOLS_GLOBAL_STRING_VALUE(sg_serv_ww,ww)          
343 TOOLS_GLOBAL_STRING_VALUE(sg_serv_wh,wh)          
344 TOOLS_GLOBAL_STRING_VALUE(sg_serv_bw,bw)          
345 TOOLS_GLOBAL_STRING_VALUE(sg_serv_bh,bh)          
346 TOOLS_GLOBAL_STRING_VALUE(sg_serv_cols,cols)      
347 TOOLS_GLOBAL_STRING_VALUE(sg_serv_rows,rows)      
348                                                   
349                                                   
350 // view_evd insh commands :                       
351 TOOLS_GLOBAL_STRING_VALUE(insh_clear_static_sc    
352 TOOLS_GLOBAL_STRING_VALUE(insh_clear_dynamic_s    
353 TOOLS_GLOBAL_STRING_VALUE(insh_clear_screen_sc    
354                                                   
355 }}                                                
356                                                   
357 #endif                                            
358                                                   
359