public class FuzzyColourCodingVisualiser extends AbstractBackgroundImageVisualizer
Modifier and Type | Class and Description |
---|---|
protected class |
FuzzyColourCodingVisualiser.FuzzyColouringControlPanel |
AbstractBackgroundImageVisualizer.ContourInterpolationMode, AbstractBackgroundImageVisualizer.ContourMode, AbstractBackgroundImageVisualizer.VisualizationControlPanel
Modifier and Type | Field and Description |
---|---|
protected int |
r |
protected boolean |
showColourCoding |
protected boolean |
showConnectingLines |
protected boolean |
showUnitNodes |
protected double |
T |
cache, CACHE_KEY_SEPARATOR, contourInterpolationMode, contourMode, controlPanel, currentZDimSlice, inputObjects, log, map, MAX_CACHE_SIZE_MB, neededInputObjects, NUM_VISUALIZATIONS, numberOfContours, opacity, preferredScaleFactor, VISUALIZATION_DESCRIPTIONS, VISUALIZATION_NAMES, VISUALIZATION_SHORT_NAMES, visualizationUpdateListener, zSize
CACHE_KEY_SECTION_SEPARATOR, DEFAULT_BACKGROUND_VISUALIZATION_SCALE
Constructor and Description |
---|
FuzzyColourCodingVisualiser() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createVisualization(int variantIndex,
GrowingSOM gsom,
int width,
int height)
Creates a visualisation image.
|
private Point |
getLinePos(double unitWidth,
double unitHeight,
Point2D.Double loc) |
private Point |
getMarkerPos(double unitWidth,
double unitHeight,
int markerWidth,
int markerHeight,
Point2D.Double loc) |
protected String |
getVisualisationSpecificCacheKey(int currentVariant) |
buildCacheKey, checkNeededObjectsAvailable, checkVariantIndex, clearVisualisationCache, compareTo, createVisualization, drawBackground, escapeFileName, getCache, getCacheKey, getControlPanel, getDefaultVisualisationFileName, getDefaultVisualisationFileName, getHTMLVisualisationControl, getNumberOfVisualizations, getPreferredScaleFactor, getVariantException, getVisualization, getVisualizationDescription, getVisualizationDescriptions, getVisualizationFlavours, getVisualizationFlavours, getVisualizationFlavours, getVisualizationName, getVisualizationNames, getVisualizationShortName, getVisualizationShortNames, invalidateCache, logImageCache, needsAdditionalFiles, setInputObjects, setMap, setSOMData, setVisualizationUpdateListener
protected double T
protected int r
protected boolean showUnitNodes
protected boolean showConnectingLines
protected boolean showColourCoding
public BufferedImage createVisualization(int variantIndex, GrowingSOM gsom, int width, int height) throws SOMToolboxException
AbstractBackgroundImageVisualizer
createVisualization
in class AbstractBackgroundImageVisualizer
variantIndex
- the index of the variant to usegsom
- the GrowingSOM to take build the visualisation forwidth
- the desired width of the image, in pixelsheight
- the desired height of the image, in pixels.SOMToolboxException
private Point getMarkerPos(double unitWidth, double unitHeight, int markerWidth, int markerHeight, Point2D.Double loc)
private Point getLinePos(double unitWidth, double unitHeight, Point2D.Double loc)
protected String getVisualisationSpecificCacheKey(int currentVariant)
getVisualisationSpecificCacheKey
in class AbstractBackgroundImageVisualizer