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:
filename 

Definition at line 152 of file Graph.cs.

void EdgeClustering.Graph.ReadXMLInit ( String  filename  ) 

Reads a graph out of an XML file.

Parameters:
filename 

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 
)

Definition at line 370 of file Graph.cs.

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

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

double EdgeClustering.Graph.randomWidth [static, private]

Definition at line 61 of file Graph.cs.

double EdgeClustering.Graph.randomHeight [static, private]

Definition at line 62 of file Graph.cs.

Definition at line 64 of file Graph.cs.

Definition at line 71 of file Graph.cs.

PointCollection EdgeClustering.Graph.points [private]

Definition at line 77 of file Graph.cs.

ArrayList [,] EdgeClustering.Graph.grid [private]

Definition at line 83 of file Graph.cs.

double [,] EdgeClustering.Graph.kernelPeaks [private]

Definition at line 89 of file Graph.cs.

Definition at line 95 of file Graph.cs.

Definition at line 101 of file Graph.cs.

Definition at line 107 of file Graph.cs.

Definition at line 109 of file Graph.cs.

Definition at line 116 of file Graph.cs.

Definition at line 118 of file Graph.cs.


Property Documentation

int EdgeClustering.Graph.ComputingStage [get]

Definition at line 66 of file Graph.cs.

List<SimpleEdge> EdgeClustering.Graph.SimpleEdges [get]

Definition at line 73 of file Graph.cs.

PointCollection EdgeClustering.Graph.Points [get]

Definition at line 79 of file Graph.cs.

ArrayList [,] EdgeClustering.Graph.Grid [get]

Definition at line 85 of file Graph.cs.

double [,] EdgeClustering.Graph.KernelPeaks [get]

Definition at line 91 of file Graph.cs.

List<MergedSegment> EdgeClustering.Graph.MergedSegments [get]

Definition at line 97 of file Graph.cs.

List<SimpleEdge> EdgeClustering.Graph.MeshEdges [get]

Definition at line 103 of file Graph.cs.

List<EnhancedEdge> EdgeClustering.Graph.EnhancedEdges [get]

Definition at line 111 of file Graph.cs.

double EdgeClustering.Graph.MaxPointValue [get]

Definition at line 120 of file Graph.cs.

ControlMesh EdgeClustering.Graph.ControlMesh [get]

Definition at line 124 of file Graph.cs.

Generated by  doxygen 1.6.3