de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d
Class ReferencePointsVisualization<NV extends NumberVector<NV,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization
      extended by de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization<NV>
          extended by de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.ReferencePointsVisualization<NV>
All Implemented Interfaces:
ResultListener, ContextChangeListener, Visualization, EventListener

public class ReferencePointsVisualization<NV extends NumberVector<NV,?>>
extends P2DVisualization<NV>

The actual visualization instance, for a single projection


Nested Class Summary
static class ReferencePointsVisualization.Factory<NV extends NumberVector<NV,?>>
          Generates a SVG-Element visualizing reference points.
 
Field Summary
private static String NAME
          A short name characterizing this Visualizer.
static String REFPOINT
          Generic tag to indicate the type of element.
protected  ReferencePointsResult<NV> result
          Serves reference points.
 
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
ReferencePointsVisualization(VisualizationTask task)
          Constructor.
 
Method Summary
 void redraw()
          Perform a full redraw.
private  void setupCSS(SVGPlot svgp)
          Registers the Reference-Point-CSS-Class at a SVGPlot.
 
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
 

Field Detail

REFPOINT

public static final String REFPOINT
Generic tag to indicate the type of element. Used in IDs, CSS-Classes etc.

See Also:
Constant Field Values

NAME

private static final String NAME
A short name characterizing this Visualizer.

See Also:
Constant Field Values

result

protected ReferencePointsResult<NV extends NumberVector<NV,?>> result
Serves reference points.

Constructor Detail

ReferencePointsVisualization

public ReferencePointsVisualization(VisualizationTask task)
Constructor.

Parameters:
task - Visualization task
Method Detail

redraw

public void redraw()
Description copied from class: AbstractVisualization
Perform a full redraw.

Specified by:
redraw in class AbstractVisualization

setupCSS

private void setupCSS(SVGPlot svgp)
Registers the Reference-Point-CSS-Class at a SVGPlot.

Parameters:
svgp - the SVGPlot to register the -CSS-Class.

Release 0.4.0 (2011-09-20_1324)