In Makefile, make HASH_MAP=NONE default.
[Ale.git] / d2.h
blobb9fe055bf1898fc2dc47cbf2c49d05b169bc06b2
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 2 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.
25 #include <stdint.h>
26 #include <assert.h>
27 #include <math.h>
28 #include <stdlib.h>
29 #include <stdio.h>
30 #include <string.h>
31 #include <limits.h>
33 #include <vector>
34 #include <algorithm>
36 #include "ale_real.h"
37 #include "ale_accum.h"
38 #include "ale_pos.h"
39 #include "ui/ui.h"
42 #include <iostream>
43 #include <ostream>
44 #include <typeinfo>
46 #ifdef USE_MAGICK
47 #include <magick/api.h>
48 #endif
50 #ifdef USE_FFTW
51 #include <fftw3.h>
52 #endif
54 #ifdef USE_UNIX
55 #include <sys/types.h>
56 #include <unistd.h>
57 #include <sys/wait.h>
58 #endif
60 #ifndef M_PI
61 #define M_PI 3.14159265358979323846
62 #endif
66 * All header files in the d2 namespace.
69 namespace d2 {
70 #include "d2/pixel.h"
71 #include "d2/spixel.h"
72 #include "d2/pixel_accum.h"
73 #include "d2/exposure/exposure.h"
74 #include "d2/exposure/exposure_default.h"
75 #include "d2/exposure/exposure_linear.h"
76 #include "d2/exposure/exposure_boolean.h"
77 #include "d2/align.h"
78 #include "d2/transformation.h"
79 #include "d2/image.h"
83 * XXX: The placement of this file is somewhat of a hack. What should
84 * be done about this?
86 #include "optimizations.h"
88 namespace d2 {
89 #include "d2/image_ale_real.h"
90 #include "d2/image_weighted_avg.h"
91 #include "d2/image_weighted_simple.h"
92 #include "d2/image_weighted_median.h"
93 #include "d2/image_zero.h"
94 #include "d2/image_rw.h"
95 #include "d2/point.h"
96 #include "d2/ppm.h"
97 #include "d2/render.h"
98 #include "d2/render_parse.h"
99 #include "d2/tfile.h"
100 #include "d2/filter.h"
101 #include "d2/render/combine.h"
102 // #include "d2/render/drizzle.h"
103 // #include "d2/render/usm.h"
104 #include "d2/render/ipc.h"
105 // #include "d2/render/merge.h"
106 #include "d2/render/psf/psf.h"
107 #include "d2/render/psf/psf_template.h"
108 #include "d2/render/psf/box.h"
109 #include "d2/render/psf/circle.h"
110 #include "d2/render/psf/sum.h"
111 #include "d2/render/psf/stdin.h"
112 #include "d2/render/psf/stdin_vg.h"
113 #include "d2/render/psf/convolution.h"
114 #include "d2/render/psf/scalar_mult.h"
115 #include "d2/render/psf/psf_parse.h"
116 #include "d2/render/psf/psf_calibrate.h"
117 #include "d2/vise_core.h"