renamed cv::flann to cv::cvflann to avoid name conflicts

This commit is contained in:
Vadim Pisarevsky
2010-05-21 20:37:05 +00:00
parent 60019422e8
commit b94e09bfeb
39 changed files with 155 additions and 144 deletions

View File

@@ -36,7 +36,7 @@
#include "ground_truth.h"
#include "index_testing.h"
namespace flann
namespace cvflann
{
class AutotunedIndex : public NNIndex

View File

@@ -34,7 +34,7 @@
#include "constants.h"
#include "nn_index.h"
namespace flann
namespace cvflann
{
class CompositeIndex : public NNIndex

View File

@@ -30,7 +30,7 @@
#include "dist.h"
namespace flann
namespace cvflann
{
/** Global variable indicating the distance metric

View File

@@ -36,7 +36,7 @@ using namespace std;
#include "constants.h"
namespace flann
namespace cvflann
{
/**

View File

@@ -48,7 +48,7 @@
using namespace std;
namespace flann
namespace cvflann
{

View File

@@ -50,7 +50,7 @@
using namespace std;
namespace flann
namespace cvflann
{
/**

View File

@@ -34,7 +34,7 @@
#include "constants.h"
#include "nn_index.h"
namespace flann
namespace cvflann
{
class LinearIndex : public NNIndex {

View File

@@ -41,7 +41,7 @@
using namespace std;
namespace flann
namespace cvflann
{
class ResultSet;

View File

@@ -58,7 +58,7 @@ using namespace std;
#endif
namespace flann
namespace cvflann
{
typedef ObjectFactory<IndexParams, flann_algorithm_t> ParamsFactory;
@@ -224,7 +224,7 @@ int hierarchicalClustering(const Matrix<float>& features, Matrix<float>& centers
using namespace flann;
using namespace cvflann;
typedef NNIndex* NNIndexPtr;
typedef Matrix<float>* MatrixPtr;

View File

@@ -40,7 +40,7 @@
#include "flann.h"
namespace flann
namespace cvflann
{
class NNIndex;

View File

@@ -34,7 +34,7 @@
#include "matrix.h"
#include "dist.h"
namespace flann
namespace cvflann
{
template <typename T>

View File

@@ -40,7 +40,7 @@
#include <string.h>
#include <stdlib.h>
namespace flann
namespace cvflann
{
const float SEARCH_EPS = 0.001f;

View File

@@ -38,7 +38,7 @@
using namespace std;
namespace flann
namespace cvflann
{
void search_for_neighbors(NNIndex& index, const Matrix<float>& testset, Matrix<int>& result, Matrix<float>& dists, const SearchParams &searchParams, int skip = 0);

View File

@@ -31,7 +31,7 @@
#ifndef SIMPLEX_DOWNHILL_H
#define SIMPLEX_DOWNHILL_H
namespace flann
namespace cvflann
{
/**

View File

@@ -35,7 +35,7 @@
#include <stdio.h>
namespace flann
namespace cvflann
{
/**

View File

@@ -36,7 +36,7 @@
#include <stdexcept>
namespace flann
namespace cvflann
{
class FLANNException : public std::runtime_error {
public:

View File

@@ -35,7 +35,7 @@
#include <algorithm>
using namespace std;
namespace flann
namespace cvflann
{
/**

View File

@@ -36,7 +36,7 @@
using namespace std;
namespace flann
namespace cvflann
{
Logger logger;

View File

@@ -39,7 +39,7 @@
using namespace std;
namespace flann
namespace cvflann
{
class Logger

View File

@@ -35,7 +35,7 @@
#include <random.h>
namespace flann
namespace cvflann
{
/**
* Class implementing a generic rectangular dataset.

View File

@@ -33,7 +33,7 @@
#include <map>
namespace flann
namespace cvflann
{
template<typename BaseClass, typename DerivedClass>

View File

@@ -31,7 +31,7 @@
#include "random.h"
namespace flann
namespace cvflann
{
void seed_random(unsigned int seed)

View File

@@ -37,7 +37,7 @@
using namespace std;
namespace flann
namespace cvflann
{
/**

View File

@@ -40,7 +40,7 @@
using namespace std;
namespace flann
namespace cvflann
{
/* This record represents a branch point when finding neighbors in

View File

@@ -33,7 +33,7 @@
#include "nn_index.h"
#include <cstdio>
namespace flann
namespace cvflann
{
const char FLANN_SIGNATURE[] = "FLANN_INDEX";

View File

@@ -35,7 +35,7 @@
#include "nn_index.h"
namespace flann
namespace cvflann
{
/**

View File

@@ -34,7 +34,7 @@
#include <time.h>
namespace flann
namespace cvflann
{
/**

View File

@@ -36,7 +36,7 @@
#include <stdexcept>
namespace flann
namespace cvflann
{
class FLANNException : public std::runtime_error {
public:

View File

@@ -40,7 +40,7 @@
#include "flann.h"
namespace flann
namespace cvflann
{
class NNIndex;

View File

@@ -35,7 +35,7 @@
#include "random.h"
namespace flann
namespace cvflann
{
/**
* Class implementing a generic rectangular dataset.

View File

@@ -37,7 +37,7 @@
using namespace std;
namespace flann
namespace cvflann
{
/**