
NV - Type of the NumberVector being visualized.public class ClusterConvexHullVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterConvexHullVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing the convex
hull of a cluster.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Clustering<Model> |
clustering
The result we work on
|
static String |
CONVEXHULL
Generic tags to indicate the type of element.
|
(package private) Element |
hulls
The hulls
|
private static String |
NAME
A short name characterizing this Visualizer.
|
proj, relcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
ClusterConvexHullVisualization(VisualizationTask task)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp,
int clusterID,
double opac)
Adds the required CSS-Classes
|
protected void |
redraw()
Perform a full redraw.
|
setupCanvascontextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedrawprivate static final String NAME
public static final String CONVEXHULL
Clustering<Model> clustering
Element hulls
public ClusterConvexHullVisualization(VisualizationTask task)
task - VisualizationTaskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp, int clusterID, double opac)
svgp - SVG-Plot