public class ClusterOutlineVisualization.Instance extends AbstractParallelVisualization<NumberVector> implements DataStoreListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLUSTERAREA
Generic tags to indicate the type of element.
|
axsep, proj, relation
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizerContext context,
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 java.lang.String CLUSTERAREA
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context
- Visualizer contexttask
- 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 © 2019 ELKI Development Team. License information.