ARLK: ANNkd_tree Class Reference
ARLK  0.1.0
Action Recognition Library for Kinect

#include <ANN.h>

Inheritance diagram for ANNkd_tree:
ANNpointSet ANNbd_tree

Public Member Functions

 ANNkd_tree (int n=0, int dd=0, int bs=1)
 
 ANNkd_tree (ANNpointArray pa, int n, int dd, int bs=1, ANNsplitRule split=ANN_KD_SUGGEST)
 
 ANNkd_tree (std::istream &in)
 
 ~ANNkd_tree ()
 
void annkSearch (ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0)
 
void annkPriSearch (ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0)
 
int annkFRSearch (ANNpoint q, ANNdist sqRad, int k, ANNidxArray nn_idx=NULL, ANNdistArray dd=NULL, double eps=0.0)
 
int theDim ()
 
int nPoints ()
 
ANNpointArray thePoints ()
 
virtual void Print (ANNbool with_pts, std::ostream &out)
 
virtual void Dump (ANNbool with_pts, std::ostream &out)
 
virtual void getStats (ANNkdStats &st)
 
- Public Member Functions inherited from ANNpointSet
virtual ~ANNpointSet ()
 

Protected Member Functions

void SkeletonTree (int n, int dd, int bs, ANNpointArray pa=NULL, ANNidxArray pi=NULL)
 

Protected Attributes

int dim
 
int n_pts
 
int bkt_size
 
ANNpointArray pts
 
ANNidxArray pidx
 
ANNkd_ptr root
 
ANNpoint bnd_box_lo
 
ANNpoint bnd_box_hi
 

Constructor & Destructor Documentation

ANNkd_tree::ANNkd_tree ( int  n = 0,
int  dd = 0,
int  bs = 1 
)
ANNkd_tree::ANNkd_tree ( ANNpointArray  pa,
int  n,
int  dd,
int  bs = 1,
ANNsplitRule  split = ANN_KD_SUGGEST 
)
ANNkd_tree::ANNkd_tree ( std::istream &  in)
ANNkd_tree::~ANNkd_tree ( )

Member Function Documentation

int ANNkd_tree::annkFRSearch ( ANNpoint  q,
ANNdist  sqRad,
int  k,
ANNidxArray  nn_idx = NULL,
ANNdistArray  dd = NULL,
double  eps = 0.0 
)
virtual

Implements ANNpointSet.

void ANNkd_tree::annkPriSearch ( ANNpoint  q,
int  k,
ANNidxArray  nn_idx,
ANNdistArray  dd,
double  eps = 0.0 
)
void ANNkd_tree::annkSearch ( ANNpoint  q,
int  k,
ANNidxArray  nn_idx,
ANNdistArray  dd,
double  eps = 0.0 
)
virtual

Implements ANNpointSet.

virtual void ANNkd_tree::Dump ( ANNbool  with_pts,
std::ostream &  out 
)
virtual
virtual void ANNkd_tree::getStats ( ANNkdStats st)
virtual
int ANNkd_tree::nPoints ( )
inlinevirtual

Implements ANNpointSet.

virtual void ANNkd_tree::Print ( ANNbool  with_pts,
std::ostream &  out 
)
virtual
void ANNkd_tree::SkeletonTree ( int  n,
int  dd,
int  bs,
ANNpointArray  pa = NULL,
ANNidxArray  pi = NULL 
)
protected
int ANNkd_tree::theDim ( )
inlinevirtual

Implements ANNpointSet.

ANNpointArray ANNkd_tree::thePoints ( )
inlinevirtual

Implements ANNpointSet.

Member Data Documentation

int ANNkd_tree::bkt_size
protected
ANNpoint ANNkd_tree::bnd_box_hi
protected
ANNpoint ANNkd_tree::bnd_box_lo
protected
int ANNkd_tree::dim
protected
int ANNkd_tree::n_pts
protected
ANNidxArray ANNkd_tree::pidx
protected
ANNpointArray ANNkd_tree::pts
protected
ANNkd_ptr ANNkd_tree::root
protected

The documentation for this class was generated from the following file: