struct cv::flann::IndexParams

#include <miniflann.hpp>

struct IndexParams
{
    // fields

    void* params;

    // methods

    void
    getAll(
        std::vector<String>& names,
        std::vector<int>& types,
        std::vector<String>& strValues,
        std::vector<double>& numValues
        ) const;

    double
    getDouble(
        const String& key,
        double defaultVal = -1
        ) const;

    int
    getInt(
        const String& key,
        int defaultVal = -1
        ) const;

    String
    getString(
        const String& key,
        const String& defaultVal = String()
        ) const;

    void
    setAlgorithm(int value);

    void
    setBool(
        const String& key,
        bool value
        );

    void
    setDouble(
        const String& key,
        double value
        );

    void
    setFloat(
        const String& key,
        float value
        );

    void
    setInt(
        const String& key,
        int value
        );

    void
    setString(
        const String& key,
        const String& value
        );
};

// direct descendants

struct AutotunedIndexParams;
struct CompositeIndexParams;
struct HierarchicalClusteringIndexParams;
struct KDTreeIndexParams;
struct KMeansIndexParams;
struct LinearIndexParams;
struct LshIndexParams;
struct SavedIndexParams;
struct SearchParams;