cvflann::RadiusResultSet< ELEM_TYPE > Class Template Reference

#include <result_set.h>

Inheritance diagram for cvflann::RadiusResultSet< ELEM_TYPE >:
Inheritance graph
[legend]

List of all members.

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< Itemitems
float radius
bool sorted
const ELEM_TYPE * target
const ELEM_TYPE * target_end
int veclen

Detailed Description

template<typename ELEM_TYPE>
class cvflann::RadiusResultSet< ELEM_TYPE >

A result-set class used when performing a radius based search.

Definition at line 203 of file result_set.h.


Constructor & Destructor Documentation

template<typename ELEM_TYPE >
cvflann::RadiusResultSet< ELEM_TYPE >::RadiusResultSet ( float  radius_  )  [inline]

Definition at line 239 of file result_set.h.

template<typename ELEM_TYPE >
cvflann::RadiusResultSet< ELEM_TYPE >::~RadiusResultSet (  )  [inline]

Definition at line 247 of file result_set.h.


Member Function Documentation

template<typename ELEM_TYPE >
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.

template<typename ELEM_TYPE >
bool cvflann::RadiusResultSet< ELEM_TYPE >::full (  )  const [inline, virtual]

Implements cvflann::ResultSet< ELEM_TYPE >.

Definition at line 293 of file result_set.h.

template<typename ELEM_TYPE >
float* cvflann::RadiusResultSet< ELEM_TYPE >::getDistances (  )  [inline, virtual]

Implements cvflann::ResultSet< ELEM_TYPE >.

Definition at line 275 of file result_set.h.

template<typename ELEM_TYPE >
int* cvflann::RadiusResultSet< ELEM_TYPE >::getNeighbors (  )  [inline, virtual]

Implements cvflann::ResultSet< ELEM_TYPE >.

Definition at line 262 of file result_set.h.

template<typename ELEM_TYPE >
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.

template<typename ELEM_TYPE >
void cvflann::RadiusResultSet< ELEM_TYPE >::resize_vecs (  )  [inline, private]

Definition at line 227 of file result_set.h.

template<typename ELEM_TYPE >
size_t cvflann::RadiusResultSet< ELEM_TYPE >::size (  )  const [inline, virtual]

Implements cvflann::ResultSet< ELEM_TYPE >.

Definition at line 288 of file result_set.h.

template<typename ELEM_TYPE >
float cvflann::RadiusResultSet< ELEM_TYPE >::worstDist (  )  const [inline, virtual]

Implements cvflann::ResultSet< ELEM_TYPE >.

Definition at line 311 of file result_set.h.


Member Data Documentation

template<typename ELEM_TYPE >
size_t cvflann::RadiusResultSet< ELEM_TYPE >::count [private]

Definition at line 224 of file result_set.h.

template<typename ELEM_TYPE >
float* cvflann::RadiusResultSet< ELEM_TYPE >::dists [private]

Definition at line 223 of file result_set.h.

template<typename ELEM_TYPE >
int* cvflann::RadiusResultSet< ELEM_TYPE >::indices [private]

Definition at line 222 of file result_set.h.

template<typename ELEM_TYPE >
vector<Item> cvflann::RadiusResultSet< ELEM_TYPE >::items [private]

Definition at line 218 of file result_set.h.

template<typename ELEM_TYPE >
float cvflann::RadiusResultSet< ELEM_TYPE >::radius [private]

Definition at line 219 of file result_set.h.

template<typename ELEM_TYPE >
bool cvflann::RadiusResultSet< ELEM_TYPE >::sorted [private]

Definition at line 221 of file result_set.h.

template<typename ELEM_TYPE >
const ELEM_TYPE* cvflann::RadiusResultSet< ELEM_TYPE >::target [private]

Definition at line 205 of file result_set.h.

template<typename ELEM_TYPE >
const ELEM_TYPE* cvflann::RadiusResultSet< ELEM_TYPE >::target_end [private]

Definition at line 206 of file result_set.h.

template<typename ELEM_TYPE >
int cvflann::RadiusResultSet< ELEM_TYPE >::veclen [private]

Definition at line 207 of file result_set.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:49 2013