public interface MatrixVisualizer
Visualizations.getAvailableVisualizations()
. If
your visualisation requires user input to e.g. control parameters, extend
AbstractBackgroundImageVisualizer.VisualizationControlPanel
to add
your specific control panel inputs.Modifier and Type | Method and Description |
---|---|
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.
|
Color[] getPalette()
void setPalette(Palette palette)
palette
- the new palettevoid reversePalette()
Palette getCurrentPalette()
Palette
this visualisation currently is set to.String getPreferredPaletteName()
Palette
this visualisation prefers as initial palette.void setInterpolate(boolean interpolate)
boolean isInterpolate()