
public abstract class AbstractScatterplotVisualization extends AbstractVisualization
| Modifier and Type | Field and Description | 
|---|---|
protected Projection2D | 
proj
The current projection 
 | 
protected Relation<? extends NumberVector> | 
rel
The representation we visualize 
 | 
protected SamplingResult | 
sample
The DBID sample 
 | 
context, layer, svgp, task| Constructor and Description | 
|---|
AbstractScatterplotVisualization(VisualizationTask task,
                                VisualizationPlot plot,
                                double width,
                                double height,
                                Projection proj)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Element | 
setupCanvas()
Setup our canvas. 
 | 
static Element | 
setupCanvas(SVGPlot svgp,
           Projection2D proj,
           double margin,
           double width,
           double height)
Utility function to setup a canvas element for the visualization. 
 | 
void | 
visualizationChanged(VisualizationItem item)
Visualization has changed. 
 | 
addListeners, contentChanged, destroy, fullRedraw, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemovedprotected final Projection2D proj
protected final Relation<? extends NumberVector> rel
protected final SamplingResult sample
public AbstractScatterplotVisualization(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task - Visualization taskplot - Plot to draw towidth - Embedding widthheight - Embedding heightproj - Projectionprotected Element setupCanvas()
public static Element setupCanvas(SVGPlot svgp, Projection2D proj, double margin, double width, double height)
svgp - Plot elementproj - Projection to usemargin - Margin to usewidth - Widthheight - Heightpublic void visualizationChanged(VisualizationItem item)
VisualizationListenervisualizationChanged in interface VisualizationListenervisualizationChanged in class AbstractVisualizationitem - Changed visualizationCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.