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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.visualizers.VisualizerUtil

public final class VisualizerUtil
extends Object

Visualizer utilities.


Constructor Summary
VisualizerUtil()
           
 
Method Summary
static boolean detailsEnabled(VisualizationTask vis)
          Test whether a detail plot is available for this task.
static VisualizerContext getContext(HierarchicalResult baseResult)
          Find the visualizer context in a result tree.
static boolean isTool(VisualizationTask vis)
          Utility function to test for a visualizer being a "tool".
static boolean isVisible(VisualizationTask task)
          Utility function to test for Visualizer visibility.
static Iterator<Relation<? extends NumberVector<?,?>>> iterateVectorFieldRepresentations(Result result)
          Filter for number vector field representations
static boolean thumbnailEnabled(VisualizationTask vis)
          Test whether a thumbnail is enabled for this visualizer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualizerUtil

public VisualizerUtil()
Method Detail

getContext

public static VisualizerContext getContext(HierarchicalResult baseResult)
Find the visualizer context in a result tree.

Parameters:
baseResult - base result to start searching at.
Returns:
Visualizer context

isVisible

public static boolean isVisible(VisualizationTask task)
Utility function to test for Visualizer visibility.

Parameters:
task - Visualization task
Returns:
true when visible

isTool

public static boolean isTool(VisualizationTask vis)
Utility function to test for a visualizer being a "tool".

Parameters:
vis - Visualizer to test
Returns:
true for a tool

iterateVectorFieldRepresentations

public static Iterator<Relation<? extends NumberVector<?,?>>> iterateVectorFieldRepresentations(Result result)
Filter for number vector field representations

Parameters:
result - Result to filter
Returns:
Iterator over suitable representations

thumbnailEnabled

public static boolean thumbnailEnabled(VisualizationTask vis)
Test whether a thumbnail is enabled for this visualizer.

Parameters:
vis - Visualizer
Returns:
boolean

detailsEnabled

public static boolean detailsEnabled(VisualizationTask vis)
Test whether a detail plot is available for this task.

Parameters:
vis - Task
Returns:
boolean

Release 0.4.0 (2011-09-20_1324)