de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d
Class SelectionConvexHullVisualization<NV extends NumberVector<NV,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization<NV>
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.SelectionConvexHullVisualization<NV>
- Type Parameters:
NV
- Type of the NumberVector being visualized.
- All Implemented Interfaces:
- DataStoreListener, ResultListener, ContextChangeListener, Visualization, EventListener
public class SelectionConvexHullVisualization<NV extends NumberVector<NV,?>>
- extends P2DVisualization<NV>
- implements ContextChangeListener, DataStoreListener
Visualizer for generating an SVG-Element containing the convex hull of the
selected points
Field Summary |
private static String |
NAME
A short name characterizing this Visualizer. |
static String |
SELECTEDHULL
Generic tag to indicate the type of element. |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
contextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
private static final String NAME
- A short name characterizing this Visualizer.
- See Also:
- Constant Field Values
SELECTEDHULL
public static final String SELECTEDHULL
- Generic tag to indicate the type of element. Used in IDs, CSS-Classes etc.
- See Also:
- Constant Field Values
SelectionConvexHullVisualization
public SelectionConvexHullVisualization(VisualizationTask task)
- Constructor.
- Parameters:
task
- Task
redraw
protected void redraw()
- Description copied from class:
AbstractVisualization
- Perform a full redraw.
- Specified by:
redraw
in class AbstractVisualization
addCSSClasses
private void addCSSClasses(SVGPlot svgp)
- Adds the required CSS-Classes
- Parameters:
svgp
- SVG-Plot
contentChanged
public void contentChanged(DataStoreEvent e)
- Description copied from interface:
DataStoreListener
- Invoked after objects of the datastore have been updated, inserted or
removed in some way.
- Specified by:
contentChanged
in interface DataStoreListener
- Parameters:
e
- the update event