DataSet Class Reference
#include <DataSet.h>
List of all members.
Detailed Description
Data set holding the tree and the B-Splines
Constructor & Destructor Documentation
DataSet::DataSet |
( |
Node * |
_root, |
|
|
Node ** |
_nodes, |
|
|
int |
_hierarchyElements | |
|
) |
| | |
Constructs a new DataSet object
- Parameters:
-
| _root | pointer to the root node of the tree |
| _nodes | array of pointers to the nodes of the tree |
| _hierarchyElements | number of nodes in the tree |
Member Function Documentation
void DataSet::addRelation |
( |
int |
index, |
|
|
int |
originIndex, |
|
|
int |
destinationIndex | |
|
) |
| | |
Adds a relation
- Parameters:
-
| index | index of the relation starting at 0 |
| originIndex | index of the origin node |
| destinationIndex | index of the destination node |
void DataSet::buildBalloonTree |
( |
|
) |
|
void DataSet::buildRadialTree |
( |
|
) |
|
void DataSet::buildRootedTree |
( |
|
) |
|
void DataSet::findControlPolygons |
( |
|
) |
[private] |
Finds the control polygons for all pairs of nodes which have a relation
float * DataSet::getBalloonTreeBoundaries |
( |
|
) |
|
Returns the pointer to the array with the boundaries of the Balloon Tree
- Returns:
- pointer to the array with the boundaries of the Balloon Tree in the form xMin, yMin, xMax, yMax
Node * DataSet::getNode |
( |
int |
index |
) |
|
Returns the pointer to a specific Node object
- Parameters:
-
- Returns:
- pointer to the considered Node object
Node ** DataSet::getNodes |
( |
|
) |
|
Returns the pointer to the array with the pointers to the nodes of the tree
- Returns:
- pointer to the array with the pointers to the nodes of the tree
float * DataSet::getRadialTreeBoundaries |
( |
|
) |
|
Returns the pointer to the array with the boundaries of the Radial Tree
- Returns:
- pointer to the array with the boundaries of the Radial Tree in the form xMin, yMin, xMax, yMax
Node * DataSet::getRoot |
( |
|
) |
|
Returns the root of the tree
- Returns:
- pointer to the Node object representing the root of the tree
float * DataSet::getRootedTreeBoundaries |
( |
|
) |
|
Returns the pointer to the array with the boundaries of the Rooted Tree
- Returns:
- pointer to the array with the boundaries of the Rooted Tree in the form xMin, yMin, xMax, yMax
Initializes the dataset (sets the levels of every node, sets the max. fanout, builds the trees and finds the control polygons)
void DataSet::initRelationArrays |
( |
int |
_relationCount |
) |
|
Initializes the arrays for the relation information
- Parameters:
-
| _relationCount | number of relations |
void DataSet::renderBalloon |
( |
|
) |
|
void DataSet::renderRadial |
( |
|
) |
|
void DataSet::renderRooted |
( |
|
) |
|
void DataSet::setBundlingStrength |
( |
float |
bundlingStrength |
) |
|
Sets the bundling strength which modifies the control polygon
- Parameters:
-
| bundlingStrength | the bundling strength which modifies the control polygon |
void DataSet::setHierarchyDepth |
( |
int |
_hierarchyDepth |
) |
|
Sets the number of layers the tree has and makes a new BSplineSet object
- Parameters:
-
| _hierarchyDepth | number of layers the tree has |
void DataSet::setLcaRemoval |
( |
bool |
remove |
) |
|
Sets a boolean value indicating whether the LCA is removed or not
- Parameters:
-
| remove | boolean value indicating whether the LCA is removed or not |
void DataSet::setMaxFanOut |
( |
|
) |
|
Sets the maximum fanout of the tree, which is the maximum number of childs of every node
void DataSet::setRelationVisability |
( |
bool |
visable |
) |
|
Sets a boolean value indicating whether the relations (B-Splines) are rendered or not
- Parameters:
-
| visable | boolean value indicating whether the relations (B-Splines) are rendered or not |
void DataSet::setTreeBoundaries |
( |
|
) |
[private] |
Sets the boundaries of the trees
void DataSet::useTransparency |
( |
bool |
useTransparency |
) |
|
Sets a boolean value indicating whether transparency is used or not
- Parameters:
-
| useTransparency | boolean value indicating whether transparency is used or not |
Member Data Documentation
Array with the boundaries of the Balloon Tree in the form xMin, yMin, xMax, yMax
Boolean value indicating whether the Balloon Tree is built or not
ID of the Displaylist to draw the Balloon Tree
Array with the IDs of nodes which are the destination of directed relationships to other nodes
Number of layers of the tree
Number of nodes in the tree
Maximum of childs of every node
Array of pointers to the nodes of the tree
Count of Nodes per level of the tree
Array with the IDs of nodes which are the origin of directed relationships to other nodes
Array with the boundaries of the Radial Tree in the form xMin, yMin, xMax, yMax
Boolean value indicating whether the Radial Tree is built or not
ID of the Displaylist to draw the Radial Tree
Number of relations (B-Splines) in the tree
Index to insert a new relation into the corresponding arrays
Pointer to the Node-object which is the root of the tree
Array with the boundaries of the Rooted Tree in the form xMin, yMin, xMax, yMax
Boolean value indicating whether the Rooted Tree is built or not
ID of the Displaylist to draw the Rooted Tree
Boolean value indicating whether the relations (B-Splines) are rendered or not
The documentation for this class was generated from the following files:
- Hierarchical_Edge_Bundles/Hierarchical_Edge_Bundles/header/DataSet.h
- Hierarchical_Edge_Bundles/Hierarchical_Edge_Bundles/src/DataSet.cpp