public class SelectionCubeVisualization.Instance extends AbstractScatterplotVisualization
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CSS_CUBE
CSS class for the filled cube
|
static java.lang.String |
CSS_CUBEFRAME
CSS class for the cube frame
|
static java.lang.String |
MARKER
Generic tag to indicate the type of element.
|
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 |
---|---|
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 java.lang.String MARKER
public static final java.lang.String CSS_CUBE
public static final java.lang.String CSS_CUBEFRAME
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
- 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 © 2019 ELKI Development Team. License information.