Merge pull request #6078 from PolarNick239:master
[platform/upstream/opencv.git] / include / opencv2 / opencv.hpp
1 /*M///////////////////////////////////////////////////////////////////////////////////////
2 //
3 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
4 //
5 //  By downloading, copying, installing or using the software you agree to this license.
6 //  If you do not agree to this license, do not download, install,
7 //  copy or use the software.
8 //
9 //
10 //                           License Agreement
11 //                For Open Source Computer Vision Library
12 //
13 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 // Copyright (C) 2009-2010, Willow Garage Inc., all rights reserved.
15 // Third party copyrights are property of their respective owners.
16 //
17 // Redistribution and use in source and binary forms, with or without modification,
18 // are permitted provided that the following conditions are met:
19 //
20 //   * Redistribution's of source code must retain the above copyright notice,
21 //     this list of conditions and the following disclaimer.
22 //
23 //   * Redistribution's in binary form must reproduce the above copyright notice,
24 //     this list of conditions and the following disclaimer in the documentation
25 //     and/or other materials provided with the distribution.
26 //
27 //   * The name of the copyright holders may not be used to endorse or promote products
28 //     derived from this software without specific prior written permission.
29 //
30 // This software is provided by the copyright holders and contributors "as is" and
31 // any express or implied warranties, including, but not limited to, the implied
32 // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 // In no event shall the Intel Corporation or contributors be liable for any direct,
34 // indirect, incidental, special, exemplary, or consequential damages
35 // (including, but not limited to, procurement of substitute goods or services;
36 // loss of use, data, or profits; or business interruption) however caused
37 // and on any theory of liability, whether in contract, strict liability,
38 // or tort (including negligence or otherwise) arising in any way out of
39 // the use of this software, even if advised of the possibility of such damage.
40 //
41 //M*/
42
43 #ifndef OPENCV_ALL_HPP
44 #define OPENCV_ALL_HPP
45
46 // File that defines what modules where included during the build of OpenCV
47 // These are purely the defines of the correct HAVE_OPENCV_modulename values
48 #include "opencv2/opencv_modules.hpp"
49
50 // Then the list of defines is checked to include the correct headers
51 // Core library is always included --> without no OpenCV functionality available
52 #include "opencv2/core.hpp"
53
54 // Then the optional modules are checked
55 #ifdef HAVE_OPENCV_CALIB3D
56 #include "opencv2/calib3d.hpp"
57 #endif
58 #ifdef HAVE_OPENCV_FEATURES2D
59 #include "opencv2/features2d.hpp"
60 #endif
61 #ifdef HAVE_OPENCV_FLANN
62 #include "opencv2/flann.hpp"
63 #endif
64 #ifdef HAVE_OPENCV_HIGHGUI
65 #include "opencv2/highgui.hpp"
66 #endif
67 #ifdef HAVE_OPENCV_IMGCODECS
68 #include "opencv2/imgcodecs.hpp"
69 #endif
70 #ifdef HAVE_OPENCV_IMGPROC
71 #include "opencv2/imgproc.hpp"
72 #endif
73 #ifdef HAVE_OPENCV_ML
74 #include "opencv2/ml.hpp"
75 #endif
76 #ifdef HAVE_OPENCV_OBJDETECT
77 #include "opencv2/objdetect.hpp"
78 #endif
79 #ifdef HAVE_OPENCV_PHOTO
80 #include "opencv2/photo.hpp"
81 #endif
82 #ifdef HAVE_OPENCV_SHAPE
83 #include "opencv2/shape.hpp"
84 #endif
85 #ifdef HAVE_OPENCV_STITCHING
86 #include "opencv2/stitching.hpp"
87 #endif
88 #ifdef HAVE_OPENCV_SUPERRES
89 #include "opencv2/superres.hpp"
90 #endif
91 #ifdef HAVE_OPENCV_VIDEO
92 #include "opencv2/video.hpp"
93 #endif
94 #ifdef HAVE_OPENCV_VIDEOIO
95 #include "opencv2/videoio.hpp"
96 #endif
97 #ifdef HAVE_OPENCV_VIDEOSTAB
98 #include "opencv2/videostab.hpp"
99 #endif
100 #ifdef HAVE_OPENCV_VIZ
101 #include "opencv2/viz.hpp"
102 #endif
103
104 // Finally CUDA specific entries are checked and added
105 #ifdef HAVE_OPENCV_CUDAARITHM
106 #include "opencv2/cudaarithm.hpp"
107 #endif
108 #ifdef HAVE_OPENCV_CUDABGSEGM
109 #include "opencv2/cudabgsegm.hpp"
110 #endif
111 #ifdef HAVE_OPENCV_CUDACODEC
112 #include "opencv2/cudacodec.hpp"
113 #endif
114 #ifdef HAVE_OPENCV_CUDAFEATURES2D
115 #include "opencv2/cudafeatures2d.hpp"
116 #endif
117 #ifdef HAVE_OPENCV_CUDAFILTERS
118 #include "opencv2/cudafilters.hpp"
119 #endif
120 #ifdef HAVE_OPENCV_CUDAIMGPROC
121 #include "opencv2/cudaimgproc.hpp"
122 #endif
123 #ifdef HAVE_OPENCV_CUDAOBJDETECT
124 #include "opencv2/cudaobjdetect.hpp"
125 #endif
126 #ifdef HAVE_OPENCV_CUDAOPTFLOW
127 #include "opencv2/cudaoptflow.hpp"
128 #endif
129 #ifdef HAVE_OPENCV_CUDASTEREO
130 #include "opencv2/cudastereo.hpp"
131 #endif
132 #ifdef HAVE_OPENCV_CUDAWARPING
133 #include "opencv2/cudawarping.hpp"
134 #endif
135
136 #endif