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, relation
context, 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, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
protected 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()
Visualization
fullRedraw
in interface Visualization
fullRedraw
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.