Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e77e152a
Commit
e77e152a
authored
Oct 20, 2010
by
Marius Muja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed header include sentinels to fix compile problem when used together with standalone flann
parent
e842a0c8
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
73 additions
and
73 deletions
+73
-73
all_indices.h
modules/flann/include/opencv2/flann/all_indices.h
+3
-3
allocator.h
modules/flann/include/opencv2/flann/allocator.h
+3
-3
autotuned_index.h
modules/flann/include/opencv2/flann/autotuned_index.h
+3
-3
composite_index.h
modules/flann/include/opencv2/flann/composite_index.h
+3
-3
dist.h
modules/flann/include/opencv2/flann/dist.h
+3
-3
flann.hpp
modules/flann/include/opencv2/flann/flann.hpp
+2
-2
flann_base.hpp
modules/flann/include/opencv2/flann/flann_base.hpp
+3
-3
general.h
modules/flann/include/opencv2/flann/general.h
+3
-3
ground_truth.h
modules/flann/include/opencv2/flann/ground_truth.h
+3
-3
hdf5.h
modules/flann/include/opencv2/flann/hdf5.h
+3
-3
heap.h
modules/flann/include/opencv2/flann/heap.h
+3
-3
index_testing.h
modules/flann/include/opencv2/flann/index_testing.h
+3
-3
kdtree_index.h
modules/flann/include/opencv2/flann/kdtree_index.h
+3
-3
kmeans_index.h
modules/flann/include/opencv2/flann/kmeans_index.h
+3
-3
linear_index.h
modules/flann/include/opencv2/flann/linear_index.h
+3
-3
logger.h
modules/flann/include/opencv2/flann/logger.h
+3
-3
matrix.h
modules/flann/include/opencv2/flann/matrix.h
+3
-3
nn_index.h
modules/flann/include/opencv2/flann/nn_index.h
+3
-3
object_factory.h
modules/flann/include/opencv2/flann/object_factory.h
+2
-2
random.h
modules/flann/include/opencv2/flann/random.h
+3
-3
result_set.h
modules/flann/include/opencv2/flann/result_set.h
+3
-3
sampling.h
modules/flann/include/opencv2/flann/sampling.h
+3
-3
saving.h
modules/flann/include/opencv2/flann/saving.h
+3
-3
simplex_downhill.h
modules/flann/include/opencv2/flann/simplex_downhill.h
+3
-3
timer.h
modules/flann/include/opencv2/flann/timer.h
+3
-3
No files found.
modules/flann/include/opencv2/flann/all_indices.h
View file @
e77e152a
...
...
@@ -27,8 +27,8 @@
*************************************************************************/
#ifndef ALL_INDICES_H_
#define ALL_INDICES_H_
#ifndef
_OPENCV_
ALL_INDICES_H_
#define
_OPENCV_
ALL_INDICES_H_
#include "opencv2/flann/general.h"
...
...
@@ -73,4 +73,4 @@ NNIndex<T>* create_index_by_type(const Matrix<T>& dataset, const IndexParams& pa
}
//namespace cvflann
#endif
/* ALL_INDICES_H_ */
#endif
/*
_OPENCV_
ALL_INDICES_H_ */
modules/flann/include/opencv2/flann/allocator.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
ALLOCATOR_H
#define
ALLOCATOR_H
#ifndef
_OPENCV_ALLOCATOR_H_
#define
_OPENCV_ALLOCATOR_H_
#include <stdlib.h>
#include <stdio.h>
...
...
@@ -184,4 +184,4 @@ public:
}
// namespace cvflann
#endif //
ALLOCATOR_H
#endif //
_OPENCV_ALLOCATOR_H_
modules/flann/include/opencv2/flann/autotuned_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef AUTOTUNEDINDEX_H_
#define AUTOTUNEDINDEX_H_
#ifndef
_OPENCV_
AUTOTUNEDINDEX_H_
#define
_OPENCV_
AUTOTUNEDINDEX_H_
#include "opencv2/flann/general.h"
#include "opencv2/flann/nn_index.h"
...
...
@@ -611,4 +611,4 @@ private:
}
// namespace cvflann
#endif
/* AUTOTUNEDINDEX_H_ */
#endif
/*
_OPENCV_
AUTOTUNEDINDEX_H_ */
modules/flann/include/opencv2/flann/composite_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
COMPOSITETREE_H
#define
COMPOSITETREE_H
#ifndef
_OPENCV_COMPOSITETREE_H_
#define
_OPENCV_COMPOSITETREE_H_
#include "opencv2/flann/general.h"
#include "opencv2/flann/nn_index.h"
...
...
@@ -160,4 +160,4 @@ public:
}
// namespace cvflann
#endif //
COMPOSITETREE_H
#endif //
_OPENCV_COMPOSITETREE_H_
modules/flann/include/opencv2/flann/dist.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
DIST_H
#define
DIST_H
#ifndef
_OPENCV_DIST_H_
#define
_OPENCV_DIST_H_
#include <cmath>
using
namespace
std
;
...
...
@@ -358,4 +358,4 @@ CV_EXPORTS ZeroIterator<float>& zero();
}
// namespace cvflann
#endif //
DIST_H
#endif //
_OPENCV_DIST_H_
modules/flann/include/opencv2/flann/flann.hpp
View file @
e77e152a
...
...
@@ -40,8 +40,8 @@
//
//M*/
#ifndef _
_OPENCV_FLANN_HPP_
_
#define _
_OPENCV_FLANN_HPP_
_
#ifndef _
OPENCV_FLANN_HPP
_
#define _
OPENCV_FLANN_HPP
_
#ifdef __cplusplus
...
...
modules/flann/include/opencv2/flann/flann_base.hpp
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
FLANN
_HPP_
#define
FLANN
_HPP_
#ifndef
_OPENCV_FLANN_BASE
_HPP_
#define
_OPENCV_FLANN_BASE
_HPP_
#include <vector>
#include <string>
...
...
@@ -258,4 +258,4 @@ int hierarchicalClustering(const Matrix<ELEM_TYPE>& features, Matrix<DIST_TYPE>&
}
}
// namespace cvflann
#endif
/*
FLANN
_HPP_ */
#endif
/*
_OPENCV_FLANN_BASE
_HPP_ */
modules/flann/include/opencv2/flann/general.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
OPENCV_CONSTANTS_H
#define
OPENCV_CONSTANTS_H
#ifndef
_OPENCV_GENERAL_H_
#define
_OPENCV_GENERAL_H_
#ifdef __cplusplus
...
...
@@ -146,4 +146,4 @@ struct CV_EXPORTS SearchParams {
#endif
#endif
/*
OPENCV_CONSTANTS_H
*/
#endif
/*
_OPENCV_GENERAL_H_
*/
modules/flann/include/opencv2/flann/ground_truth.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
GROUND_TRUTH_H
#define
GROUND_TRUTH_H
#ifndef
_OPENCV_GROUND_TRUTH_H_
#define
_OPENCV_GROUND_TRUTH_H_
#include "opencv2/flann/dist.h"
#include "opencv2/flann/matrix.h"
...
...
@@ -92,4 +92,4 @@ void compute_ground_truth(const Matrix<T>& dataset, const Matrix<T>& testset, Ma
}
// namespace cvflann
#endif //
GROUND_TRUTH_H
#endif //
_OPENCV_GROUND_TRUTH_H_
modules/flann/include/opencv2/flann/hdf5.h
View file @
e77e152a
...
...
@@ -27,8 +27,8 @@
*************************************************************************/
#ifndef
IO
_H_
#define
IO
_H_
#ifndef
_OPENCV_HDF5
_H_
#define
_OPENCV_HDF5
_H_
#include <H5Cpp.h>
...
...
@@ -160,4 +160,4 @@ void load_from_file(cvflann::Matrix<T>& flann_dataset, const std::string& filena
}
// namespace cvflann
#endif
/*
IO
_H_ */
#endif
/*
_OPENCV_HDF5
_H_ */
modules/flann/include/opencv2/flann/heap.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
HEAP_H
#define
HEAP_H
#ifndef
_OPENCV_HEAP_H_
#define
_OPENCV_HEAP_H_
#include <algorithm>
...
...
@@ -206,4 +206,4 @@ public:
}
// namespace cvflann
#endif //
HEAP_H
#endif //
_OPENCV_HEAP_H_
modules/flann/include/opencv2/flann/index_testing.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
TESTING_H
#define
TESTING_H
#ifndef
_OPENCV_TESTING_H_
#define
_OPENCV_TESTING_H_
#include <cstring>
#include <cassert>
...
...
@@ -289,4 +289,4 @@ float test_index_precisions(NNIndex<ELEM_TYPE>& index, const Matrix<ELEM_TYPE>&
}
// namespace cvflann
#endif //
TESTING_H
#endif //
_OPENCV_TESTING_H_
modules/flann/include/opencv2/flann/kdtree_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
KDTREE_H
#define
KDTREE_H
#ifndef
_OPENCV_KDTREE_H_
#define
_OPENCV_KDTREE_H_
#include <algorithm>
#include <map>
...
...
@@ -619,4 +619,4 @@ private:
}
// namespace cvflann
#endif //
KDTREE_H
#endif //
_OPENCV_KDTREE_H_
modules/flann/include/opencv2/flann/kmeans_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
KMEANSTREE_H
#define
KMEANSTREE_H
#ifndef
_OPENCV_KMEANSTREE_H_
#define
_OPENCV_KMEANSTREE_H_
#include <algorithm>
#include <string>
...
...
@@ -1114,4 +1114,4 @@ private:
}
// namespace cvflann
#endif //
KMEANSTREE_H
#endif //
_OPENCV_KMEANSTREE_H_
modules/flann/include/opencv2/flann/linear_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
LINEARSEARCH_H
#define
LINEARSEARCH_H
#ifndef
_OPENCV_LINEARSEARCH_H_
#define
_OPENCV_LINEARSEARCH_H_
#include "opencv2/flann/general.h"
#include "opencv2/flann/nn_index.h"
...
...
@@ -117,4 +117,4 @@ public:
}
// namespace cvflann
#endif //
LINEARSEARCH_H
#endif //
_OPENCV_LINEARSEARCH_H_
modules/flann/include/opencv2/flann/logger.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
LOGGER_H
#define
LOGGER_H
#ifndef
_OPENCV_LOGGER_H_
#define
_OPENCV_LOGGER_H_
#include <cstdio>
...
...
@@ -88,4 +88,4 @@ CV_EXPORTS Logger& logger();
}
// namespace cvflann
#endif //
LOGGER_H
#endif //
_OPENCV_LOGGER_H_
modules/flann/include/opencv2/flann/matrix.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
DATASET_H
#define
DATASET_H
#ifndef
_OPENCV_DATASET_H_
#define
_OPENCV_DATASET_H_
#include <stdio.h>
...
...
@@ -115,4 +115,4 @@ public:
}
// namespace cvflann
#endif //
DATASET_H
#endif //
_OPENCV_DATASET_H_
modules/flann/include/opencv2/flann/nn_index.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
NNINDEX_H
#define
NNINDEX_H
#ifndef
_OPENCV_NNINDEX_H_
#define
_OPENCV_NNINDEX_H_
#include <string>
...
...
@@ -105,4 +105,4 @@ public:
}
// namespace cvflann
#endif //
NNINDEX_H
#endif //
_OPENCV_NNINDEX_H_
modules/flann/include/opencv2/flann/object_factory.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef OPENCV_OBJECT_FACTORY_H_
#define OPENCV_OBJECT_FACTORY_H_
#ifndef
_
OPENCV_OBJECT_FACTORY_H_
#define
_
OPENCV_OBJECT_FACTORY_H_
#include "opencv2/core/types_c.h"
#include <map>
...
...
modules/flann/include/opencv2/flann/random.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
RANDOM_H
#define
RANDOM_H
#ifndef
_OPENCV_RANDOM_H_
#define
_OPENCV_RANDOM_H_
#include <algorithm>
#include <cstdlib>
...
...
@@ -131,4 +131,4 @@ public:
}
// namespace cvflann
#endif //
RANDOM_H
#endif //
_OPENCV_RANDOM_H_
modules/flann/include/opencv2/flann/result_set.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
RESULTSET_H
#define
RESULTSET_H
#ifndef
_OPENCV_RESULTSET_H_
#define
_OPENCV_RESULTSET_H_
#include <algorithm>
...
...
@@ -317,4 +317,4 @@ public:
}
// namespace cvflann
#endif //
RESULTSET_H
#endif //
_OPENCV_RESULTSET_H_
modules/flann/include/opencv2/flann/sampling.h
View file @
e77e152a
...
...
@@ -27,8 +27,8 @@
*************************************************************************/
#ifndef SAMPLING_H_
#define SAMPLING_H_
#ifndef
_OPENCV_
SAMPLING_H_
#define
_OPENCV_
SAMPLING_H_
#include "opencv2/flann/matrix.h"
...
...
@@ -91,4 +91,4 @@ Matrix<T> random_sample(const Matrix<T>& srcMatrix, size_t size)
}
// namespace cvflann
#endif
/* SAMPLING_H_ */
#endif
/*
_OPENCV_
SAMPLING_H_ */
modules/flann/include/opencv2/flann/saving.h
View file @
e77e152a
...
...
@@ -26,8 +26,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef SAVING_H_
#define SAVING_H_
#ifndef
_OPENCV_
SAVING_H_
#define
_OPENCV_
SAVING_H_
#include "opencv2/flann/general.h"
#include "opencv2/flann/nn_index.h"
...
...
@@ -112,4 +112,4 @@ void load_value(FILE* stream, T& value, int count = 1)
}
// namespace cvflann
#endif
/* SAVING_H_ */
#endif
/*
_OPENCV_
SAVING_H_ */
modules/flann/include/opencv2/flann/simplex_downhill.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
SIMPLEX_DOWNHILL_H
#define
SIMPLEX_DOWNHILL_H
#ifndef
_OPENCV_SIMPLEX_DOWNHILL_H_
#define
_OPENCV_SIMPLEX_DOWNHILL_H_
namespace
cvflann
{
...
...
@@ -183,4 +183,4 @@ float optimizeSimplexDownhill(T* points, int n, F func, float* vals = NULL )
}
// namespace cvflann
#endif //
SIMPLEX_DOWNHILL_H
#endif //
_OPENCV_SIMPLEX_DOWNHILL_H_
modules/flann/include/opencv2/flann/timer.h
View file @
e77e152a
...
...
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
#ifndef
TIMER_H
#define
TIMER_H
#ifndef
_OPENCV_TIMER_H_
#define
_OPENCV_TIMER_H_
#include <time.h>
...
...
@@ -87,4 +87,4 @@ public:
}
// namespace cvflann
#endif //
TIMER_H
#endif //
_OPENCV_TIMER_H_
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment