KDTree< T >::KDTree::PointHeap::KDTree::PointHeap::HeapNode Struct Reference

One element of the heap representing a node in the KDTree kd. More...

List of all members.

Public Member Functions

 HeapNode ()
 No-init constructor.
 HeapNode (int nodeIndex_, T *data_)
 Initializes the members from the parameters.
T & getSE ()
 Returns reference to the SE of the nearest point to this node's bounding box.
getSE () const
 Returns the SE of the nearest point to this node's bounding box.
T * getNearest ()
 Returns pointer to the nearest point to this node's bounding box.

Public Attributes

int nodeIndex
 Index of the node in kd.
T * data
 Stores the SE and the coordinates of the nearest point (to this node's bounding box).


Detailed Description

template<class T>
struct KDTree< T >::PointHeap::HeapNode

One element of the heap representing a node in the KDTree kd.

Definition at line 146 of file kdTree.h.


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

Generated on Thu Aug 6 22:33:14 2009 for Fractal Image Compressor by  doxygen 1.5.8