NV
- Type of the DatabaseObject being visualized.public class ClusteringVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements DataStoreListener
Modifier and Type | Class and Description |
---|---|
static class |
ClusteringVisualization.Factory<NV extends NumberVector<NV,?>>
Visualization factory
|
Modifier and Type | Field and Description |
---|---|
private Clustering<Model> |
clustering
The result we visualize
|
proj, rel
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
ClusteringVisualization(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
contentChanged(DataStoreEvent e)
Invoked after objects of the datastore have been updated, inserted or
removed in some way.
|
void |
destroy()
Destroy the visualization.
|
void |
redraw()
Perform a full redraw.
|
setupCanvas
contextChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw
private Clustering<Model> clustering
public ClusteringVisualization(VisualizationTask task)
task
- Visualization taskpublic void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
public void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
public void contentChanged(DataStoreEvent e)
DataStoreListener
contentChanged
in interface DataStoreListener
e
- the update event