22namespace layer1_foundations {
55 double rad, std::string &properties,
int verbose_level)
57 int f_v = (verbose_level >= 1);
60 cout <<
"drawable_set_of_objects::init_spheres" << endl;
69 cout <<
"drawable_set_of_objects::init_spheres done" << endl;
74 double rad, std::string &properties,
int verbose_level)
76 int f_v = (verbose_level >= 1);
79 cout <<
"drawable_set_of_objects::init_cylinders" << endl;
88 cout <<
"drawable_set_of_objects::init_cylinders done" << endl;
93 double thickness, std::string &properties,
int verbose_level)
95 int f_v = (verbose_level >= 1);
98 cout <<
"drawable_set_of_objects::init_prisms" << endl;
107 cout <<
"drawable_set_of_objects::init_prisms done" << endl;
112 std::string &properties,
int verbose_level)
114 int f_v = (verbose_level >= 1);
117 cout <<
"drawable_set_of_objects::init_planes" << endl;
126 cout <<
"drawable_set_of_objects::init_planes done" << endl;
131 double rad, std::string &properties,
int verbose_level)
133 int f_v = (verbose_level >= 1);
136 cout <<
"drawable_set_of_objects::init_lines" << endl;
145 cout <<
"drawable_set_of_objects::init_lines done" << endl;
150 std::string &properties,
int verbose_level)
152 int f_v = (verbose_level >= 1);
155 cout <<
"drawable_set_of_objects::init_cubics" << endl;
164 cout <<
"drawable_set_of_objects::init_cubics done" << endl;
169 std::string &properties,
int verbose_level)
171 int f_v = (verbose_level >= 1);
174 cout <<
"drawable_set_of_objects::init_quadrics" << endl;
183 cout <<
"drawable_set_of_objects::init_quadrics done" << endl;
188 std::string &properties,
int verbose_level)
190 int f_v = (verbose_level >= 1);
193 cout <<
"drawable_set_of_objects::init_quartics" << endl;
202 cout <<
"drawable_set_of_objects::init_quartics done" << endl;
207 std::string &properties,
int verbose_level)
209 int f_v = (verbose_level >= 1);
212 cout <<
"drawable_set_of_objects::init_quintics" << endl;
221 cout <<
"drawable_set_of_objects::init_quintics done" << endl;
226 std::string &properties,
int verbose_level)
228 int f_v = (verbose_level >= 1);
231 cout <<
"drawable_set_of_objects::init_octics" << endl;
240 cout <<
"drawable_set_of_objects::init_octics done" << endl;
245 double thickness_half,
double scale, std::string &properties,
int verbose_level)
247 int f_v = (verbose_level >= 1);
250 cout <<
"drawable_set_of_objects::init_labels" << endl;
260 cout <<
"drawable_set_of_objects::init_labels done" << endl;
266 int f_group_is_animated,
int frame,
int verbose_level)
268 int f_v = (verbose_level >= 1);
274 cout <<
"drawable_set_of_objects::draw" << endl;
277 cout <<
"group_idx = " <<
group_idx << endl;
278 cout <<
"f_group_is_animated = " << f_group_is_animated << endl;
283 if (f_group_is_animated) {
295 for (j = 0; j < sz; j++) {
300 cout <<
"sz = " << sz << endl;
304 cout <<
"Selection: " << endl;
310 cout <<
"type == 1" << endl;
315 else if (
type == 2) {
317 cout <<
"type == 2 cylinders = edges" << endl;
323 else if (
type == 3) {
325 cout <<
"type == 3 prisms = faces" << endl;
330 else if (
type == 4) {
332 cout <<
"type == 4 planes" << endl;
337 else if (
type == 5) {
339 cout <<
"type == 5 lines" << endl;
345 else if (
type == 6) {
347 cout <<
"type == 6 cubics" << endl;
352 else if (
type == 7) {
354 cout <<
"type == 7 quadrics" << endl;
359 else if (
type == 8) {
361 cout <<
"type == 8 quartics" << endl;
366 else if (
type == 9) {
368 cout <<
"type == 9 quintics" << endl;
373 else if (
type == 10) {
375 cout <<
"type == 10 octics" << endl;
380 else if (
type == 11) {
382 cout <<
"type == 11 labels" << endl;
395 cout <<
"drawable type unrecognized" << endl;
400 cout <<
"drawable_set_of_objects::draw done" << endl;
creates 3D animations using Povray
void draw_text_with_selection(int *selection, int nb_select, double thickness_half, double extra_spacing, double scale, double off_x, double off_y, double off_z, std::string &options, std::string &group_options, std::ostream &ost, int verbose_level)
void init_cylinders(int group_idx, double rad, std::string &properties, int verbose_level)
void init_quintics(int group_idx, std::string &properties, int verbose_level)
void init_planes(int group_idx, std::string &properties, int verbose_level)
void init_cubics(int group_idx, std::string &properties, int verbose_level)
void init_octics(int group_idx, std::string &properties, int verbose_level)
void init_quartics(int group_idx, std::string &properties, int verbose_level)
~drawable_set_of_objects()
void init_labels(int group_idx, double thickness_half, double scale, std::string &properties, int verbose_level)
void init_lines(int group_idx, double rad, std::string &properties, int verbose_level)
void init_quadrics(int group_idx, std::string &properties, int verbose_level)
void init_spheres(int group_idx, double rad, std::string &properties, int verbose_level)
drawable_set_of_objects()
void draw(animate *Anim, std::ostream &ost, int f_group_is_animated, int frame, int verbose_level)
void init_prisms(int group_idx, double thickness, std::string &properties, int verbose_level)
void draw_planes_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_points_with_selection(int *selection, int nb_select, double rad, std::string &options, std::ostream &ost)
void draw_quadric_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
std::vector< std::vector< int > > group_of_things
void draw_octic_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_quintic_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_edges_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_quartic_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_faces_with_selection(int *selection, int nb_select, double thickness_half, std::string &options, std::ostream &ost)
void draw_cubic_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
void draw_lines_with_selection(int *selection, int nb_select, std::string &options, std::ostream &ost)
#define Int_vec_print(A, B, C)
the orbiter library for the classification of combinatorial objects