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(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.w3c.dom.Element |
setupCanvas()
Setup our canvas.
|
static org.w3c.dom.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(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context - Visualizer contexttask - Visualization taskplot - Plot to draw towidth - Embedding widthheight - Embedding heightproj - Projectionprotected org.w3c.dom.Element setupCanvas()
public static org.w3c.dom.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 © 2019 ELKI Development Team. License information.