|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization<NV> de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.SelectionCubeVisualization<NV>
NV
- Type of the NumberVector being visualized.public class SelectionCubeVisualization<NV extends NumberVector<NV,?>>
Visualizer for generating an SVG-Element containing a cube as marker representing the selected range for each dimension
Nested Class Summary | |
---|---|
static class |
SelectionCubeVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing a cube as marker representing the selected range for each dimension |
Field Summary | |
---|---|
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. |
private static String |
NAME
A short name characterizing this Visualizer. |
protected boolean |
nofill
Fill parameter. |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
---|
proj, rel |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
---|
context, layer, pendingRedraw, svgp, task |
Constructor Summary | |
---|---|
SelectionCubeVisualization(VisualizationTask task,
boolean nofill)
|
Method Summary | |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes |
protected void |
redraw()
Perform a full redraw. |
private void |
setSVGRect(SVGPlot svgp,
Projection2D proj)
Generates a cube and a frame depending on the selection stored in the context |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
---|
setupCanvas |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
---|
contextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.visualization.visualizers.events.ContextChangeListener |
---|
contextChanged |
Field Detail |
---|
private static final String NAME
public static final String MARKER
public static final String CSS_CUBE
public static final String CSS_CUBEFRAME
protected boolean nofill
Constructor Detail |
---|
public SelectionCubeVisualization(VisualizationTask task, boolean nofill)
Method Detail |
---|
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotprivate void setSVGRect(SVGPlot svgp, Projection2D proj)
svgp
- The plotproj
- The projectionprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |