EdgeClustering.Graph Class Reference
This class provides all the functionality to compute the edge bundled graph. All computationals functions are bundled here.
More...
List of all members.
Classes
Public Member Functions
Static Public Attributes
Properties
Private Member Functions
Private Attributes
Static Private Attributes
Detailed Description
- Author:
- Manuel Keglevic
-
Thomas Schulz
Definition at line 17 of file Graph.cs.
Constructor & Destructor Documentation
EdgeClustering.Graph.Graph |
( |
int |
points, |
|
|
int |
edges | |
|
) |
| | |
Initializes a new random Graph.
- Parameters:
-
| points | number of points |
| edges | number of edges per point |
Definition at line 131 of file Graph.cs.
EdgeClustering.Graph.Graph |
( |
string |
filename |
) |
|
Loads a graph from a xml data file.
- Parameters:
-
| filename | filename of the datafile |
Definition at line 142 of file Graph.cs.
Member Function Documentation
void EdgeClustering.Graph.WriteXMLGraph |
( |
String |
filename |
) |
|
Saves the graph to an XML file.
- Parameters:
-
Definition at line 152 of file Graph.cs.
void EdgeClustering.Graph.ReadXMLInit |
( |
String |
filename |
) |
|
Reads a graph out of an XML file.
- Parameters:
-
Definition at line 161 of file Graph.cs.
void EdgeClustering.Graph.TestInit |
( |
int |
size |
) |
[private] |
Initializes the graph datastructures with test data.
- Parameters:
-
| size | The size of the PointCollection |
Definition at line 179 of file Graph.cs.
void EdgeClustering.Graph.RandomInit |
( |
int |
numofPoints, |
|
|
int |
numofEdges | |
|
) |
| | [private] |
Computes random points and edges.
- Parameters:
-
| numofPoints | number of random points |
| numofEdges | number of random edges per point |
Definition at line 288 of file Graph.cs.
void EdgeClustering.Graph.CalcGridScale |
( |
|
) |
[private] |
Computes the GridScale Value for the points in points.
Definition at line 323 of file Graph.cs.
void EdgeClustering.Graph.Compute |
( |
|
) |
|
Generates the edge-bundled graph by calling all necessary functions depending on the global graph settings.
Definition at line 345 of file Graph.cs.
void EdgeClustering.Graph.MoveControlMeshVertex |
( |
Point |
position, |
|
|
Vector |
move | |
|
) |
| | |
void EdgeClustering.Graph.CalculateGridElements |
( |
|
) |
|
Calculates the grid segments.
Definition at line 381 of file Graph.cs.
void EdgeClustering.Graph.FillGrid |
( |
double |
deltavalue, |
|
|
double |
angle, |
|
|
double |
Ax, |
|
|
double |
Bx, |
|
|
double |
Ay, |
|
|
double |
By | |
|
) |
| | |
Fills each grid cell that is intersected by the passed line with the angle
.
- Parameters:
-
| deltavalue | The gradient of the line |
| angle | The angle of the line |
| Ax | The X-coordinate of the first point |
| Bx | The X-coordinate of the second point |
| Ay | The Y-coordinate of the first point |
| By | The Y-coordinate of the second point |
Definition at line 407 of file Graph.cs.
void EdgeClustering.Graph.CalculateKDEPeaks |
( |
|
) |
|
Calculates the kde peaks for the segments with the threshold and kde settings defined by the static kde values.
Definition at line 516 of file Graph.cs.
void EdgeClustering.Graph.MergeSegments |
( |
|
) |
|
Merges the segments based on the kde peaks.
Definition at line 542 of file Graph.cs.
void EdgeClustering.Graph.ComputeMeshEdges |
( |
|
) |
[private] |
Compute control mesh edges for each merged segment.
Definition at line 576 of file Graph.cs.
Member Data Documentation
Property Documentation
int EdgeClustering.Graph.ComputingStage [get] |
List<SimpleEdge> EdgeClustering.Graph.SimpleEdges [get] |
PointCollection EdgeClustering.Graph.Points [get] |
ArrayList [,] EdgeClustering.Graph.Grid [get] |
double [,] EdgeClustering.Graph.KernelPeaks [get] |
List<SimpleEdge> EdgeClustering.Graph.MeshEdges [get] |
double EdgeClustering.Graph.MaxPointValue [get] |