|
Hierarchical Edge Bundle 1.0
|
#include <SplineSet.h>

Public Member Functions | |
| SplineSet (int numberOfHierarchy) | |
| ~SplineSet () | |
| void | addBSpline (QVector< QVector3D > *polygon, int size, int view, float id) |
| void | setNewBundlingValue (float bundlingBeta) |
| QVector< BSpline * > * | getSplineVector (int view) |
| void | sortBSpline () |
This class organizes the B-Spline objects
| SplineSet::SplineSet | ( | int | numberOfHierarchy | ) |
Constructs a new SplineSet object the parameter needed is the numberOfHierarchy for the unerlaying Basisfunktions
| SplineSet::~SplineSet | ( | ) |
Destructor
| void SplineSet::addBSpline | ( | QVector< QVector3D > * | polygon, |
| int | size, | ||
| int | view, | ||
| float | id | ||
| ) |
adds a Bspline with the given controlpolygon to the view-corresponding QVector
| polygon | a pointer to the object with the controlpoints of the controlpolygon |
| size | the number of control points |
| view | determines to which QVector the B-Spline is added |
| id | is the id of the adjaceny edge |

| QVector< BSpline * > * SplineSet::getSplineVector | ( | int | view | ) |
return a pointer to the Vector with pointer to all the B-Splines corresponding to the view
| view | indicates which QVector should be returned by these Method |

| void SplineSet::setNewBundlingValue | ( | float | bundlingBeta | ) |
calls the recalculate-method of the B-Spline objects in all QVectors
| bundlingBeta | is the bundling strength and is between 0.0f and 1.0f |

| void SplineSet::sortBSpline | ( | ) |
sorts the B-Splines in a QVector ascending by length


1.7.4