
N - Tree node typeE - Tree entry typepublic class TreeMBRVisualization.Instance<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry> extends AbstractScatterplotVisualization implements DataStoreListener
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRStarTree<N,E,?> |
tree
The tree we visualize
|
proj, rel, samplecontext, layer, svgp, task| Constructor and Description |
|---|
TreeMBRVisualization.Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the visualization.
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
private void |
visualizeRTreeEntry(SVGPlot svgp,
Element layer,
Projection2D proj,
AbstractRStarTree<? extends N,E,?> rtree,
E entry,
int depth)
Recursively draw the MBR rectangles.
|
setupCanvas, setupCanvas, visualizationChangedaddListeners, contentChanged, 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 TreeMBRVisualization.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 AbstractVisualizationprivate void visualizeRTreeEntry(SVGPlot svgp, Element layer, Projection2D proj, AbstractRStarTree<? extends N,E,?> rtree, E entry, int depth)
svgp - SVG Plotlayer - Layerproj - Projectionrtree - Rtree to visualizeentry - Current entrydepth - Current depthpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualizationCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.