N
- Tree node typeE
- Tree entry typepublic class TreeSphereVisualization.Instance<N extends AbstractMTreeNode<?,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<?,N,E,?> |
tree
The tree we visualize
|
proj, rel, sample
context, layer, svgp, task
Constructor and Description |
---|
TreeSphereVisualization.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 |
visualizeMTreeEntry(SVGPlot svgp,
Element layer,
Projection2D proj,
AbstractMTree<?,N,E,?> mtree,
E entry,
int depth)
Recursively draw the MBR rectangles.
|
setupCanvas, setupCanvas, visualizationChanged
addListeners, contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
protected double p
protected TreeSphereVisualization.Modus dist
protected AbstractMTree<?,N extends AbstractMTreeNode<?,N,E>,E extends MTreeEntry,?> tree
public TreeSphereVisualization.Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task
- Taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
private void visualizeMTreeEntry(SVGPlot svgp, Element layer, Projection2D proj, AbstractMTree<?,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
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.