Class BoundingBoxVisualization.Instance
- java.lang.Object
-
- elki.visualization.visualizers.AbstractVisualization
-
- elki.visualization.visualizers.parallel.AbstractParallelVisualization<SpatialComparable>
-
- elki.visualization.visualizers.parallel.BoundingBoxVisualization.Instance
-
- All Implemented Interfaces:
DataStoreListener
,ResultListener
,VisualizationListener
,Visualization
,java.util.EventListener
- Enclosing class:
- BoundingBoxVisualization
public class BoundingBoxVisualization.Instance extends AbstractParallelVisualization<SpatialComparable> implements DataStoreListener
Instance for a particular data set.- Author:
- Robert Rödler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DATALINE
Generic tags to indicate the type of element.private SamplingResult
sample
Sample we visualize.-
Fields inherited from class elki.visualization.visualizers.parallel.AbstractParallelVisualization
axsep, margins, proj, relation, size
-
Fields inherited from class elki.visualization.visualizers.AbstractVisualization
context, layer, svgp, task
-
-
Constructor Summary
Constructors Constructor Description Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private org.w3c.dom.Element
drawLine(DBIDRef iter)
Draw a single line.void
fullRedraw()
Request a full redrawing of the visualization.-
Methods inherited from class elki.visualization.visualizers.parallel.AbstractParallelVisualization
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, setupCanvas, visualizationChanged
-
Methods inherited from class elki.visualization.visualizers.AbstractVisualization
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.database.datastore.DataStoreListener
contentChanged
-
Methods inherited from interface elki.result.ResultListener
resultAdded, resultRemoved
-
-
-
-
Field Detail
-
DATALINE
public static final java.lang.String DATALINE
Generic tags to indicate the type of element. Used in IDs, CSS-Classes etc.- See Also:
- Constant Field Values
-
sample
private SamplingResult sample
Sample we visualize.
-
-
Constructor Detail
-
Instance
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.- Parameters:
context
- Visualizer contexttask
- VisualizationTaskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projection
-
-
Method Detail
-
fullRedraw
public void fullRedraw()
Description copied from interface:Visualization
Request a full redrawing of the visualization.- Specified by:
fullRedraw
in interfaceVisualization
- Overrides:
fullRedraw
in classAbstractParallelVisualization<SpatialComparable>
-
drawLine
private org.w3c.dom.Element drawLine(DBIDRef iter)
Draw a single line.- Parameters:
iter
- Object reference- Returns:
- Line element
-
-