EdgeClustering.GraphDrawer Class Reference

This class is responsible for drawing the original graph, all intermediate results and the enhanced graph. More...

List of all members.

Classes

Public Member Functions

Protected Member Functions

Properties

Private Member Functions

Private Attributes


Detailed Description

Author:
Manuel Keglevic
Thomas Schulz

Definition at line 20 of file GraphDrawer.cs.


Constructor & Destructor Documentation

EdgeClustering.GraphDrawer.GraphDrawer ( int  windowSize  ) 

Generates a new Graph drawer and initializes it.

Parameters:
windowSize 

Definition at line 63 of file GraphDrawer.cs.


Member Function Documentation

override void EdgeClustering.GraphDrawer.OnRender ( System.Windows.Media.DrawingContext  dc  )  [protected]

Draws everything.

Parameters:
dc 

Definition at line 79 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawEnhancedGraph ( DrawingContext  dc,
Color  c,
List< EnhancedEdge edges 
) [private]

Draws the Cardinal Splines representing the edge clustered graph. For each edge the control points are sorted by the distance to the starting point. After that the Cardinal Splines are built using the endpoints and the sorted control points.

Parameters:
dc 
c 
edges enhanced edges with control point information

Definition at line 127 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawControlPoints ( DrawingContext  dc,
Color  c,
List< EnhancedEdge edges 
) [private]

Draws the control points.

Parameters:
dc 
c color
edges list of enhanced edges containing the control point information.

Definition at line 179 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawControlMesh ( DrawingContext  dc,
Color  c,
List< ControlMeshEdge edges,
List< ControlMeshVertex vertices 
) [private]

Draws the Control Mesh with the given Color.

Parameters:
dc 
c color
edges list of Control Mesh edges
vertices list of Control Mesh vertices

Definition at line 198 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawMeshEdges ( DrawingContext  dc,
Color  c,
List< SimpleEdge meshEdges 
) [private]

Draws the control mesh edges computed for the mergedsegments.

Parameters:
dc 
c 

Definition at line 218 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawMergedSegments ( DrawingContext  dc,
List< MergedSegment mergedSegments,
Color  color 
) [private]

Draws the merged segments.

Parameters:
dc 
mergedSegments List of merged segments.

Definition at line 240 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawKernelPeak ( DrawingContext  dc,
Color  color,
double  kernelPeaks[,] 
) [private]

Draws the output of the kde computation.

Parameters:
dc 
color 

Definition at line 285 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawSegmentAngles ( DrawingContext  dc,
Color  color,
ArrayList  grid[,] 
) [private]

Draws the segment elements stored in the grid.

Parameters:
dc drawing context
color color
grid grid containing list of segment angles

Definition at line 309 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawAngle ( DrawingContext  dc,
Pen  pen,
int  x,
int  y,
double  angle 
) [private]

Draws an line representing a angle at the given position in the grid.

Parameters:
dc drawing context
pen pen
x x position on grid
y y postion on grid
angle angle between 0..180

Definition at line 338 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawGrid ( System.Windows.Media.DrawingContext  dc,
Color  color 
) [private]

Draws the grid Pattern.

Parameters:
dc 
color 

Definition at line 352 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawGraphPoints ( DrawingContext  dc,
PointCollection  points 
) [private]

Draws the given points.

Parameters:
dc 
points 

Definition at line 388 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawGraphEdges ( DrawingContext  dc,
List< SimpleEdge edges,
Color  color 
) [private]

Draws the given list of edges.

Parameters:
dc 
edges 

Definition at line 404 of file GraphDrawer.cs.

void EdgeClustering.GraphDrawer.DrawStreamGeometry ( DrawingContext  dc  ) 

Test function for CardinalSplie drawing.

Parameters:
dc 
penLine 
penPoints 

Definition at line 423 of file GraphDrawer.cs.


Member Data Documentation

Definition at line 51 of file GraphDrawer.cs.

Definition at line 57 of file GraphDrawer.cs.


Property Documentation

Graph EdgeClustering.GraphDrawer.Graph [set]

Definition at line 53 of file GraphDrawer.cs.

Generated by  doxygen 1.6.3