|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualizer
de.lmu.ifi.dbs.elki.visualization.visualizers.visunproj.CurveVisualizer
public class CurveVisualizer
Visualizer to render a simple 2D curve such as a ROC curve.
| Field Summary | |
|---|---|
(package private) IterableResult<Pair<Double,Double>> |
curve
Curve to visualize |
private static String |
NAME
Name for this visualizer. |
private static String |
SERIESID
SVG class name for plot line |
| 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 | |
|---|---|
CurveVisualizer()
Constructor, Parameterizable style - does nothing. |
|
| Method Summary | |
|---|---|
static Collection<IterableResult<Pair<Double,Double>>> |
findCurveResult(Result result)
Find a 2D Double curve in the result object. |
void |
init(VisualizerContext context,
IterableResult<Pair<Double,Double>> curve)
Initialization. |
private void |
setupCSS(SVGPlot svgp)
Setup the CSS classes for the plot. |
Element |
visualize(SVGPlot svgp,
double width,
double height)
Returns an Element representing a 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.Visualizer |
|---|
addRedrawListener, getMetadata, removeRedrawListener |
| Field Detail |
|---|
private static final String NAME
private static final String SERIESID
IterableResult<Pair<Double,Double>> curve
| Constructor Detail |
|---|
public CurveVisualizer()
| Method Detail |
|---|
public void init(VisualizerContext context,
IterableResult<Pair<Double,Double>> curve)
context - context.curve - Curve to visualizepublic static Collection<IterableResult<Pair<Double,Double>>> findCurveResult(Result result)
result - Result object to inspect
public Element visualize(SVGPlot svgp,
double width,
double height)
UnprojectedVisualizer
visualize in interface UnprojectedVisualizersvgp - the SVGPlot which will act as owner for the returned Element.width - Width of plotheight - Height of plot
private void setupCSS(SVGPlot svgp)
svgp - Plot
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||