at.tuwien.ifs.somtoolbox.visualization
Interface MatrixVisualizer

All Known Implementing Classes:
AbstractItemVisualizer, AbstractMatrixVisualizer, ActivityHistogram, AdaptiveCoordinatesVisualizer, ComparisonVisualizer, ComponentPlanesVisualizer, EntropyVisualizer, GapVisualiser, HitHistogramVisualizer, PMatrix, QuantizationErrorVisualizer, RegressionVisualiser, RhythmPatternsAttributeVisualizer, SearchResultHistogramVisualizer, SilhouetteVisualizer, SmoothedCountHistograms, SmoothedDataHistograms, UMatrix

public interface MatrixVisualizer

Interface for visualisation of matrix data of/on a SOM. If you want to provide new matrix visualisers, you have to implement this interface and register your visualisation in Visualizations.getAvailableVisualizations(). If your visualisation requires user input to e.g. control parameters, extend AbstractBackgroundImageVisualizer.VisualizationControlPanel to add your specific control panel inputs.

Version:
$Id: MatrixVisualizer.java 4147 2011-02-10 17:35:41Z mayer $
Author:
Michael Dittenbach, Rudolf Mayer, Thomas Lidy

Method Summary
 Palette getCurrentPalette()
          Returns the Palette this visualisation currently is set to.
 Color[] getPalette()
          Gets the currently used palette.
 String getPreferredPaletteName()
          Returns the name of the Palette this visualisation prefers as initial palette.
 boolean isInterpolate()
           
 void reversePalette()
          Reverts the currently used palette.
 void setInterpolate(boolean interpolate)
          Sets whether this visualisation should interpolate the image
 void setPalette(Palette palette)
          Sets a new palette.
 

Method Detail

getPalette

Color[] getPalette()
Gets the currently used palette.

Returns:
the currently used palette

setPalette

void setPalette(Palette palette)
Sets a new palette.

Parameters:
palette - the new palette

reversePalette

void reversePalette()
Reverts the currently used palette.


getCurrentPalette

Palette getCurrentPalette()
Returns the Palette this visualisation currently is set to.


getPreferredPaletteName

String getPreferredPaletteName()
Returns the name of the Palette this visualisation prefers as initial palette.


setInterpolate

void setInterpolate(boolean interpolate)
Sets whether this visualisation should interpolate the image


isInterpolate

boolean isInterpolate()
Returns:
whether the image is interpolated