#include <iso_space_ntree_visitor.h>
Collaboration diagram for iso::space::NTreeVisitor:
Public Member Functions | |
NTreeVisitor (unsigned int pDimension) | |
~NTreeVisitor () | |
void | createNodePool () |
void | buildTree (NTree &pTree, QVector< SpaceProxyObject * > &pObjects) |
void | buildTree (NTree &pTree, NTreeNode *pNode) |
void | updateTree (NTree &pTree, QVector< SpaceProxyObject * > &pObjects) |
void | updateTree (NTree &pTree, NTreeNode *pNode) |
void | calcNeighbors (NTree &pTree, QVector< SpaceProxyObject * > &pObjects) |
void | calcNeighbors (NTreeNode *pNode, QVector< SpaceProxyObject * > &pObjects) |
void | calcNeighbors (NTreeNode *pNode, SpaceProxyObject *pObject) |
void | clearTree (NTree &pTree) |
void | clearTree (NTreeNode *pNode) |
void | printTree (const NTree &pTree) const |
void | printTree (const NTreeNode *pNode) const |
base::String | info (const NTree &pTree) const |
print ntree information | |
base::String | info (const NTreeNode *pNode) const |
print ntree node information | |
Protected Member Functions | |
NTreeVisitor () | |
Protected Attributes | |
unsigned int | mDim |
dimension | |
math::Vector< real > | mCenterPos |
temporaey node center position | |
math::Vector< real > | mMinPos |
temporary node minimum position | |
math::Vector< real > | mMaxPos |
temporary node maximum position | |
NTreeNodePool * | mNodePool |
pool of nodes for building an ntree |
parameter space tree
Created by Daniel Bisig on 3/29/07. Copyright 2006 Daniel Bisig All rights reserved.
NTreeVisitor::NTreeVisitor | ( | unsigned int | pDimension | ) |
NTreeVisitor::~NTreeVisitor | ( | ) |
NTreeVisitor::NTreeVisitor | ( | ) | [protected] |
void NTreeVisitor::createNodePool | ( | ) |
void NTreeVisitor::buildTree | ( | NTree & | pTree, | |
QVector< SpaceProxyObject * > & | pObjects | |||
) |
void NTreeVisitor::updateTree | ( | NTree & | pTree, | |
QVector< SpaceProxyObject * > & | pObjects | |||
) |
void NTreeVisitor::calcNeighbors | ( | NTree & | pTree, | |
QVector< SpaceProxyObject * > & | pObjects | |||
) |
void NTreeVisitor::calcNeighbors | ( | NTreeNode * | pNode, | |
QVector< SpaceProxyObject * > & | pObjects | |||
) |
void NTreeVisitor::calcNeighbors | ( | NTreeNode * | pNode, | |
SpaceProxyObject * | pObject | |||
) |
void NTreeVisitor::clearTree | ( | NTree & | pTree | ) |
void NTreeVisitor::clearTree | ( | NTreeNode * | pNode | ) |
void NTreeVisitor::printTree | ( | const NTree & | pTree | ) | const |
void NTreeVisitor::printTree | ( | const NTreeNode * | pNode | ) | const |
base::String NTreeVisitor::info | ( | const NTree & | pTree | ) | const |
print ntree information
pTree | ntree |
base::String NTreeVisitor::info | ( | const NTreeNode * | pNode | ) | const |
print ntree node information
pNode | ntree node |
unsigned int iso::space::NTreeVisitor::mDim [protected] |
dimension
math::Vector<real> iso::space::NTreeVisitor::mCenterPos [protected] |
temporaey node center position
math::Vector<real> iso::space::NTreeVisitor::mMinPos [protected] |
temporary node minimum position
math::Vector<real> iso::space::NTreeVisitor::mMaxPos [protected] |
temporary node maximum position
NTreeNodePool* iso::space::NTreeVisitor::mNodePool [protected] |
pool of nodes for building an ntree