TreeRadial(3) An implementation of a radial drawing of trees.

Other Alias

TreeRadial.cpp

SYNOPSIS


Public Member Functions


void dfsComputeNodeRadii (node n, unsigned depth, SizeProperty *sizes)

void bfsComputeLayerRadii (float lSpacing, float nSpacing, SizeProperty *sizes)

double dfsComputeAngularSpread (node n, unsigned int depth, SizeProperty *sizes, DoubleProperty *angles)

void doLayout (node n, unsigned int depth, double startAngle, double endAngle, DoubleProperty *angles, bool checkAngle=false)

TreeRadial (const PropertyContext &context)

bool run ()

Public Attributes


Graph * tree

vector< float > nRadii

vector< float > lRadii

vector< vector< node > > bfs

Detailed Description

TreeRadial.cpp - An implementation of a radial drawing of trees.

This algorithm is inspired from MoireGraphs: Radial Focus+Context Visualization and Interaction for Graphs with Visual Nodes from T. J. Jankun-Kelly, Kwan-Liu Ma published in IEEE Symposium on Information Visualization (2003)

Constructor & Destructor Documentation

TreeRadial::TreeRadial (const PropertyContext & context) [inline]

Member Function Documentation

void TreeRadial::bfsComputeLayerRadii (float lSpacing, float nSpacing, SizeProperty * sizes) [inline]

double TreeRadial::dfsComputeAngularSpread (node n, unsigned int depth, SizeProperty * sizes, DoubleProperty * angles) [inline]

void TreeRadial::dfsComputeNodeRadii (node n, unsigned depth, SizeProperty * sizes) [inline]

void TreeRadial::doLayout (node n, unsigned int depth, double startAngle, double endAngle, DoubleProperty * angles, bool checkAngle = false) [inline]

bool TreeRadial::run () [inline]

Member Data Documentation

vector<vector <node> > TreeRadial::bfs

vector<float> TreeRadial::lRadii

vector<float> TreeRadial::nRadii

Graph* TreeRadial::tree

Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.