Overview     Modules     Class Hierarchy     Classes     Members  

TreeTools.cpp File Reference

#include <algorithm>
#include <tulip/Graph.h>
#include <tulip/LayoutProperty.h>
#include <tulip/SizeProperty.h>
#include "TreeTools.h"

Include dependency graph for TreeTools.cpp:

Functions


Function Documentation

float getNodeHeight SizeProperty *  size,
node  current
 

float getNodeWidth SizeProperty *  size,
node  current
 

float getNodeX LayoutProperty *  pLayout,
node  current
 

float getNodeY LayoutProperty *  pLayout,
node  current
 

int getTreeDepth const Graph *  tree,
node  root
 

bool isLeaf const Graph *  tree,
node  n
 

node searchRoot const Graph *  tree  ) 
 



Tulip Software by David AUBER    2001 - 2006