
N - Tree node typeE - Tree entry typepublic class RTreeParallelVisualization.Instance<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry> extends AbstractParallelVisualization<NumberVector> implements DataStoreListener
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRStarTree<N,E,?> |
tree
The tree we visualize
|
axsep, proj, relationcontext, layer, svgp, task| Constructor and Description |
|---|
Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
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, setupCanvas, visualizationChangedaddListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedprotected AbstractRStarTree<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry,?> tree
public Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task - Visualization taskplot - Plot to draw towidth - Embedding widthheight - Embedding heightproj - Projectionpublic void fullRedraw()
VisualizationfullRedraw in interface VisualizationfullRedraw in class AbstractParallelVisualization<NumberVector>private 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 depthCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.