
NV - Type of the NumberVector being visualized.public class EMClusterVisualization.Instance<NV extends NumberVector<?>> extends AbstractScatterplotVisualization
| Modifier and Type | Field and Description | 
|---|---|
| (package private) Clustering<EMModel<NV>> | clusteringThe result we work on | 
| private int | drawStyle | 
| static String | EMBORDERGeneric tags to indicate the type of element. | 
| private static double | KAPPA | 
| private int | opacStyle | 
| private int | softBorder | 
| private int | timesStyleParameter: | 
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description | 
|---|
| EMClusterVisualization.Instance(VisualizationTask task)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| private void | addCSSClasses(SVGPlot svgp)Adds the required CSS-Classes | 
| private void | drawArc(SVGPath path,
       Vector cent,
       Vector pre,
       Vector nex,
       Vector oPrev,
       Vector oNext,
       double scale)Draw an arc to simulate the hyper ellipse. | 
| protected void | drawHullArc(int cnum,
           Vector cent,
           Polygon chres) | 
| protected void | drawHullLines(int cnum,
             Vector cent,
             Polygon chres) | 
| protected void | drawSphere2D(int cnum,
            Vector cent,
            Vector[] pc) | 
| protected Polygon | makeHull(Vector[] pc) | 
| protected Polygon | makeHullComplex(Vector[] pc) | 
| protected void | redraw()Perform a full redraw. | 
resultChanged, setupCanvascontentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawpublic static final String EMBORDER
Clustering<EMModel<NV extends NumberVector<?>>> clustering
private static final double KAPPA
private int times
private int opacStyle
private int softBorder
private int drawStyle
public EMClusterVisualization.Instance(VisualizationTask task)
task - VisualizationTaskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void drawArc(SVGPath path, Vector cent, Vector pre, Vector nex, Vector oPrev, Vector oNext, double scale)
path - Path to draw tocent - Centerpre - Previous pointnex - Next pointscale - Scaling factorprivate void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plot