13 vector <G4SceneText> st;
15 auto g4t_node = gopts->getOptionNode(
"g4text");
17 for (
auto g4t_item: g4t_node) {
20 st_item.
text = gopts->get_variable_in_option<
string>(g4t_item,
"text", goptions::NODFLT);
21 st_item.color = gopts->get_variable_in_option<
string>(g4t_item,
"color",
"black");
22 st_item.x = gopts->get_variable_in_option<
double>(g4t_item,
"x", 0);
23 st_item.y = gopts->get_variable_in_option<
double>(g4t_item,
"y", 0);
25 st_item.size = gopts->get_variable_in_option<
double>(g4t_item,
"size", 24.0);
26 st.push_back(st_item);