
N - Tree node typeE - Tree entry typepublic class RTreeParallelVisualization<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry> extends AbstractParallelVisualization<NumberVector<?,?>> implements DataStoreListener
| Modifier and Type | Class and Description |
|---|---|
static class |
RTreeParallelVisualization.Factory
Factory
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fill
Fill parameter.
|
static String |
INDEX
Generic tag to indicate the type of element.
|
static String |
NAME
A short name characterizing this Visualizer.
|
protected AbstractRStarTree<N,E> |
tree
The tree we visualize
|
axsep, proj, relationcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
RTreeParallelVisualization(VisualizationTask task,
boolean fill)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
destroy()
Destroy the visualization.
|
protected void |
redraw()
Perform a full redraw.
|
private void |
visualizeRTreeEntry(SVGPlot svgp,
Element layer,
ProjectionParallel proj,
AbstractRStarTree<? extends N,E> rtree,
E entry,
int depth,
int step)
Recursively draw the MBR rectangles.
|
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, resultChanged, setupCanvascontentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedpublic static final String INDEX
public static final String NAME
protected boolean fill
protected AbstractRStarTree<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry> tree
public RTreeParallelVisualization(VisualizationTask task, boolean fill)
task - Visualization taskfill - Fill flagpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualizationprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plotprivate void visualizeRTreeEntry(SVGPlot svgp, Element layer, ProjectionParallel proj, AbstractRStarTree<? extends N,E> rtree, E entry, int depth, int step)
svgp - SVG Plotlayer - Layerproj - Projectionrtree - Rtree to visualizeentry - Current entrydepth - Current depth