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,?> |
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 |
visualizeRTreeEntry(SVGPlot svgp,
org.w3c.dom.Element layer,
Projection2D proj,
AbstractRStarTree<? extends N,E,?> rtree,
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 AbstractRStarTree<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry,?> tree
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context
- Visualizer contexttask
- Visualization taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
private void visualizeRTreeEntry(SVGPlot svgp, org.w3c.dom.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()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
Copyright © 2019 ELKI Development Team. License information.