Hierarchical Edge Bundle 1.0
Public Member Functions
SplineSet Class Reference

#include <SplineSet.h>

Collaboration diagram for SplineSet:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

This class organizes the B-Spline objects


Constructor & Destructor Documentation

SplineSet::SplineSet ( int  numberOfHierarchy)

Constructs a new SplineSet object the parameter needed is the numberOfHierarchy for the unerlaying Basisfunktions

SplineSet::~SplineSet ( )

Destructor


Member Function Documentation

void SplineSet::addBSpline ( QVector< QVector3D > *  polygon,
int  size,
int  view,
float  id 
)

adds a Bspline with the given controlpolygon to the view-corresponding QVector

Parameters:
polygona pointer to the object with the controlpoints of the controlpolygon
sizethe number of control points
viewdetermines to which QVector the B-Spline is added
idis the id of the adjaceny edge

Here is the caller graph for this function:

QVector< BSpline * > * SplineSet::getSplineVector ( int  view)

return a pointer to the Vector with pointer to all the B-Splines corresponding to the view

Parameters:
viewindicates which QVector should be returned by these Method
Returns:
a pointer to the specified QVector

Here is the caller graph for this function:

void SplineSet::setNewBundlingValue ( float  bundlingBeta)

calls the recalculate-method of the B-Spline objects in all QVectors

Parameters:
bundlingBetais the bundling strength and is between 0.0f and 1.0f

Here is the caller graph for this function:

void SplineSet::sortBSpline ( )

sorts the B-Splines in a QVector ascending by length

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines