iso::space::NTreeNode Class Reference

parameter space tree node More...

#include <iso_space_ntree_node.h>

Collaboration diagram for iso::space::NTreeNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NTreeNode (unsigned int pDimension)
 create ntree node
 ~NTreeNode ()
 destructor
unsigned int dim () const
 return dimension
unsigned int childrenCount () const
 return number of children nodes
unsigned int level () const
 return node level within ntree
unsigned int objectCount () const
 return number of parameters stored in node
void clear ()
 clear node
base::String info () const
 obtain textual node information

Protected Member Functions

 NTreeNode ()
 default constructor

Protected Attributes

NTreeNodemParent
 parent node
NTreeNode ** mChildren
 array of children nodes
unsigned int mChildrenCount
 number of children nodes
QVector< SpaceProxyObject * > mObjects
 stored parameters
SpaceProxyObjectmLastCheckedObject
 last checked parameter
unsigned int mLevel
 node level within ntree
math::Vector< realmMinPos
 minimum corner of node hypercube
math::Vector< realmMaxPos
 maximum corner of node hypercube

Friends

class NTreeVisitor
std::ostream & operator<< (std::ostream &pOstream, const NTreeNode &pNode)
 retrieve textual node pool information

Detailed Description

parameter space tree node

tree node

Created by Daniel Bisig on 3/29/07. Copyright 2006 Daniel Bisig All rights reserved.


Constructor & Destructor Documentation

NTreeNode::NTreeNode ( unsigned int  pDimension  ) 

create ntree node

Parameters:
pDimension dimension of node

NTreeNode::~NTreeNode (  ) 

destructor

NTreeNode::NTreeNode (  )  [protected]

default constructor


Member Function Documentation

unsigned int NTreeNode::dim (  )  const

return dimension

unsigned int NTreeNode::childrenCount (  )  const

return number of children nodes

unsigned int NTreeNode::level (  )  const

return node level within ntree

unsigned int NTreeNode::objectCount (  )  const

return number of parameters stored in node

void NTreeNode::clear (  ) 

clear node

removes all node children and parameters

base::String NTreeNode::info (  )  const

obtain textual node information

Returns:
String containing node information


Friends And Related Function Documentation

friend class NTreeVisitor [friend]

std::ostream& operator<< ( std::ostream &  pOstream,
const NTreeNode pNode 
) [friend]

retrieve textual node pool information

Parameters:
pOstream output stream
pNode ntree node


Member Data Documentation

NTreeNode* iso::space::NTreeNode::mParent [protected]

parent node

NTreeNode** iso::space::NTreeNode::mChildren [protected]

array of children nodes

unsigned int iso::space::NTreeNode::mChildrenCount [protected]

number of children nodes

QVector<SpaceProxyObject*> iso::space::NTreeNode::mObjects [protected]

stored parameters

SpaceProxyObject* iso::space::NTreeNode::mLastCheckedObject [protected]

last checked parameter

for internal use only
required when building space opject neighbor lists

unsigned int iso::space::NTreeNode::mLevel [protected]

node level within ntree

math::Vector<real> iso::space::NTreeNode::mMinPos [protected]

minimum corner of node hypercube

math::Vector<real> iso::space::NTreeNode::mMaxPos [protected]

maximum corner of node hypercube


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:08:15 2011 for iso_space by  doxygen 1.5.1