Poster of Linux kernelThe best gift for a Linux geek
TreeRadial

TreeRadial

Section: Tulip Plugins Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

TreeRadial -

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

 

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.


 

Index

NAME
SYNOPSIS
Public Member Functions
Public Attributes
Detailed Description
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

This document was created by man2html, using the manual pages.
Time: 22:28:30 GMT, April 16, 2011