rsdl_kd_node Class Reference

#include <rsdl_kd_tree.h>

List of all members.


Detailed Description

Definition at line 11 of file rsdl_kd_tree.h.


Public Member Functions

 rsdl_kd_node (const rsdl_bounding_box &outer_box, const rsdl_bounding_box &inner_box, unsigned int depth)
 ctor for internal node.
 rsdl_kd_node (const rsdl_bounding_box &outer_box, const rsdl_bounding_box &inner_box, unsigned int depth, const vcl_vector< int > &indices)
 ctor for leaf node.

Public Attributes

rsdl_bounding_box outer_box_
 outer bounding box in both cartesian and angular dimensions.
rsdl_bounding_box inner_box_
 inner bounding box in both cartesian and angular dimensions.
unsigned int depth_
 depth of node in the tree.
vcl_vector< int > point_indices_
 indices of the points stored at this leaf.
rsdl_kd_nodeleft_
 left child.
rsdl_kd_noderight_
 right child.

Constructor & Destructor Documentation

rsdl_kd_node::rsdl_kd_node ( const rsdl_bounding_box outer_box,
const rsdl_bounding_box inner_box,
unsigned int  depth 
) [inline]

ctor for internal node.

Definition at line 15 of file rsdl_kd_tree.h.

rsdl_kd_node::rsdl_kd_node ( const rsdl_bounding_box outer_box,
const rsdl_bounding_box inner_box,
unsigned int  depth,
const vcl_vector< int > &  indices 
) [inline]

ctor for leaf node.

Definition at line 22 of file rsdl_kd_tree.h.


Member Data Documentation

rsdl_bounding_box rsdl_kd_node::outer_box_

outer bounding box in both cartesian and angular dimensions.

Definition at line 30 of file rsdl_kd_tree.h.

rsdl_bounding_box rsdl_kd_node::inner_box_

inner bounding box in both cartesian and angular dimensions.

Definition at line 32 of file rsdl_kd_tree.h.

unsigned int rsdl_kd_node::depth_

depth of node in the tree.

Definition at line 34 of file rsdl_kd_tree.h.

vcl_vector< int > rsdl_kd_node::point_indices_

indices of the points stored at this leaf.

Definition at line 36 of file rsdl_kd_tree.h.

rsdl_kd_node* rsdl_kd_node::left_

left child.

Definition at line 38 of file rsdl_kd_tree.h.

rsdl_kd_node* rsdl_kd_node::right_

right child.

Definition at line 40 of file rsdl_kd_tree.h.


The documentation for this class was generated from the following file:
Generated on Mon Mar 8 05:26:58 2010 for contrib/rpl/rsdl by  doxygen 1.5.1