Class DendrogramVisualization
- java.lang.Object
-
- elki.visualization.visualizers.visunproj.DendrogramVisualization
-
- All Implemented Interfaces:
VisualizationProcessor
,VisFactory
public class DendrogramVisualization extends java.lang.Object implements VisFactory
Dendrogram visualizer.- Since:
- 0.7.5
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DendrogramVisualization.DrawingStyle
Drawing styles for dendrograms.private static class
DendrogramVisualization.HalfPosPositions
Compact position storage.private static class
DendrogramVisualization.HalfWidthPositions
Compact position storage.class
DendrogramVisualization.Instance
Visualization instance.static class
DendrogramVisualization.Par
Parameterization class.private static interface
DendrogramVisualization.Positions
Compact position storage.static class
DendrogramVisualization.PositionStyle
Positioning styleclass
DendrogramVisualization.SwitchStyleAction
Menu item to change visualization styles.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
NAME
Visualizer name.private DendrogramVisualization.DrawingStyle
style
Drawing style.private DendrogramVisualization.PositionStyle
style2
Position style.
-
Constructor Summary
Constructors Constructor Description DendrogramVisualization(DendrogramVisualization.DrawingStyle style, DendrogramVisualization.PositionStyle style2)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Visualization
makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Produce a visualization instance for the given taskvoid
processNewResult(VisualizerContext context, java.lang.Object start)
Add visualizers for the given result (tree) to the context.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.visualization.visualizers.VisFactory
allowThumbnails, makeVisualizationOrThumbnail
-
-
-
-
Field Detail
-
NAME
private static final java.lang.String NAME
Visualizer name.- See Also:
- Constant Field Values
-
style
private DendrogramVisualization.DrawingStyle style
Drawing style.
-
style2
private DendrogramVisualization.PositionStyle style2
Position style.
-
-
Constructor Detail
-
DendrogramVisualization
public DendrogramVisualization(DendrogramVisualization.DrawingStyle style, DendrogramVisualization.PositionStyle style2)
Constructor.- Parameters:
style
- Drawing style.style2
- position style.
-
-
Method Detail
-
processNewResult
public void processNewResult(VisualizerContext context, java.lang.Object start)
Description copied from interface:VisFactory
Add visualizers for the given result (tree) to the context.- Specified by:
processNewResult
in interfaceVisFactory
- Specified by:
processNewResult
in interfaceVisualizationProcessor
- Parameters:
context
- Visualization contextstart
- Result to process
-
makeVisualization
public Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Description copied from interface:VisFactory
Produce a visualization instance for the given task- Specified by:
makeVisualization
in interfaceVisFactory
- Parameters:
context
- Visualization contexttask
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projection- Returns:
- Visualization
-
-