#include <iso_space_ntree.h>
Collaboration diagram for iso::space::NTree:
Public Member Functions | |
NTree (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) | |
create ntree | |
~NTree () | |
destructor | |
void | resize (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) |
change space size | |
NTreeNode * | rootNode () |
return root node | |
base::String | info () const |
obtain textual ntree information | |
Protected Member Functions | |
NTree () | |
Protected Attributes | |
int | mMaxDepth |
maximum ntree depth | |
int | mMinObjectCount |
minimum space object count | |
math::Vector< real > | mMinPos |
ntree minimum space position | |
math::Vector< real > | mMaxPos |
ntree maximum space position | |
NTreeNode * | mRootNode |
root node | |
Friends | |
class | NTreeVisitor |
std::ostream & | operator<< (std::ostream &pOstream, const NTree &pTree) |
retrieve textual ntree information |
segmentation tree for space objects
Created by Daniel Bisig on 3/29/07. Copyright 2006 Daniel Bisig All rights reserved.
create ntree
pMinPos | minimum position in space | |
pMaxPos | maximum position in space |
NTree::~NTree | ( | ) |
destructor
NTree::NTree | ( | ) | [protected] |
/brief default constructor
change space size
pMinPos | minimum position in space | |
pMaxPos | maximum position in space |
NTreeNode * NTree::rootNode | ( | ) |
return root node
base::String NTree::info | ( | ) | const |
obtain textual ntree information
friend class NTreeVisitor [friend] |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const NTree & | pTree | |||
) | [friend] |
retrieve textual ntree information
pOstream | output stream | |
pTree | ntree |
int iso::space::NTree::mMaxDepth [protected] |
maximum ntree depth
> 0 : enforce depth limit < 0 : no depth limit
int iso::space::NTree::mMinObjectCount [protected] |
minimum space object count
minimum number of space objects in a node for recursion to continue creating node children
> 0 : enforce space object count limit < 0 : no space object count limit
math::Vector<real> iso::space::NTree::mMinPos [protected] |
ntree minimum space position
math::Vector<real> iso::space::NTree::mMaxPos [protected] |
ntree maximum space position
NTreeNode* iso::space::NTree::mRootNode [protected] |
root node