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, sample
context, 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, setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
protected 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()
AbstractVisualization
redraw
in class AbstractVisualization
private 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()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization