Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualizer
          extended by de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.Projection2DVisualizer<NV>
Type Parameters:
NV - Type of the DatabaseObject being visualized.
All Implemented Interfaces:
Parameterizable, ProjectedVisualizer, Visualizer
Direct Known Subclasses:
AxisVisualizer, BubbleVisualizer, ClusteringVisualizer, ClusterOrderVisualizer, DataDotVisualizer, ReferencePointsVisualizer, TooltipVisualizer, TreeMBRVisualizer

public abstract class Projection2DVisualizer<NV extends NumberVector<NV,?>>
extends AbstractVisualizer
implements ProjectedVisualizer

Produces visualizations of 2-dimensional projections.

Author:
Remigius Wojdanowski

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualizer
context, metadata
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Fields inherited from interface de.lmu.ifi.dbs.elki.visualization.visualizers.Visualizer
LEVEL_BACKGROUND, LEVEL_FOREGROUND, LEVEL_INTERACTIVE, LEVEL_STATIC, META_LEVEL, META_NAME, META_NOTHUMB, META_VISIBLE, META_VISIBLE_DEFAULT
 
Constructor Summary
Projection2DVisualizer()
           
 
Method Summary
 Element setupCanvas(SVGPlot svgp, VisualizationProjection proj, double margin, double width, double height)
          Utility function to setup a canvas element for the visualization.
 
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualizer
addRedrawListener, fireRedrawEvent, getMetadata, init, removeRedrawListener, requestRedraw, setLevel
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
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.ProjectedVisualizer
visualize
 
Methods inherited from interface de.lmu.ifi.dbs.elki.visualization.visualizers.Visualizer
addRedrawListener, getMetadata, removeRedrawListener
 

Constructor Detail

Projection2DVisualizer

public Projection2DVisualizer()
Method Detail

setupCanvas

public Element setupCanvas(SVGPlot svgp,
                           VisualizationProjection proj,
                           double margin,
                           double width,
                           double height)
Utility function to setup a canvas element for the visualization.

Parameters:
svgp - Plot element
proj - Projection to use
margin - Margin to use
width - Width
height - Height
Returns:
wrapper element with appropriate view box.

Release 0.3 (2010-03-31_1612)