
public class ClusterHullVisualization extends AbstractScatterplotVisualization
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterHullVisualization.Factory
Factory for visualizers to generate an SVG-Element containing the convex
hull or alpha shape of a cluster.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
alpha
Alpha value
|
static String |
CLUSTERHULL
Generic tags to indicate the type of element.
|
(package private) Clustering<Model> |
clustering
The result we work on
|
private static String |
NAME
A short name characterizing this Visualizer.
|
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
ClusterHullVisualization(VisualizationTask task,
double alpha)
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.
|
resultChanged, setupCanvascontentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawprivate static final String NAME
public static final String CLUSTERHULL
Clustering<Model> clustering
double alpha
public ClusterHullVisualization(VisualizationTask task, double alpha)
task - VisualizationTaskalpha - Alpha valueprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp, int clusterID, double opac)
svgp - SVG-Plot