de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d
Class DataDotVisualizer<NV extends NumberVector<NV,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualizer
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.Projection2DVisualizer<NV>
de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.DataDotVisualizer<NV>
- Type Parameters:
NV
- Type of the NumberVector being visualized.
- All Implemented Interfaces:
- Parameterizable, ProjectedVisualizer, Visualizer
public class DataDotVisualizer<NV extends NumberVector<NV,?>>
- extends Projection2DVisualizer<NV>
- implements Parameterizable
Generates a SVG-Element containing "dots" as markers representing the Database's
objects.
- Author:
- Remigius Wojdanowski
Field Summary |
static String |
MARKER
Generic tag to indicate the type of element. |
private static String |
NAME
A short name characterizing this Visualizer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
private static final String NAME
- A short name characterizing this Visualizer.
- See Also:
- Constant Field Values
MARKER
public static final String MARKER
- Generic tag to indicate the type of element. Used in IDs, CSS-Classes etc.
- See Also:
- Constant Field Values
DataDotVisualizer
public DataDotVisualizer()
- Constructor, adhering to
Parameterizable
init
public void init(VisualizerContext context)
- Initializes this Visualizer.
- Parameters:
context
- Visualization context
visualize
public Element visualize(SVGPlot svgp,
VisualizationProjection proj,
double width,
double height)
- Description copied from interface:
ProjectedVisualizer
- Returns an Element representing a visualization.
- Specified by:
visualize
in interface ProjectedVisualizer
- Parameters:
svgp
- plot to contain the returned Element.proj
- projection to usewidth
- Width of plotheight
- Height of plot
- Returns:
- an Element representing a 2-dimensional visualization.