#include <GraphManager.h>

Classes | |
| struct | AdjEdgeRelation |
| An additional relation between tree nodes. | |
| struct | TreeNode |
| A single node of the tree. | |
Public Member Functions | |
| GraphManager (void) | |
| Default Constructor. | |
| ~GraphManager (void) | |
| Destructor. | |
| void | Init (void) |
| Init the GraphManager and sets default parameters. | |
| void | Clear (void) |
| Frees all allocated memory. | |
| void | LoadRSFFile (string filename) |
| Loads a Graph from an .rsf file. | |
| void | BuildSplines () |
| Creates data needed for the splines (control points, etc.). | |
| void | CalculateSplines () |
| Calculates the beta=0 and beta=1 version of all splines. | |
| void | BuildLayouts () |
| Creates data needed for rendering the tree. | |
| void | SetTreeLayout (TreeLayout newTreeLayout) |
| Sets a new layout for rendering the tree. | |
| void | SetBeta (float newBeta) |
| Sets a new beta for rendering the splines. | |
| void | SortSplines (void) |
| Sorts splines by their length. | |
| void | Render (void) |
| Renders the tree and the splines. | |
| void | RenderRadialTree (void) |
| Render the tree with radial layout. | |
| void | RenderClassicTree (void) |
| Render the tree with classic layout. | |
| void | RenderTreeMap (void) |
| Render the tree with tree map layout. | |
| void | RenderTreeStructure (void) |
| Renders the layout of the tree used for the splines as control polygons. | |
| void | RenderSplines (void) |
| Renders the splines. | |
| void | Exit (void) |
| Exits the GraphManager and frees memory. | |
Public Attributes | |
| TreeLayout | treeLayout |
| The layout used to render the tree. | |
| BlendMode | blendMode |
| The mode used for blending the splines. | |
| float | minAlpha |
| The minimum value for alpha (when using alpha blending). | |
| float | alphaExponent |
| A exponent applied to alpha (when using alpha blending). | |
| bool | flipAlpha |
| Flip alpha (means 1-alpha) or not (when using alpha blending). | |
| float | lineWidth |
| Line width used when rendering the tree. | |
| float | splineWidth |
| Line width used when rendering the splines. | |
| bool | showTreeStructure |
| Render the inner structure of the tree (used as control points for splines). | |
| bool | showSplines |
| Render the splines or not. | |
| unsigned int | currentColorTexture |
| Current texture used to texture the splines. | |
| unsigned int | numTreeNodes |
| Number of tree nodes. | |
| unsigned int | numAdjRelations |
| Number of splines. | |
| float | treeMapLayoutSpacing |
| Spacing used by the TreeMap. | |
Friends | |
| class | Singleton< GraphManager > |
| void GraphManager::LoadRSFFile | ( | string | filename | ) |
Loads a Graph from an .rsf file.
| filename | Directory and name of the .rsf file. |
| void GraphManager::SetBeta | ( | float | newBeta | ) |
Sets a new beta for rendering the splines.
| beta | The new beta. |
| void GraphManager::SetTreeLayout | ( | TreeLayout | newTreeLayout | ) |
Sets a new layout for rendering the tree.
| newTreeLayout | The new layout. |
1.5.9