public class SelectionCubeVisualization.Instance extends AbstractScatterplotVisualization
Modifier and Type | Field and Description |
---|---|
static String |
CSS_CUBE
CSS class for the filled cube
|
static String |
CSS_CUBEFRAME
CSS class for the cube frame
|
static String |
MARKER
Generic tag to indicate the type of element.
|
proj, rel, sample
context, layer, svgp, task
Constructor and Description |
---|
SelectionCubeVisualization.Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
private void |
setSVGRect(SVGPlot svgp,
Projection2D proj)
Generates a cube and a frame depending on the selection stored in the
context
|
setupCanvas, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
public static final String MARKER
public static final String CSS_CUBE
public static final String CSS_CUBEFRAME
public SelectionCubeVisualization.Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task
- Visualization taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionprivate void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotprivate void setSVGRect(SVGPlot svgp, Projection2D proj)
svgp
- The plotproj
- The projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.