de.lmu.ifi.dbs.elki.visualization.visualizers
Class AbstractVisFactory

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory
All Implemented Interfaces:
ResultProcessor, InspectionUtilFrequentlyScanned, Parameterizable, VisFactory
Direct Known Subclasses:
AxisVisualization.Factory, BubbleVisualization.Factory, ClusterConvexHullVisualization.Factory, ClusterEvaluationVisFactory, ClusteringVisualization.Factory, ClusterMeanVisualization.Factory, ClusterOrderVisualization.Factory, CurveVisFactory, DotVisualization.Factory, EMClusterVisualization.Factory, HistogramVisFactory, KeyVisFactory, LabelVisFactory, MoveObjectsToolVisualization.Factory, OPTICSClusterVisualization.Factory, OPTICSPlotCutVisualization.Factory, OPTICSPlotSelectionVisualization.Factory, OPTICSPlotVisualizer.Factory, OPTICSSteepAreaVisualization.Factory, P1DHistogramVisualizer.Factory, PixmapVisualizer.Factory, PolygonVisualization.Factory, ReferencePointsVisualization.Factory, SelectionConvexHullVisualization.Factory, SelectionCubeVisualization.Factory, SelectionDotVisualization.Factory, SelectionToolCubeVisualization.Factory, SelectionToolDotVisualization.Factory, SettingsVisFactory, SimilarityMatrixVisualizer.Factory, ToolBox2DVisualization.Factory, TooltipScoreVisualization.Factory, TooltipStringVisualization.Factory, TreeMBRVisualization.Factory, TreeSphereVisualization.Factory

public abstract class AbstractVisFactory
extends Object
implements VisFactory

Abstract superclass for Visualizers (aka: Visualization Factories).


Constructor Summary
protected AbstractVisFactory()
          Constructor.
 
Method Summary
 boolean allowThumbnails(VisualizationTask task)
          Test whether to do a thumbnail or a full rendering.
abstract  Visualization makeVisualization(VisualizationTask task)
          Produce a visualization instance for the given task
 Visualization makeVisualizationOrThumbnail(VisualizationTask task)
          Produce a visualization instance for the given task that may use thumbnails
 
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.VisFactory
processNewResult
 

Constructor Detail

AbstractVisFactory

protected AbstractVisFactory()
Constructor.

Method Detail

makeVisualizationOrThumbnail

public Visualization makeVisualizationOrThumbnail(VisualizationTask task)
Description copied from interface: VisFactory
Produce a visualization instance for the given task that may use thumbnails

Specified by:
makeVisualizationOrThumbnail in interface VisFactory
Parameters:
task - Visualization task
Returns:
Visualization

makeVisualization

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

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

allowThumbnails

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

Parameters:
task - Task requested

Release 0.4.0 (2011-09-20_1324)