NV
- Type of the NumberVector being visualized.public class SelectionConvexHullVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements ContextChangeListener, DataStoreListener
Modifier and Type | Class and Description |
---|---|
static class |
SelectionConvexHullVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing the convex
hull of the selected points
|
Modifier and Type | Field and Description |
---|---|
private static String |
NAME
A short name characterizing this Visualizer.
|
static String |
SELECTEDHULL
Generic tag to indicate the type of element.
|
proj, rel
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
SelectionConvexHullVisualization(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
contentChanged(DataStoreEvent e)
Invoked after objects of the datastore have been updated, inserted or
removed in some way.
|
protected void |
redraw()
Perform a full redraw.
|
setupCanvas
contextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contextChanged
private static final String NAME
public static final String SELECTEDHULL
public SelectionConvexHullVisualization(VisualizationTask task)
task
- Taskprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotpublic void contentChanged(DataStoreEvent e)
DataStoreListener
contentChanged
in interface DataStoreListener
e
- the update event