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

node searchRoot (const Graph *tree)
int getTreeDepth (const Graph *tree, node root)
bool isLeaf (const Graph *tree, node n)
float getNodeX (LayoutProperty *pLayout, node current)
float getNodeY (LayoutProperty *pLayout, node current)
float getNodeHeight (SizeProperty *size, node current)
float getNodeWidth (SizeProperty *size, node current)

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  ) 
 


Generated on Fri Jan 5 14:21:32 2007 for Tulip Plugins by  doxygen 1.4.6