ui::input: Remove "gs" from non-globals table.
[Ale.git] / d2.h
blobbea6631590571cc41f170d095c51e3fca64acf72
1 // Copyright 2003, 2004 David Hilvert <dhilvert@auricle.dyndns.org>,
2 // <dhilvert@ugcs.caltech.edu>
4 /* This file is part of the Anti-Lamenessing Engine.
6 The Anti-Lamenessing Engine is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 The Anti-Lamenessing Engine is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with the Anti-Lamenessing Engine; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * Top-level header file for classes treating scenes as two-dimensional data.
23 * autoconf 'config.h' should be included after this file, as we undefine
24 * various autoconf defines herein.
27 #include <stdint.h>
28 #include <assert.h>
29 // #include <math.h>
30 #include <stdlib.h>
31 #include <stdio.h>
32 #include <string.h>
33 #include <limits.h>
35 #include <vector>
36 #include <stack>
37 #include <algorithm>
39 #include <iostream>
40 #include <ostream>
41 #include <typeinfo>
43 #include "ale_math.h"
44 #include "ale_real.h"
45 #include "ale_accum.h"
46 #include "ale_pos.h"
47 #include "ui/ui.h"
50 #ifdef USE_MAGICK
51 #include <magick/api.h>
54 * ImageMagick defines these, for reasons unclear.
55 * Since they clash with autotools names, undefine
56 * them here.
59 #undef PACKAGE_TARNAME
60 #undef PACKAGE_VERSION
61 #undef PACKAGE_STRING
62 #undef PACKAGE_NAME
63 #undef PACKAGE_BUGREPORT
64 #endif
66 #ifdef USE_FFTW
67 #include <fftw3.h>
68 #endif
70 #ifdef USE_UNIX
71 #include <sys/types.h>
72 #include <unistd.h>
73 #include <sys/wait.h>
74 #endif
76 #ifndef M_PI
77 #define M_PI 3.14159265358979323846
78 #endif
80 #include "thread.h"
82 #include "rand.h"
87 * All header files in the d2 namespace.
90 namespace d2 {
91 #include "d2/exclusion.h"
92 #include "d2/pixel.h"
93 #include "d2/spixel.h"
94 #include "d2/pixel_accum.h"
95 #include "d2/exposure/exposure.h"
96 #include "d2/exposure/exposure_default.h"
97 #include "d2/exposure/exposure_linear.h"
98 #include "d2/exposure/exposure_boolean.h"
99 #include "d2/align.h"
100 #include "d2/transformation.h"
101 #include "d2/image.h"
105 * XXX: The placement of this file is somewhat of a hack. What should
106 * be done about this?
108 #include "optimizations.h"
110 namespace d2 {
111 #include "d2/image_ale_real.h"
112 #include "d2/image_weighted_avg.h"
113 #include "d2/image_weighted_simple.h"
114 #include "d2/image_weighted_median.h"
115 #include "d2/image_zero.h"
116 #include "d2/image_rw.h"
117 #include "d2/point.h"
118 #include "d2/ppm.h"
119 #include "d2/render.h"
120 #include "d2/render_parse.h"
121 #include "d2/tfile.h"
122 #include "d2/filter.h"
123 #include "d2/render/combine.h"
124 // #include "d2/render/drizzle.h"
125 // #include "d2/render/usm.h"
126 #include "d2/render/ipc.h"
127 // #include "d2/render/merge.h"
128 #include "d2/render/psf/psf.h"
129 #include "d2/render/psf/psf_template.h"
130 #include "d2/render/psf/box.h"
131 #include "d2/render/psf/circle.h"
132 #include "d2/render/psf/sum.h"
133 #include "d2/render/psf/stdin.h"
134 #include "d2/render/psf/stdin_vg.h"
135 #include "d2/render/psf/convolution.h"
136 #include "d2/render/psf/scalar_mult.h"
137 #include "d2/render/psf/psf_parse.h"
138 #include "d2/render/psf/psf_calibrate.h"
139 #include "d2/vise_core.h"