#include <result_set.h>
Classes | |
struct | Item |
Public Member Functions | |
bool | addPoint (const ELEM_TYPE *point, int index) |
bool | full () const |
float * | getDistances () |
int * | getNeighbors () |
void | init (const ELEM_TYPE *target_, int veclen_) |
RadiusResultSet (float radius_) | |
size_t | size () const |
float | worstDist () const |
~RadiusResultSet () | |
Private Member Functions | |
void | resize_vecs () |
Private Attributes | |
size_t | count |
float * | dists |
int * | indices |
vector< Item > | items |
float | radius |
bool | sorted |
const ELEM_TYPE * | target |
const ELEM_TYPE * | target_end |
int | veclen |
A result-set class used when performing a radius based search.
Definition at line 203 of file result_set.h.
cvflann::RadiusResultSet< ELEM_TYPE >::RadiusResultSet | ( | float | radius_ | ) | [inline] |
Definition at line 239 of file result_set.h.
cvflann::RadiusResultSet< ELEM_TYPE >::~RadiusResultSet | ( | ) | [inline] |
Definition at line 247 of file result_set.h.
bool cvflann::RadiusResultSet< ELEM_TYPE >::addPoint | ( | const ELEM_TYPE * | point, | |
int | index | |||
) | [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 298 of file result_set.h.
bool cvflann::RadiusResultSet< ELEM_TYPE >::full | ( | ) | const [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 293 of file result_set.h.
float* cvflann::RadiusResultSet< ELEM_TYPE >::getDistances | ( | ) | [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 275 of file result_set.h.
int* cvflann::RadiusResultSet< ELEM_TYPE >::getNeighbors | ( | ) | [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 262 of file result_set.h.
void cvflann::RadiusResultSet< ELEM_TYPE >::init | ( | const ELEM_TYPE * | target_, | |
int | veclen_ | |||
) | [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 253 of file result_set.h.
void cvflann::RadiusResultSet< ELEM_TYPE >::resize_vecs | ( | ) | [inline, private] |
Definition at line 227 of file result_set.h.
size_t cvflann::RadiusResultSet< ELEM_TYPE >::size | ( | ) | const [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 288 of file result_set.h.
float cvflann::RadiusResultSet< ELEM_TYPE >::worstDist | ( | ) | const [inline, virtual] |
Implements cvflann::ResultSet< ELEM_TYPE >.
Definition at line 311 of file result_set.h.
size_t cvflann::RadiusResultSet< ELEM_TYPE >::count [private] |
Definition at line 224 of file result_set.h.
float* cvflann::RadiusResultSet< ELEM_TYPE >::dists [private] |
Definition at line 223 of file result_set.h.
int* cvflann::RadiusResultSet< ELEM_TYPE >::indices [private] |
Definition at line 222 of file result_set.h.
vector<Item> cvflann::RadiusResultSet< ELEM_TYPE >::items [private] |
Definition at line 218 of file result_set.h.
float cvflann::RadiusResultSet< ELEM_TYPE >::radius [private] |
Definition at line 219 of file result_set.h.
bool cvflann::RadiusResultSet< ELEM_TYPE >::sorted [private] |
Definition at line 221 of file result_set.h.
const ELEM_TYPE* cvflann::RadiusResultSet< ELEM_TYPE >::target [private] |
Definition at line 205 of file result_set.h.
const ELEM_TYPE* cvflann::RadiusResultSet< ELEM_TYPE >::target_end [private] |
Definition at line 206 of file result_set.h.
int cvflann::RadiusResultSet< ELEM_TYPE >::veclen [private] |
Definition at line 207 of file result_set.h.