
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, pendingRedraw, svgp, task| Constructor and Description |
|---|
AbstractScatterplotVisualization(VisualizationTask task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
static Element |
setupCanvas(SVGPlot svgp,
Projection2D proj,
double margin,
double width,
double height)
Utility function to setup a canvas element for the visualization.
|
contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, redraw, resultAdded, resultRemoved, synchronizedRedrawprotected final Projection2D proj
protected final Relation<? extends NumberVector<?,?>> rel
protected final SamplingResult sample
public AbstractScatterplotVisualization(VisualizationTask task)
task - Visualization taskpublic 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 resultChanged(Result current)
ResultListenerresultChanged in interface ResultListenerresultChanged in class AbstractVisualizationcurrent - Result that has changed.