KdTree Class Reference

#include <KdTree.h>

Inheritance diagram for KdTree:
KdCell

List of all members.

Public Member Functions

virtual KdCellcreateNewBlankCell (int inSplitType, double inSplitValue)
bool notifyPointAdded (NodeWrapper &nw, bool inChange)
NodeWrapperfindBestMatch (NodeWrapper &inLight)
void findNearestRecursive (PotentialCluster &potentialCluster)
void recurse (PotentialCluster &potentialCluster, double which)
bool couldBeCloser (PotentialCluster &outCluster)
 Determines if any element of this cell could be closer to the the cluster, outCluster, using the metrics defined in inBuilder.

Static Public Member Functions

static KdTreecreateTree (vector< NodeWrapper * > &inPoints)
static void getAll (KdCell &tree, vector< NodeWrapper * > &allLeaves)

Private Member Functions

 KdTree ()
 KdTree (int st, double sv)

Private Attributes

double minLightIntensity
double maxConeCosine
Point3 minHalfSize

Constructor & Destructor Documentation

KdTree::KdTree (  )  [inline, private]
KdTree::KdTree ( int  st,
double  sv 
) [inline, private]

Member Function Documentation

bool KdTree::couldBeCloser ( PotentialCluster outCluster  )  [inline]

Determines if any element of this cell could be closer to the the cluster, outCluster, using the metrics defined in inBuilder.

Parameters:
outCluster the cluster to test
inBuilder the builder defining closeness
Returns:
true if an element could be closer, false otherwise
virtual KdCell* KdTree::createNewBlankCell ( int  inSplitType,
double  inSplitValue 
) [inline, virtual]

Reimplemented from KdCell.

static KdTree* KdTree::createTree ( vector< NodeWrapper * > &  inPoints  )  [inline, static]
NodeWrapper* KdTree::findBestMatch ( NodeWrapper inLight  )  [inline]
void KdTree::findNearestRecursive ( PotentialCluster potentialCluster  )  [inline]
static void KdTree::getAll ( KdCell tree,
vector< NodeWrapper * > &  allLeaves 
) [inline, static]
bool KdTree::notifyPointAdded ( NodeWrapper nw,
bool  inChange 
) [inline]

Reimplemented from KdCell.

void KdTree::recurse ( PotentialCluster potentialCluster,
double  which 
) [inline]

Member Data Documentation

double KdTree::maxConeCosine [private]
double KdTree::minLightIntensity [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:27 2011 for Galois by  doxygen 1.6.3