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.Mode |
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 |
---|
Instance(VisualizerContext context,
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,
org.w3c.dom.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.Mode dist
protected AbstractMTree<?,N extends AbstractMTreeNode<?,N,E>,E extends MTreeEntry,?> tree
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context
- Visualizer contexttask
- 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, org.w3c.dom.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 © 2019 ELKI Development Team. License information.