X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fphm2sdf.c;h=814951af0543789f1b30a4566d6a647447d01d96;hb=c9c581bfabd0c20b3da1203fdaf93080d885ce7a;hp=0174eef7b96998ab9ad143445ab141ae31dc20d5;hpb=13838bda88b63a2535b5baaf7197006767de4b8e;p=ctsim.git diff --git a/src/phm2sdf.c b/src/phm2sdf.c index 0174eef..814951a 100644 --- a/src/phm2sdf.c +++ b/src/phm2sdf.c @@ -2,10 +2,24 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2sdf.c,v 1.1 2000/04/28 13:02:44 kevin Exp $ +** $Id: phm2sdf.c,v 1.5 2000/04/30 19:17:54 kevin Exp $ ** $Log: phm2sdf.c,v $ -** Revision 1.1 2000/04/28 13:02:44 kevin -** Initial revision +** Revision 1.5 2000/04/30 19:17:54 kevin +** *** empty log message *** +** +** Revision 1.4 2000/04/30 04:06:13 kevin +** Update Raysum i/o routines +** Fix MPI bug in ctrec (scatter_raysum) that referenced rs_global +** +** Revision 1.3 2000/04/28 18:19:01 kevin +** removed unused files +** +** Revision 1.2 2000/04/28 13:50:45 kevin +** Removed Makefile Makefile.in that are automatically generated by autoconf +** +** Revision 1.1.1.1 2000/04/28 13:02:44 kevin +** Initial CVS import for first public release +** ** ** ** This program is free software; you can redistribute it and/or modify @@ -124,16 +138,16 @@ main (const int argc, char *const argv[]) int opt_picnum = -1; int opt_filter = -1; int opt_filter_domain = D_SPATIAL; - char *opt_outfile; + char *opt_outfile = NULL; int opt_debug = 0; char str[256]; char opt_desc[256], opt_picfilename[256]; char *endstr, *endptr; - double opt_filter_param; + double opt_filter_param = 1; double opt_filter_bw = 1.; int opt_trace = TRACE_NONE; int opt_verbose = 0; - double time_start, time_end; + double time_start=0, time_end=0; #ifdef MPI_CT IMAGE *im_local = NULL; int mpi_argc = argc; @@ -401,7 +415,6 @@ main (const int argc, char *const argv[]) if (opt_trace >= TRACE_PIC) { - crt_set_mode (GM_TEXT, TRUE); crt_set_cpos (1, 1); } @@ -418,12 +431,9 @@ main (const int argc, char *const argv[]) scanf ("%d %d", &nx, &ny); printf ("Enter minimum and maximum densities (min, max): "); scanf ("%lf %lf", &dmin, &dmax); - crt_set_mode (GM_HIGHRES, TRUE); - image_paint (CRTDEV, im_global, 0, 0, nx, ny, dmin, dmax, 0); + // image_paint (CRTDEV, im_global, 0, 0, nx, ny, dmin, dmax, 0); WAITKEY(); - crt_set_mode (GM_TEXT, TRUE); - crt_set_palette (0, crt_calc_color (0., 0., 2.)); crt_put_stra ("Finished", 8 + C_WHITE); crt_set_cpos (1, 2); }