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