public class ClusterOutlineVisualization.Instance extends AbstractParallelVisualization<NumberVector> implements DataStoreListener
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTERAREA
Generic tags to indicate the type of element.
|
axsep, proj, relation
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp,
int clusterID,
double opac)
Adds the required CSS-Classes
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
public static final String CLUSTERAREA
public Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task
- VisualizationTaskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractParallelVisualization<NumberVector>
private void addCSSClasses(SVGPlot svgp, int clusterID, double opac)
svgp
- SVG-PlotclusterID
- Cluster ID to styleopac
- OpacityCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.