
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> | treeThe tree we visualize | 
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description | 
|---|
| TreeMBRVisualization.Instance(VisualizationTask task)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Destroy the visualization. | 
| protected void | redraw()Perform a full redraw. | 
| private void | visualizeRTreeEntry(SVGPlot svgp,
                   Element layer,
                   Projection2D proj,
                   AbstractRStarTree<? extends N,E> rtree,
                   E entry,
                   int depth)Recursively draw the MBR rectangles. | 
resultChanged, setupCanvascontentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, 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)
task - Visualization taskprotected void redraw()
AbstractVisualizationredraw 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 AbstractVisualization