PICCANTE  0.4
The hottest HDR imaging library!
piccante.hpp
Go to the documentation of this file.
1 /*
2 
3 PICCANTE
4 The hottest HDR imaging library!
5 http://piccantelib.net
6 
7 Copyright (C) 2014
8 Visual Computing Laboratory - ISTI CNR
9 http://vcg.isti.cnr.it
10 First author: Francesco Banterle
11 
12 This Source Code Form is subject to the terms of the Mozilla Public
13 License, v. 2.0. If a copy of the MPL was not distributed with this
14 file, You can obtain one at http://mozilla.org/MPL/2.0/.
15 
16 */
17 
175 #ifndef PIC_PICCANTE_HPP
176 #define PIC_PICCANTE_HPP
177 
178 #ifdef _MSC_VER
179 //we are using windows
180  #define PIC_WIN32
181  #ifndef NOMINMAX
182  #define NOMINMAX
183  #endif
184 #elif __APPLE__
185  //we are using mac os x
186  #define PIC_MAC_OS_X
187 #else
188  // we assume that we are using a UNIX system
189  #define PIC_UNIX
190 #endif
191 
192 //Mac OS X
193 #ifdef PIC_MAC_OS_X
194 #pragma clang diagnostic push
195 #pragma clang diagnostic ignored "-Wunused-variable"
196 #pragma clang diagnostic ignored "-Wunused-parameter"
197 #pragma clang diagnostic ignored "-Wconversion"
198 #pragma clang diagnostic ignored "-Wunknown-pragmas"
199 #pragma clang diagnostic ignored "-Woverloaded-virtual"
200 #pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
201 #pragma clang diagnostic ignored "-Wsign-compare"
202 #pragma clang diagnostic ignored "-Wformat"
203 #endif
204 
205 //Win32
206 #ifdef PIC_WIN32
207 
208 #pragma warning(disable:4100)
209 #pragma warning(disable:4146)
210 
211 #ifndef _CRT_SECURE_NO_DEPRECATE
212 #define _CRT_SECURE_NO_DEPRECATE
213 #endif
214 
215 #ifndef _CRT_SECURE_NO_WARNINGS
216 #define _CRT_SECURE_NO_WARNINGS
217 #endif
218 
219 #include <windows.h>
220 #include <winuser.h>
221 #include <vfw.h>
222 #include <tchar.h>
223 #include <direct.h>
224 #include <mmsystem.h>
225 #define strcasecmp stricmp
226 #pragma comment( lib, "Winmm" )
227 #pragma comment( lib, "vfw32" )
228 #endif
229 
230 // base stuff
231 #include "base.hpp"
232 #include "image.hpp"
233 #include "image_vec.hpp"
234 #include "histogram.hpp"
235 
236 // sub dirs
237 #include "algorithms.hpp"
238 #include "colors.hpp"
239 #include "features_matching.hpp"
240 #include "filtering.hpp"
241 #include "gl.hpp"
242 #include "image_samplers.hpp"
243 #include "io.hpp"
244 #include "metrics.hpp"
245 #include "point_samplers.hpp"
246 #include "tone_mapping.hpp"
247 #include "util.hpp"
248 #include "computer_vision.hpp"
249 
250 #include "JNI.hpp"
251 
252 #ifdef PIC_MAC_OS_X
253 #pragma clang diagnostic pop
254 #endif
255 
256 #endif /* PIC_PICCANTE_HPP */
257