EcoliSimulator
2.0.1a
|
#include "filmato_3D_gnuplot_gif.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <limits>
#include <ctime>
#include <sys/stat.h>
#include "GlobalVariables.h"
#include "GnuplotGlobal.h"
#include "apngasm_Global.h"
#include "ErrorsDefinition.h"
#include "Colori.h"
#include "sssr.h"
#include "Funz_C.h"
#include "setSizesTitles.hpp"
#include "filmato_3D_gnuplotMultiThread.hpp"
#include "Declar_funz.h"
Macros | |
#define | SAVE 0 |
#define | NO_SAVE 1 |
#define | DENSITY 0 |
#define | FUNZC 1 |
Functions | |
void | filmato_3D_gnuplot_gif (string names_info[], double max_x, double max_y, double min_x, double min_y, double max_z, int dim_col_t, Funz_C *f, int cont_gen_sim, double max_fc) |
int | scriptFilmato3Dgnuplot_gif (double Dt, double maxX, double maxY, double minX, double minY, double max_z, double max_fc, int dim_col_t, int save_, int cont_sim) |
#define DENSITY 0 |
#define FUNZC 1 |
#define NO_SAVE 1 |
#define SAVE 0 |
void filmato_3D_gnuplot_gif | ( | string | names_info[], |
double | max_x, | ||
double | max_y, | ||
double | min_x, | ||
double | min_y, | ||
double | max_z, | ||
int | dim_col_t, | ||
Funz_C * | f, | ||
int | cont_gen_sim, | ||
double | max_fc | ||
) |
This fuction crate the script so save, see save 4,9,16 snapshot of the density and ligand. it is not very well written. there are a lot of if end so on that can be throw away. The fact is that if we save the file and want to see it, then we first save and then play with firefox (better immage) Note: problem lunching firefox with Windows. To be check! note that we have to be careful how to pass the parameters to apngasm if we;re on Unix or Windows (line 213)
int scriptFilmato3Dgnuplot_gif | ( | double | Dt, |
double | maxX, | ||
double | maxY, | ||
double | minX, | ||
double | minY, | ||
double | max_z, | ||
double | max_fc, | ||
int | dim_col_t, | ||
int | save_, | ||
int | cont_sim | ||
) |
This function writes the script for the video 3d gnuplot gif version