X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fir.h;h=cf8b6a09ff80573e945533e2101b6d7c1bf0b597;hp=08cdd1d9b2014381b8ecb8eb710ab8ece91ca943;hb=8736131be5db05a5b15fe36252665a53016789e2;hpb=ba39c5a65a2aeeb695b1434b1d7cb781d110c1b2 diff --git a/include/ir.h b/include/ir.h index 08cdd1d..cf8b6a0 100644 --- a/include/ir.h +++ b/include/ir.h @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ir.h,v 1.15 2000/05/16 04:33:17 kevin Exp $ +** $Id: ir.h,v 1.16 2000/05/24 22:48:17 kevin Exp $ ** $Log: ir.h,v $ +** Revision 1.16 2000/05/24 22:48:17 kevin +** First functional version of SDF library for X-window +** ** Revision 1.15 2000/05/16 04:33:17 kevin ** Updated documentation ** @@ -420,7 +423,9 @@ IMAGE *image_create(const char *fname, const int nx, const int ny); int image_clear(IMAGE *im); int image_save(IMAGE *im); IMAGE *image_load(const char *fname); -void image_filter_response(IMAGE *im, int domain, double bw, int filt_type, double filt_param, int opt_trace); +void image_filter_response(IMAGE *im, const DomainType domain, double bw, const FilterType filt_type, double filt_param, const int opt_trace); +int image_display (const IMAGE *im); +int image_display_scale (const IMAGE *im, const int scale, const double pmin, const double pmax); /* options.c */ int opt_set_trace(const char *optarg); @@ -451,7 +456,7 @@ void calc_arc(double x[], double y[], const int pts, const double xcent, const d void calc_ellipse(double x[], double y[], const int pts, const double u, const double v); int circle_pts(double theta); void phm_print(PHANTOM *phm); -#if HAVE_INTERACTIVE_GRAPHICS +#if HAVE_SGP void phm_show(const PHANTOM *phm); void phm_draw(const PHANTOM *phm); #endif