17namespace layer1_foundations {
156 int argc, std::string *argv,
159 int f_v = (verbose_level >= 1);
164 cout <<
"video_draw_options::read_arguments" << endl;
166 for (i = 0; i < argc; i++) {
168 verbose_level = ST.
strtoi(argv[++i]);
170 cout <<
"-v " << verbose_level << endl;
173 else if (ST.
stringcmp(argv[i],
"-do_not_rotate") == 0) {
176 cout <<
"video_draw_options::read_arguments -do_not_rotate " << endl;
179 else if (ST.
stringcmp(argv[i],
"-rotate_about_z_axis") == 0) {
183 cout <<
"-rotate_about_z_axis " << endl;
186 else if (ST.
stringcmp(argv[i],
"-rotate_about_111") == 0) {
190 cout <<
"-rotate_about_111 " << endl;
193 else if (ST.
stringcmp(argv[i],
"-rotate_about_custom_axis") == 0) {
199 cout <<
"-rotate_about_custom_axis " << endl;
202 else if (ST.
stringcmp(argv[i],
"-boundary_none") == 0) {
205 cout <<
"-boundary_none " << endl;
208 else if (ST.
stringcmp(argv[i],
"-boundary_box") == 0) {
211 cout <<
"-boundary_box " << endl;
214 else if (ST.
stringcmp(argv[i],
"-boundary_sphere") == 0) {
217 cout <<
"-boundary_sphere " << endl;
220 else if (ST.
stringcmp(argv[i],
"-font_size") == 0) {
224 cout <<
"-font_size " <<
font_size << endl;
227 else if (ST.
stringcmp(argv[i],
"-stroke_width") == 0) {
234 else if (ST.
stringcmp(argv[i],
"-omit_bottom_plane") == 0) {
237 cout <<
"-omit_bottom_plane " << endl;
241 else if (ST.
stringcmp(argv[i],
"-W") == 0) {
245 cout <<
"-W " <<
W << endl;
248 else if (ST.
stringcmp(argv[i],
"-H") == 0) {
252 cout <<
"-H " <<
H << endl;
255 else if (ST.
stringcmp(argv[i],
"-nb_frames") == 0) {
259 cout <<
"-nb_frames "
265 else if (ST.
stringcmp(argv[i],
"-zoom") == 0) {
290 else if (ST.
stringcmp(argv[i],
"-zoom_sequence") == 0) {
294 cout <<
"-zoom_sequence "
300 else if (ST.
stringcmp(argv[i],
"-pan") == 0) {
311 cout <<
"video_draw_options::read_arguments -pan "
323 else if (ST.
stringcmp(argv[i],
"-pan_reverse") == 0) {
334 cout <<
"-pan_reverse "
346 else if (ST.
stringcmp(argv[i],
"-no_background") == 0) {
349 cout <<
"-no_background "
354 else if (ST.
stringcmp(argv[i],
"-no_bottom_plane") == 0) {
357 cout <<
"-no_bottom_plane "
362 else if (ST.
stringcmp(argv[i],
"-camera") == 0) {
393 else if (ST.
stringcmp(argv[i],
"-clipping") == 0) {
405 else if (ST.
stringcmp(argv[i],
"-text") == 0) {
417 else if (ST.
stringcmp(argv[i],
"-label") == 0) {
434 else if (ST.
stringcmp(argv[i],
"-latex") == 0) {
455 else if (ST.
stringcmp(argv[i],
"-global_picture_scale") == 0) {
461 cout <<
"-global_picture_scale " << d << endl;
464 else if (ST.
stringcmp(argv[i],
"-picture") == 0) {
481 else if (ST.
stringcmp(argv[i],
"-look_at") == 0) {
492 else if (ST.
stringcmp(argv[i],
"-default_angle") == 0) {
499 else if (ST.
stringcmp(argv[i],
"-clipping_radius") == 0) {
506 else if (ST.
stringcmp(argv[i],
"-scale_factor") == 0) {
513 else if (ST.
stringcmp(argv[i],
"-line_radius") == 0) {
520 else if (ST.
stringcmp(argv[i],
"-end") == 0) {
522 cout <<
"-end" << endl;
527 cout <<
"video_draw_options::read_arguments "
528 "unrecognized option " << argv[i] << endl;
533 cout <<
"video_draw_options::read_arguments done" << endl;
542 cout <<
"-do_not_rotate " << endl;
545 cout <<
"-rotate_about_z_axis " << endl;
548 cout <<
"-rotate_about_111 " << endl;
551 cout <<
"-rotate_about_custom_axis " << endl;
554 cout <<
"-boundary_none " << endl;
557 cout <<
"-boundary_box " << endl;
560 cout <<
"-boundary_sphere " << endl;
563 cout <<
"-font_size " <<
font_size << endl;
569 cout <<
"-omit_bottom_plane " << endl;
573 cout <<
"-W " <<
W << endl;
576 cout <<
"-H " <<
H << endl;
579 cout <<
"-nb_frames "
583 for (
int i = 0; i <
nb_zoom; i++) {
593 cout <<
"-zoom_sequence "
597 for (
int i = 0; i <
nb_pan; i++) {
600 cout <<
"-pan_reverse "
625 cout <<
"-no_background "
629 cout <<
"-no_bottom_plane "
657 for (
int i = 0; i <
nb_label; i++) {
int latex_label_start[1000]
double zoom_clipping_start[1000]
int no_background_round[1000]
std::string round_text_text[1000]
int latex_label_sustain[1000]
double zoom_clipping_end[1000]
int round_text_sustain[1000]
int latex_f_label_has_been_prepared[1000]
std::string zoom_sequence_text[1000]
double camera_look_at[1000 *3]
int latex_label_round[1000]
double global_picture_scale
double picture_scale[1000]
std::string label_gravity[1000]
std::string latex_label_text[1000]
int read_arguments(int argc, std::string *argv, int verbose_level)
double camera_sky[1000 *3]
std::string latex_label_gravity[1000]
int nb_frames_value[1000]
double clipping_value[1000]
int f_has_global_picture_scale
std::string picture_fname[1000]
double camera_location[1000 *3]
int zoom_sequence_round[1000]
int nb_frames_round[1000]
int round_text_round[1000]
double rotation_axis_custom[3]
std::string latex_extras_for_praeamble[1000]
double pan_center[1000 *3]
int no_bottom_plane_round[1000]
std::string label_text[1000]
std::string picture_options[1000]
numerical functions, mostly concerned with double
void vec_print(double *a, int len)
the orbiter library for the classification of combinatorial objects