de.lmu.ifi.dbs.elki.visualization.visualizers.visunproj
Class CurveVisFactory

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory
      extended by de.lmu.ifi.dbs.elki.visualization.visualizers.visunproj.CurveVisFactory
All Implemented Interfaces:
ResultProcessor, InspectionUtilFrequentlyScanned, Parameterizable, VisFactory

public class CurveVisFactory
extends AbstractVisFactory

Visualizer to render a simple 2D curve such as a ROC curve.


Nested Class Summary
(package private)  class CurveVisFactory.CurveFilter
          Filter to only retrieve double-double-pair results.
 
Field Summary
private static String NAME
          Name for this visualizer.
private static String SERIESID
          SVG class name for plot line
 
Constructor Summary
CurveVisFactory()
          Constructor, Parameterizable style - does nothing.
 
Method Summary
 boolean allowThumbnails(VisualizationTask task)
          Test whether to do a thumbnail or a full rendering.
 Visualization makeVisualization(VisualizationTask task)
          Produce a visualization instance for the given task
 void processNewResult(HierarchicalResult baseResult, Result result)
          Add visualizers for the given result (tree) to the context.
private  void setupCSS(VisualizerContext context, SVGPlot svgp)
          Setup the CSS classes for the plot.
 
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory
makeVisualizationOrThumbnail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final String NAME
Name for this visualizer.

See Also:
Constant Field Values

SERIESID

private static final String SERIESID
SVG class name for plot line

See Also:
Constant Field Values
Constructor Detail

CurveVisFactory

public CurveVisFactory()
Constructor, Parameterizable style - does nothing.

Method Detail

makeVisualization

public Visualization makeVisualization(VisualizationTask task)
Description copied from interface: VisFactory
Produce a visualization instance for the given task

Specified by:
makeVisualization in interface VisFactory
Specified by:
makeVisualization in class AbstractVisFactory
Parameters:
task - Visualization task
Returns:
Visualization

setupCSS

private void setupCSS(VisualizerContext context,
                      SVGPlot svgp)
Setup the CSS classes for the plot.

Parameters:
svgp - Plot

processNewResult

public void processNewResult(HierarchicalResult baseResult,
                             Result result)
Description copied from interface: VisFactory
Add visualizers for the given result (tree) to the context.

Parameters:
baseResult - Context to work with
result - Result to process

allowThumbnails

public boolean allowThumbnails(VisualizationTask task)
Description copied from class: AbstractVisFactory
Test whether to do a thumbnail or a full rendering. Override this with "false" to disable thumbnails!

Overrides:
allowThumbnails in class AbstractVisFactory
Parameters:
task - Task requested

Release 0.4.0 (2011-09-20_1324)