
D - Distance type (actually unused)public class OPTICSClusterVisualization.Instance<D extends Distance<D>> extends AbstractOPTICSVisualization<D>
| Modifier and Type | Field and Description |
|---|---|
(package private) Clustering<OPTICSModel> |
clus
Our clustering
|
protected static String |
CSS_BRACKET
CSS class for markers
|
optics, plotheight, plotwidthcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
OPTICSClusterVisualization.Instance(VisualizationTask task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses()
Adds the required CSS-Classes
|
private void |
drawClusters(Clustering<OPTICSModel> clustering,
Hierarchy.Iter<Cluster<OPTICSModel>> clusters,
int depth,
Map<Cluster<?>,String> colormap)
Recursively draw clusters
|
protected void |
redraw()
Perform a full redraw.
|
getClusterOrder, makeLayerElementcontentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedrawprotected static final String CSS_BRACKET
Clustering<OPTICSModel> clus
public OPTICSClusterVisualization.Instance(VisualizationTask task)
task - Visualization taskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void drawClusters(Clustering<OPTICSModel> clustering, Hierarchy.Iter<Cluster<OPTICSModel>> clusters, int depth, Map<Cluster<?>,String> colormap)
clusters - Current set of clustersdepth - Recursion depthcolormap - Color mappingprivate void addCSSClasses()