19namespace layer5_applications {
20namespace user_interface {
26 Povray_job_description = NULL;
28 f_prepare_frames =
FALSE;
29 Prepare_frames = NULL;
37 if (ST.
stringcmp(argv[i],
"-povray") == 0) {
38 cout <<
"-povray" << endl;
40 else if (ST.
stringcmp(argv[i],
"-prepare_frames") == 0) {
41 cout <<
"-prepare_frames <description> -end" << endl;
52 if (ST.
stringcmp(argv[i],
"-povray") == 0) {
55 else if (ST.
stringcmp(argv[i],
"-prepare_frames") == 0) {
63 int f_v = (verbose_level >= 1);
67 cout <<
"interface_povray::read_arguments" << endl;
71 cout <<
"interface_povray::read_arguments the next argument is " << argv[i] << endl;
73 if (ST.
stringcmp(argv[i],
"-povray") == 0) {
76 cout <<
"-povray " << endl;
80 argv + i + 1, verbose_level);
83 cout <<
"done reading -povray_job_description " << endl;
84 cout <<
"i = " << i << endl;
85 cout <<
"argc = " << argc << endl;
87 cout <<
"next argument is " << argv[i] << endl;
91 else if (ST.
stringcmp(argv[i],
"-prepare_frames") == 0) {
92 f_prepare_frames =
TRUE;
94 i += Prepare_frames->
parse_arguments(argc - (i + 1), argv + i + 1, verbose_level);
97 cout <<
"done reading -prepare_frames " << endl;
98 cout <<
"i = " << i << endl;
99 cout <<
"argc = " << argc << endl;
101 cout <<
"next argument is " << argv[i] << endl;
106 cout <<
"interface_povray::read_arguments done" << endl;
113 cout <<
"-povray " << endl;
114 Povray_job_description->
print();
116 if (f_prepare_frames) {
117 Prepare_frames->
print();
123 int f_v = (verbose_level >= 1);
126 cout <<
"interface_povray::worker" << endl;
136 Povray_job_description,
140 else if (f_prepare_frames) {
144 cout <<
"interface_povray::worker done" << endl;
a catch-all class for things related to 2D graphics
void animate_povray(povray_job_description *Povray_job_description, int verbose_level)
description of a povray job
int read_arguments(int argc, std::string *argv, int verbose_level)
to prepare files using a unified file naming scheme
void do_the_work(int verbose_level)
int parse_arguments(int argc, std::string *argv, int verbose_level)
int recognize_keyword(int argc, std::string *argv, int i, int verbose_level)
void worker(int verbose_level)
void print_help(int argc, std::string *argv, int i, int verbose_level)
void read_arguments(int argc, std::string *argv, int &i, int verbose_level)
the orbiter library for the classification of combinatorial objects