
public class OPTICSClusterVisualization.Instance extends AbstractOPTICSVisualization
| 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, svgp, task| Constructor and Description |
|---|
OPTICSClusterVisualization.Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
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
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
getClusterOrder, makeLayerElementaddListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, visualizationChangedprotected static final String CSS_BRACKET
Clustering<OPTICSModel> clus
public OPTICSClusterVisualization.Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task - Visualization taskplot - Plot to draw towidth - Embedding widthheight - Embedding heightproj - Projectionpublic void fullRedraw()
VisualizationfullRedraw in interface VisualizationfullRedraw 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()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.