
N - Tree node typeE - Tree entry typepublic class TreeSphereVisualization.Instance<D extends NumberDistance<D,?>,N extends AbstractMTreeNode<?,D,N,E>,E extends MTreeEntry> extends AbstractScatterplotVisualization implements DataStoreListener
| Modifier and Type | Field and Description |
|---|---|
protected TreeSphereVisualization.Modus |
dist
Drawing mode (distance) to use
|
protected double |
p |
protected AbstractMTree<?,D,N,E,?> |
tree
The tree we visualize
|
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
TreeSphereVisualization.Instance(VisualizationTask task)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the visualization.
|
protected void |
redraw()
Perform a full redraw.
|
private void |
visualizeMTreeEntry(SVGPlot svgp,
Element layer,
Projection2D proj,
AbstractMTree<?,D,N,E,?> mtree,
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 double p
protected TreeSphereVisualization.Modus dist
protected AbstractMTree<?,D extends NumberDistance<D,?>,N extends AbstractMTreeNode<?,D,N,E>,E extends MTreeEntry,?> tree
public TreeSphereVisualization.Instance(VisualizationTask task)
task - Taskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void visualizeMTreeEntry(SVGPlot svgp, Element layer, Projection2D proj, AbstractMTree<?,D,N,E,?> mtree, E entry, int depth)
svgp - SVG Plotlayer - Layerproj - Projectionmtree - Mtree to visualizeentry - Current entrydepth - Current depthpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualization